Class: DotDiff::ElementMeta
- Inherits:
-
Object
- Object
- DotDiff::ElementMeta
- Defined in:
- lib/dotdiff/element_meta.rb
Defined Under Namespace
Classes: Rectangle
Instance Attribute Summary collapse
-
#element_xpath ⇒ Object
readonly
Returns the value of attribute element_xpath.
-
#page ⇒ Object
readonly
Returns the value of attribute page.
Instance Method Summary collapse
-
#initialize(page, element) ⇒ ElementMeta
constructor
A new instance of ElementMeta.
- #rectangle ⇒ Object
Constructor Details
#initialize(page, element) ⇒ ElementMeta
Returns a new instance of ElementMeta.
7 8 9 10 |
# File 'lib/dotdiff/element_meta.rb', line 7 def initialize(page, element) @element_xpath = element.path @page = page end |
Instance Attribute Details
#element_xpath ⇒ Object (readonly)
Returns the value of attribute element_xpath.
5 6 7 |
# File 'lib/dotdiff/element_meta.rb', line 5 def element_xpath @element_xpath end |
#page ⇒ Object (readonly)
Returns the value of attribute page.
5 6 7 |
# File 'lib/dotdiff/element_meta.rb', line 5 def page @page end |