# File lib/color/cmyk.rb, line 32 def ==(other) other = other.to_cmyk other.kind_of?(Color::CMYK) and ((@c - other.c).abs <= Color::COLOR_TOLERANCE) and ((@m - other.m).abs <= Color::COLOR_TOLERANCE) and ((@y - other.y).abs <= Color::COLOR_TOLERANCE) and ((@k - other.k).abs <= Color::COLOR_TOLERANCE) end