Class: Symbiont::Region
Instance Attribute Summary collapse
-
#region_element ⇒ Object
readonly
Returns the value of attribute region_element.
-
#region_parent ⇒ Object
readonly
Returns the value of attribute region_parent.
Attributes included from Ready
Instance Method Summary collapse
-
#initialize(region_parent, region_element) ⇒ Region
constructor
A new instance of Region.
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_element ⇒ Object (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_parent ⇒ Object (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 |