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 =
"1.0.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.failure_image_pathObject

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_store_pathObject

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_timeObject

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_resaveObject

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

.perceptual_diff_binObject

Returns the value of attribute perceptual_diff_bin.



17
18
19
# File 'lib/dotdiff.rb', line 17

def perceptual_diff_bin
  @perceptual_diff_bin
end

.resave_base_imageObject

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_hideObject

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

Yields:

  • (_self)

Yield Parameters:

  • _self (DotDiff)

    the object that the method was called on



21
22
23
# File 'lib/dotdiff.rb', line 21

def configure
  yield self
end