lib/fontist/utils/ui.rb in fontist-1.3.0 vs lib/fontist/utils/ui.rb in fontist-1.4.0

- old
+ new

@@ -1,9 +1,17 @@ require "thor" module Fontist module Utils class UI < Thor + def self.success(message) + new.say(message, :green) + end + + def self.error(message) + new.say(message, :red) + end + def self.say(message) new.say(message) end def self.ask(message, options = {})