RubyMine lets you quickly add accessor methods for instance variables using the attr_reader, attr_writer, and attr_accessor attributes. To do this, place a caret inside a class and press &shortcut:Generate;. In the popup that opens, select Reader, Writer, or Accessor. Finally, Choose the required instance variable in the invoked dialog and click OK.
