Mega Code Archive

 
Categories / Ruby / String
 

The upto method from String

"a".upto("z") { |i| print i } # => abcdefghijklmnopqrstuvwxyz