Feed on
Posts
Comments

Archive for the ‘Ruby’ Category

Ruby String Functions

“i got what i want”.count “i” #=> 2
“i got what i want”.delete “i” #=> ” got what want”
“hello”.gsub(/[aeiou]/, ‘*’ ;) #=> “h*ll*”
“hello”.sub(/[aeiou]/, ‘*’ ;) [...]

Read Full Post »

Learn Ruby Language faster

Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in Perl). It is simple, straight-forward
The language was created by Yukihiro “Matz” Matsumoto, who started working on Ruby on February 24, 1993, and released it to the public [...]

Read Full Post »