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
21 22 23 |
# File 'lib/ruboty/toggle_switch/storage.rb', line 21 def at @at end |
#from ⇒ Object
Returns the value of attribute from
21 22 23 |
# File 'lib/ruboty/toggle_switch/storage.rb', line 21 def from @from end |
#note ⇒ Object
Returns the value of attribute note
21 22 23 |
# File 'lib/ruboty/toggle_switch/storage.rb', line 21 def note @note end |
#state ⇒ Object
Returns the value of attribute state
21 22 23 |
# File 'lib/ruboty/toggle_switch/storage.rb', line 21 def state @state end |