Class: PageObjectWrapper::Action

Inherits:
DslElement show all
Defined in:
lib/page_object_wrapper/Action.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_valueObject (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_valueObject (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