Class: __NAME__Controller

Inherits:
ApplicationController
  • Object
show all
Defined in:
lib/templates/basic/basic_controller.rb

Instance Method Summary collapse

Instance Method Details

#about_menu_action_performedObject



12
13
14
# File 'lib/templates/basic/basic_controller.rb', line 12

def about_menu_action_performed
  AboutController.instance.show
end

#default_button_action_performedObject



6
7
8
9
# File 'lib/templates/basic/basic_controller.rb', line 6

def default_button_action_performed
  transfer[:new_text] = "In-line Swing classes from Ruby rulez!"
  signal :set_new_text
end

#exit_menu_action_performedObject



17
18
19
# File 'lib/templates/basic/basic_controller.rb', line 17

def exit_menu_action_performed
 close 
end