# File lib/color/grayscale.rb, line 43
43:   def ==(other)
44:     other = other.to_grayscale
45:     other.kind_of?(Color::GrayScale) and
46:     ((@g - other.g).abs <= 1e-4)
47:   end