Black Bytes | RSS Feed http://www.blackbytes.info Ruby Programming Tutorials Fri, 07 Oct 2016 13:38:23 +0000 en-US hourly 1 http://wordpress.org/?v=4.3.6 Ruby String Formatting http://www.blackbytes.info/2012/01/ruby-string-formatting/ http://www.blackbytes.info/2012/01/ruby-string-formatting/#comments Fri, 13 Jan 2012 23:04:57 +0000 http://blackbytes.wordpress.com/?p=7 Let’s talk about how you can format strings in ruby. Why would you want to format a string? Well, you may want to do things like have a leading zero even if the number is under 10 (example: 01, 02, 03…), or have some console output nicely formatted in columns. In other languages you can […]

The post Ruby String Formatting appeared first on Black Bytes. Don't miss your free gift here :)

]]>
http://www.blackbytes.info/2012/01/ruby-string-formatting/feed/ 2