Skip to content

Commit

Permalink
Fix a warning in ruby 2.4.0dev
Browse files Browse the repository at this point in the history
  • Loading branch information
koic committed Sep 26, 2016
1 parent 45e2359 commit 2dba7b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rainbow/color.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def self.build(ground, values)
color = values.size == 1 ? values.first : values

case color
when Fixnum
when Integer
Indexed.new(ground, color)
when Symbol
if Named.color_names.include?(color)
Expand Down

0 comments on commit 2dba7b2

Please sign in to comment.