Class: Ruboty::ToggleSwitch::Storage::Switch
- Inherits:
-
Struct
- Object
- Struct
- Ruboty::ToggleSwitch::Storage::Switch
- Defined in:
- lib/ruboty/toggle_switch/storage.rb
Overview
Represents a switch.
Instance Attribute Summary collapse
-
#at ⇒ Object
Returns the value of attribute at.
-
#from ⇒ Object
Returns the value of attribute from.
-
#note ⇒ Object
Returns the value of attribute note.
-
#state ⇒ Object
Returns the value of attribute state.
Instance Attribute Details
#at ⇒ Object
Returns the value of attribute at
7 8 9 |
# File 'lib/ruboty/toggle_switch/storage.rb', line 7 def at @at end |
#from ⇒ Object
Returns the value of attribute from
7 8 9 |
# File 'lib/ruboty/toggle_switch/storage.rb', line 7 def from @from end |
#note ⇒ Object
Returns the value of attribute note
7 8 9 |
# File 'lib/ruboty/toggle_switch/storage.rb', line 7 def note @note end |
#state ⇒ Object
Returns the value of attribute state
7 8 9 |
# File 'lib/ruboty/toggle_switch/storage.rb', line 7 def state @state end |