lib/muflax/string.rb in muflax-0.3.6 vs lib/muflax/string.rb in muflax-0.3.7
- old
+ new
@@ -60,6 +60,10 @@
end
def indent amount, indent_string = nil, indent_empty_lines = false
dup.tap { |_| _.indent!(amount, indent_string, indent_empty_lines) }
end
+
+ def color name
+ HighLine.color(self, name)
+ end
end