Posted in Ruby on May 28, 2008 | No Comments »
“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 »
Posted in Ruby on August 22, 2007 | 1 Comment »
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 »