Class: SeleniumRecord::ActionBuilder::Action

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

Overview

Class for storing action info

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(method, args = []) ⇒ Action

Returns a new instance of Action.



7
8
9
10
# File 'lib/selenium_record/action_builder.rb', line 7

def initialize(method, args = [])
  @method = method
  @args = args
end

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



6
7
8
# File 'lib/selenium_record/action_builder.rb', line 6

def args
  @args
end

#methodObject (readonly)

Returns the value of attribute method.



6
7
8
# File 'lib/selenium_record/action_builder.rb', line 6

def method
  @method
end