diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2024-03-20 14:24:42 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2024-03-20 14:24:42 +0100 |
commit | 4fe34a024c77df99b263f6b97c43f9870a9d3160 (patch) | |
tree | c2d7d09afe7303c739484dce324967bf6368aa82 /lib/colonial_twilight/colorized_string.rb | |
parent | ad77e25eec96122f94fc6ae2db258c1aea984980 (diff) | |
download | colonial-twilight-4fe34a024c77df99b263f6b97c43f9870a9d3160.zip colonial-twilight-4fe34a024c77df99b263f6b97c43f9870a9d3160.tar.gz |
some rubocop cleanup
Diffstat (limited to 'lib/colonial_twilight/colorized_string.rb')
-rw-r--r-- | lib/colonial_twilight/colorized_string.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/colonial_twilight/colorized_string.rb b/lib/colonial_twilight/colorized_string.rb index 2a63852..65f2623 100644 --- a/lib/colonial_twilight/colorized_string.rb +++ b/lib/colonial_twilight/colorized_string.rb @@ -93,7 +93,8 @@ class String def resolve(key, var) return self.class.color_codes[var] + 30 if key == :fg return self.class.color_codes[var] + 40 if key == :bg - return self.class.color_modes[var] if key == :mode + + self.class.color_modes[var] if key == :mode end end |