pry-theme 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/lib/pry-theme/version.rb +1 -1
- data/lib/pry-theme.rb +2 -2
- metadata +1 -1
data/CHANGELOG.md
CHANGED
data/lib/pry-theme/version.rb
CHANGED
data/lib/pry-theme.rb
CHANGED
@@ -101,14 +101,14 @@ module PryTheme
|
|
101
101
|
m = color.match(color_pattern)
|
102
102
|
|
103
103
|
color_fg = if $2
|
104
|
-
palette.colors.find do |color|
|
104
|
+
c = palette.colors.find do |color|
|
105
105
|
color.human == $2.to_sym
|
106
106
|
end
|
107
107
|
|
108
108
|
if c
|
109
109
|
c.term
|
110
110
|
else
|
111
|
-
raise NoColorError
|
111
|
+
raise NoColorError
|
112
112
|
end
|
113
113
|
end
|
114
114
|
|