Sha256: 749eb9911534044b1f5b5db74f211ea1b0dc154b1adf6fecdfe0f28edb72f75a

Contents?: true

Size: 441 Bytes

Versions: 8

Compression:

Stored size: 441 Bytes

Contents

module VimGolfFinder
  class CLI < Thor
    class UI < Thor::Base.shell
      def initialize
        super
      end

      def error(message)
        say message, :red
      end

      def info(message)
        say message, :green
      end

      def warn(message)
        say message, :yellow
      end

      def log(message)
        say message
      end

      def debug(message)
        say message, :cyan
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
vimgolf-finder-0.1.8 lib/vimgolf_finder/ui.rb
vimgolf-finder-0.1.7 lib/vimgolf_finder/ui.rb
vimgolf-finder-0.1.6 lib/vimgolf_finder/ui.rb
vimgolf-finder-0.1.5 lib/vimgolf_finder/ui.rb
vimgolf-finder-0.1.4 lib/vimgolf_finder/ui.rb
vimgolf-finder-0.1.3 lib/vimgolf_finder/ui.rb
vimgolf-finder-0.1.2 lib/vimgolf_finder/ui.rb
vimgolf-finder-0.1.1 lib/vimgolf_finder/ui.rb