Class: PageObjectWrapper::Alias

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from DslElement

#label_alias, #label_alias_value

Constructor Details

#initialize(label, next_page) ⇒ Alias

Returns a new instance of Alias.



8
9
10
11
# File 'lib/page_object_wrapper/Alias.rb', line 8

def initialize(label, next_page)
  super label
  @next_page_value = next_page
end

Instance Attribute Details

#next_page_valueObject (readonly)

Returns the value of attribute next_page_value.



5
6
7
# File 'lib/page_object_wrapper/Alias.rb', line 5

def next_page_value
  @next_page_value
end