attr_accessor (Ruby)

attr_accessor is a Ruby shortcut that auto-generates getter and setter methods for instance variables.