Class: PageObjectWrapper::Action
- Inherits:
-
DslElement
- Object
- DslElement
- PageObjectWrapper::Action
- Defined in:
- lib/page_object_wrapper/Action.rb
Instance Attribute Summary collapse
-
#fire_block_value ⇒ Object
readonly
Returns the value of attribute fire_block_value.
-
#next_page_value ⇒ Object
readonly
Returns the value of attribute next_page_value.
Instance Method Summary collapse
-
#initialize(label, next_page = nil, &block) ⇒ Action
constructor
A new instance of Action.
Methods inherited from DslElement
#label_alias, #label_alias_value
Constructor Details
#initialize(label, next_page = nil, &block) ⇒ Action
Returns a new instance of Action.
7 8 9 10 11 |
# File 'lib/page_object_wrapper/Action.rb', line 7 def initialize(label, next_page=nil, &block) super label @next_page_value = next_page @fire_block_value = block end |
Instance Attribute Details
#fire_block_value ⇒ Object (readonly)
Returns the value of attribute fire_block_value.
5 6 7 |
# File 'lib/page_object_wrapper/Action.rb', line 5 def fire_block_value @fire_block_value end |
#next_page_value ⇒ Object (readonly)
Returns the value of attribute next_page_value.
5 6 7 |
# File 'lib/page_object_wrapper/Action.rb', line 5 def next_page_value @next_page_value end |