documentation/helper_methods.rb in ledger_sync-2.2.1 vs documentation/helper_methods.rb in ledger_sync-2.2.3
- old
+ new
@@ -1,16 +1,16 @@
# frozen_string_literal: true
def green(str)
- puts str.colorize(:green)
+ puts Rainbow(str).green
end
def yellow(str)
- puts str.colorize(:yellow)
+ puts Rainbow(str).yellow
end
def red(str)
- puts str.colorize(:red)
+ puts Rainbow(str).red
end
def nl
puts "\n"
end