Class: ChunkyPNG::Chunk::Physical

Inherits:
Base
  • Object
show all
Defined in:
lib/png_stitcher/chunky_png_patch.rb

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



7
8
9
10
# File 'lib/png_stitcher/chunky_png_patch.rb', line 7

def ==(other)
  other.is_a?(ChunkyPNG::Chunk::Physical) && self.ppux == other.ppux &&
    self.ppuy == other.ppuy && self.unit == other.unit
end