Class: Symbiont::Region

Inherits:
Object show all
Extended by:
Element
Includes:
Capybara::DSL, Ready
Defined in:
lib/symbiont/capybara/region.rb

Instance Attribute Summary collapse

Attributes included from Ready

#ready, #ready_error

Instance Method Summary collapse

Methods included from Element

element, elements, region, regions

Methods included from Ready

included, #ready?, #ready_validations_pass?, #when_ready

Constructor Details

#initialize(region_parent, region_element) ⇒ Region

Returns a new instance of Region.



14
15
16
17
# File 'lib/symbiont/capybara/region.rb', line 14

def initialize(region_parent, region_element)
  @region_parent = region_parent
  @region_element = region_element
end

Instance Attribute Details

#region_elementObject (readonly)

Returns the value of attribute region_element.



12
13
14
# File 'lib/symbiont/capybara/region.rb', line 12

def region_element
  @region_element
end

#region_parentObject (readonly)

Returns the value of attribute region_parent.



12
13
14
# File 'lib/symbiont/capybara/region.rb', line 12

def region_parent
  @region_parent
end