Class: Happo::SnapshotComparisonImage::Gutter
- Defined in:
- lib/happo/snapshot_comparison_image/gutter.rb
Overview
This class renders a gutter-column with a color representing the type of change that has happened.
Constant Summary collapse
- WIDTH =
10
- GRAY =
ChunkyPNG::Color.from_hex '#cccccc'
Constants inherited from Base
Base::BASE_ALPHA, Base::BASE_DIFF_ALPHA, Base::BASE_OPACITY, Base::GREEN, Base::MAGENTA, Base::RED
Instance Method Summary collapse
Methods inherited from Base
#diff_alpha, #initialize, #pixel_diff_score, #render_added_row, #render_changed_row, #render_deleted_row, #render_pixel, #render_unchanged_row
Constructor Details
This class inherits a constructor from Happo::SnapshotComparisonImage::Base