Sha256: 44f183f7f9b5bb167fdbc7ebd96a585de4f49a28f43959183fa441a69ae51474

Contents?: true

Size: 382 Bytes

Versions: 3

Compression:

Stored size: 382 Bytes

Contents

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 = {})
        new.ask(message, options)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fontist-1.5.1 lib/fontist/utils/ui.rb
fontist-1.5.0 lib/fontist/utils/ui.rb
fontist-1.4.0 lib/fontist/utils/ui.rb