Ruby Arrays
Visit each value in an array.
RubyRuby Methods and map
Define a method and transform an array with map.
RubyRuby Classes
Keep state in an instance variable and read it with attr_reader.
RubyRuby Hashes
Store key-value pairs and iterate over them.
Ruby