Module: DotDiff
- Defined in:
- lib/dotdiff.rb,
lib/dotdiff/version.rb,
lib/dotdiff/comparer.rb,
lib/dotdiff/snapshot.rb,
lib/dotdiff/element_meta.rb,
lib/dotdiff/image/cropper.rb,
lib/dotdiff/command_wrapper.rb,
lib/dotdiff/element_handler.rb
Defined Under Namespace
Modules: Image Classes: CommandWrapper, Comparer, ElementHandler, ElementMeta, Snapshot
Constant Summary collapse
- VERSION =
"2.0.1"
Class Attribute Summary collapse
-
.failure_image_path ⇒ Object
Returns the value of attribute failure_image_path.
- .image_magick_diff_bin ⇒ Object
- .image_magick_options ⇒ Object
-
.image_store_path ⇒ Object
Returns the value of attribute image_store_path.
-
.max_wait_time ⇒ Object
Returns the value of attribute max_wait_time.
-
.overwrite_on_resave ⇒ Object
Returns the value of attribute overwrite_on_resave.
- .pixel_threshold ⇒ Object
-
.resave_base_image ⇒ Object
Returns the value of attribute resave_base_image.
-
.xpath_elements_to_hide ⇒ Object
Returns the value of attribute xpath_elements_to_hide.
Class Method Summary collapse
Class Attribute Details
.failure_image_path ⇒ Object
Returns the value of attribute failure_image_path.
17 18 19 |
# File 'lib/dotdiff.rb', line 17 def failure_image_path @failure_image_path end |
.image_magick_diff_bin ⇒ Object
39 40 41 |
# File 'lib/dotdiff.rb', line 39 def image_magick_diff_bin @image_magick_diff_bin.to_s.strip end |
.image_magick_options ⇒ Object
35 36 37 |
# File 'lib/dotdiff.rb', line 35 def @image_magick_options ||= '-fuzz 5% -metric AE' end |
.image_store_path ⇒ Object
Returns the value of attribute image_store_path.
17 18 19 |
# File 'lib/dotdiff.rb', line 17 def image_store_path @image_store_path end |
.max_wait_time ⇒ Object
Returns the value of attribute max_wait_time.
17 18 19 |
# File 'lib/dotdiff.rb', line 17 def max_wait_time @max_wait_time end |
.overwrite_on_resave ⇒ Object
Returns the value of attribute overwrite_on_resave.
17 18 19 |
# File 'lib/dotdiff.rb', line 17 def overwrite_on_resave @overwrite_on_resave end |
.pixel_threshold ⇒ Object
43 44 45 |
# File 'lib/dotdiff.rb', line 43 def pixel_threshold @pixel_threshold ||= 100 end |
.resave_base_image ⇒ Object
Returns the value of attribute resave_base_image.
17 18 19 |
# File 'lib/dotdiff.rb', line 17 def resave_base_image @resave_base_image end |
.xpath_elements_to_hide ⇒ Object
Returns the value of attribute xpath_elements_to_hide.
17 18 19 |
# File 'lib/dotdiff.rb', line 17 def xpath_elements_to_hide @xpath_elements_to_hide end |
Class Method Details
.configure {|_self| ... } ⇒ Object
23 24 25 |
# File 'lib/dotdiff.rb', line 23 def configure yield self end |