Permalink
Browse files

Revert "Use Hash#key instead of Hash#index"

This reverts commit d39f859.

Conflicts:

	lib/palette/color.rb
  • Loading branch information...
1 parent cab6eb5 commit 1c236ccb1fb31fae471248fc9288761d9c74f1c1 @joshuaclayton committed Jul 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/palette/color.rb
View
@@ -14,7 +14,7 @@ def to_hex
def to_cterm
return "NONE" if @hex == "NONE"
- self.class.color_map.key(closest_cterm_hex)
+ self.class.color_map.index(closest_cterm_hex)
end
private

0 comments on commit 1c236cc

Please sign in to comment.