Class: DotDiff::Comparible::PageComparer
- Defined in:
- lib/dotdiff/comparible/page_comparer.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from DotDiff::Comparible::Base
Instance Method Details
#run ⇒ Object
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/dotdiff/comparible/page_comparer.rb', line 6 def run snapshot.capture_from_browser(true) if !File.exist?(snapshot.basefile) snapshot.resave_fullscreen_file [true, snapshot.basefile] else compare(snapshot.fullscreen_file) end end |