Module: ImageDiff::Differ
- Included in:
- Snapshot
- Defined in:
- lib/image_diff/differ/differ.rb,
lib/image_diff/differ/image_diff.rb,
lib/image_diff/differ/image_magick.rb,
lib/image_diff/differ/results/list.rb,
lib/image_diff/differ/results/output.rb,
lib/image_diff/differ/results/result.rb
Overview
Diff YAML files
Defined Under Namespace
Modules: ImageMagick, Results Classes: Diff, Differences, ImageDiff
Instance Method Summary collapse
-
#reference_file ⇒ Object
TODO: Move this code smell.
Instance Method Details
#reference_file ⇒ Object
TODO: Move this code smell
9 10 11 |
# File 'lib/image_diff/differ/differ.rb', line 9 def reference_file path_and_filename.sub(%r{^[^/]*}, 'reference') end |