class DotDiff::ElementMeta
Attributes
element_xpath[R]
page[R]
Public Class Methods
new(page, element)
click to toggle source
# File lib/dotdiff/element_meta.rb, line 7 def initialize(page, element) @element_xpath = element.path @page = page end
Public Instance Methods
rectangle()
click to toggle source
# File lib/dotdiff/element_meta.rb, line 12 def rectangle @rectangle ||= Rectangle.new(@page, @element_xpath) end