Class: SeleniumRecord::ActionBuilder::Action
- Inherits:
-
Object
- Object
- SeleniumRecord::ActionBuilder::Action
- Defined in:
- lib/selenium_record/action_builder.rb
Overview
Class for storing action info
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#method ⇒ Object
readonly
Returns the value of attribute method.
Instance Method Summary collapse
-
#initialize(method, args = []) ⇒ Action
constructor
A new instance of Action.
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
#args ⇒ Object (readonly)
Returns the value of attribute args.
6 7 8 |
# File 'lib/selenium_record/action_builder.rb', line 6 def args @args end |
#method ⇒ Object (readonly)
Returns the value of attribute method.
6 7 8 |
# File 'lib/selenium_record/action_builder.rb', line 6 def method @method end |