Class: Interface::ManualInteraction
- Inherits:
-
Object
- Object
- Interface::ManualInteraction
- Defined in:
- lib/interface/interface.rb
Instance Attribute Summary collapse
-
#desc ⇒ Object
Returns the value of attribute desc.
-
#type ⇒ Object
Returns the value of attribute type.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(params) ⇒ ManualInteraction
constructor
A new instance of ManualInteraction.
Constructor Details
#initialize(params) ⇒ ManualInteraction
Returns a new instance of ManualInteraction.
33 34 35 36 37 |
# File 'lib/interface/interface.rb', line 33 def initialize(params) params.each do |key, value| instance_variable_set("@#{key}", value) end end |
Instance Attribute Details
#desc ⇒ Object
Returns the value of attribute desc.
31 32 33 |
# File 'lib/interface/interface.rb', line 31 def desc @desc end |
#type ⇒ Object
Returns the value of attribute type.
31 32 33 |
# File 'lib/interface/interface.rb', line 31 def type @type end |
#value ⇒ Object
Returns the value of attribute value.
31 32 33 |
# File 'lib/interface/interface.rb', line 31 def value @value end |