pigment 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pigment.rb +2 -2
- metadata +1 -1
data/lib/pigment.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
module Pigment
|
2
|
-
VERSION = '0.1.
|
2
|
+
VERSION = '0.1.5'
|
3
3
|
|
4
4
|
class Color
|
5
5
|
|
@@ -176,7 +176,7 @@ module Pigment
|
|
176
176
|
# @param [Color] color
|
177
177
|
# @return [Boolean]
|
178
178
|
def ==(color)
|
179
|
-
color.is_a? Color && color.rgb ==
|
179
|
+
color.is_a? Color && color.rgb == rgb
|
180
180
|
end
|
181
181
|
|
182
182
|
# Converts a color to its grayscale correspondent
|