module Braise

Constants

VERSION

Public Instance Methods

braise(obj) click to toggle source

brief raise

# File lib/braise.rb, line 27
def braise(obj)
  raise obj.inspect
end
craise(obj, opts={}) click to toggle source

colorful raise

# File lib/braise.rb, line 32
def craise(obj, opts={})
  opts_str = Settings.get_options(opts)

  raise (opts_str + obj.inspect + ANSI.clear)
end