lib/mothership/pretty.rb in mothership-0.1.5 vs lib/mothership/pretty.rb in mothership-0.2.0
- old
+ new
@@ -60,10 +60,10 @@
def c(str, type)
return str unless color?
bright = false
color = user_colors[type]
- if color =~ /bright-(.+)/
+ if color.to_s =~ /bright-(.+)/
bright = true
color = $1.to_sym
end
return str unless color