In addition to classes, Ruby has modules.
The name of a variable automatically determines its scope.
Blocks are one of Ruby’s most unique and most loved features.
cities.each do |city| city.upcase! end
Almost any text editor will do.