Sha256: 87d66cbf0213ae0fca619636054320da51663fb32af34b0478182a87ebecb7f7

Contents?: true

Size: 269 Bytes

Versions: 16

Compression:

Stored size: 269 Bytes

Contents

require "claide"
require "tty"

# Indicates an user error.
#
# TODO: Move into UI Class
#
module Xcake
  class Informative < StandardError
    include CLAide::InformativeError

    def message
      pastel = Pastel.new
      pastel.red "[!] #{super}"
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
xcake-0.6.19 lib/xcake/informative.rb
xcake-0.6.18 lib/xcake/informative.rb
xcake-0.6.17 lib/xcake/informative.rb
xcake-0.6.16 lib/xcake/informative.rb
xcake-0.6.14 lib/xcake/informative.rb
xcake-0.6.13 lib/xcake/informative.rb
xcake-0.6.12 lib/xcake/informative.rb
xcake-0.6.11 lib/xcake/informative.rb
xcake-0.6.10 lib/xcake/informative.rb
xcake-0.6.9 lib/xcake/informative.rb
xcake-0.6.8 lib/xcake/informative.rb
xcake-0.6.7 lib/xcake/informative.rb
xcake-0.6.6 lib/xcake/informative.rb
xcake-0.6.5 lib/xcake/informative.rb
xcake-0.6.4 lib/xcake/informative.rb
xcake-0.6.2 lib/xcake/informative.rb