Sha256: 732ad40006dc048b2b9ce287b30cdf1a8eb052de315d5bf1c1cfba309aa7169e

Contents?: true

Size: 240 Bytes

Versions: 12

Compression:

Stored size: 240 Bytes

Contents

require "claide"
require "tty"

# Indicates an user error.
#
module Xcake
  class Informative < StandardError
    include CLAide::InformativeError

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
xcake-0.5.3 lib/xcake/informative.rb
xcake-0.5.2 lib/xcake/informative.rb
xcake-0.5.1 lib/xcake/informative.rb
xcake-0.5.0 lib/xcake/informative.rb
xcake-0.4.8 lib/xcake/informative.rb
xcake-0.4.7 lib/xcake/informative.rb
xcake-0.4.6 lib/xcake/informative.rb
xcake-0.4.5 lib/xcake/informative.rb
xcake-0.4.4 lib/xcake/informative.rb
xcake-0.4.3 lib/xcake/informative.rb
xcake-0.4.2 lib/xcake/informative.rb
xcake-0.4.1 lib/xcake/informative.rb