Class: Interface::ManualInteraction

Inherits:
Object
  • Object
show all
Defined in:
lib/interface/interface.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#descObject

Returns the value of attribute desc.



31
32
33
# File 'lib/interface/interface.rb', line 31

def desc
  @desc
end

#typeObject

Returns the value of attribute type.



31
32
33
# File 'lib/interface/interface.rb', line 31

def type
  @type
end

#valueObject

Returns the value of attribute value.



31
32
33
# File 'lib/interface/interface.rb', line 31

def value
  @value
end