lib/ext/string.rb in git-multi-5.0.0 vs lib/ext/string.rb in git-multi-6.0.0

- old
+ new

@@ -1,7 +1,6 @@ class String - # rubocop:disable Layout/EmptyLineBetweenDefs # rubocop:disable Style/SingleLineMethods def colorize(color_code) "\e[#{color_code}m#{self}\e[0m"; end def bold() colorize('1'); end def invert() colorize('7'); end @@ -10,7 +9,6 @@ def blue() colorize('34'); end def green() colorize('32'); end def undent() gsub(/^.{#{slice(/^ +/).length}}/, ''); end # rubocop:enable Style/SingleLineMethods - # rubocop:enable Layout/EmptyLineBetweenDefs end