Class: Kameleon::DSL::Act::Action

Inherits:
Object
  • Object
show all
Defined in:
lib/kameleon/dsl/act/mouse.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(method, *params, &block) ⇒ Action

Returns a new instance of Action.



79
80
81
82
83
# File 'lib/kameleon/dsl/act/mouse.rb', line 79

def initialize(method, *params, &block)
  @method = method
  @params = params
  @block = block
end

Instance Attribute Details

#blockObject

Returns the value of attribute block.



77
78
79
# File 'lib/kameleon/dsl/act/mouse.rb', line 77

def block
  @block
end

#methodObject

Returns the value of attribute method.



77
78
79
# File 'lib/kameleon/dsl/act/mouse.rb', line 77

def method
  @method
end

#paramsObject

Returns the value of attribute params.



77
78
79
# File 'lib/kameleon/dsl/act/mouse.rb', line 77

def params
  @params
end