Method: Ruber::MainWindow#query_close

Defined in:
lib/ruber/main_window/main_window.rb

#query_closeTrueClass

Override of PluginLike#query_close

It stores the session data retrieved by the component manager in case of session saving and does nothing otherwise.

Returns:

  • (TrueClass)


568
569
570
571
572
573
# File 'lib/ruber/main_window/main_window.rb', line 568

def query_close
  if Ruber[:app].session_saving
    @session_data = Ruber[:components].session_data
  end
  true
end