Class: LCDProc::MenuItemStore
- Inherits:
-
Object
- Object
- LCDProc::MenuItemStore
- Defined in:
- lib/lcdproc/menu.rb
Instance Attribute Summary collapse
-
#added_to_screen ⇒ Object
Returns the value of attribute added_to_screen.
-
#menu_event ⇒ Object
Returns the value of attribute menu_event.
-
#menu_item ⇒ Object
Returns the value of attribute menu_item.
Instance Method Summary collapse
-
#initialize(menu_item, menu_event, added_to_screen) ⇒ MenuItemStore
constructor
A new instance of MenuItemStore.
Constructor Details
#initialize(menu_item, menu_event, added_to_screen) ⇒ MenuItemStore
Returns a new instance of MenuItemStore.
32 33 34 35 36 |
# File 'lib/lcdproc/menu.rb', line 32 def initialize( , , added_to_screen ) @menu_item = @menu_event = @added_to_screen = added_to_screen end |
Instance Attribute Details
#added_to_screen ⇒ Object
Returns the value of attribute added_to_screen.
30 31 32 |
# File 'lib/lcdproc/menu.rb', line 30 def added_to_screen @added_to_screen end |
#menu_event ⇒ Object
Returns the value of attribute menu_event.
30 31 32 |
# File 'lib/lcdproc/menu.rb', line 30 def @menu_event end |
#menu_item ⇒ Object
Returns the value of attribute menu_item.
30 31 32 |
# File 'lib/lcdproc/menu.rb', line 30 def @menu_item end |