Skip to content

Commit

Permalink
strings are fine and work for older jruby
Browse files Browse the repository at this point in the history
  • Loading branch information
godfat committed Feb 3, 2015
1 parent 1850712 commit 967ae59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pork/more/color.rb
Expand Up @@ -23,7 +23,7 @@ def time_spent
end

def numbers
super.zip(%i[green green magenta red yellow]).map do |(num, col)|
super.zip(%w[green green magenta red yellow]).map do |(num, col)|
if num == 0
num
else
Expand Down

0 comments on commit 967ae59

Please sign in to comment.