# File lib/color/cmyk.rb, line 29
29:   def ==(other)
30:     other = other.to_cmyk
31:     other.kind_of?(Color::CMYK) and
32:     ((@c - other.c).abs <= 1e-4) and
33:     ((@m - other.m).abs <= 1e-4) and
34:     ((@y - other.y).abs <= 1e-4) and
35:     ((@k - other.k).abs <= 1e-4)
36:   end