lib/everyday-cli-utils/format.rb in everyday-cli-utils-0.3.0 vs lib/everyday-cli-utils/format.rb in everyday-cli-utils-0.4.0
- old
+ new
@@ -17,6 +17,10 @@
def respond_to?(method)
name = method.to_s
colors = 'black|red|green|yellow|blue|purple|cyan|white|none'
(!(name =~ /format(_bold)?(_underline)?(?:_fg_(#{colors}))?(?:_bg_(#{colors}))?/).nil?) || old_respond_to?(method)
end
+
+ def format_all
+ EverydayCliUtils::Format::format_all(self)
+ end
end
\ No newline at end of file