Generate accessor methods
In RubyMine, you can quickly add accessor methods for instance variables. Place a caret inside a class, press &shortcut:Generate;, and select Reader, Writer, or Accessor in the Generate popup. After that, choose the required instance variable in the invoked dialog and click OK.
