class Exception

Public Class Methods

dedented(message) click to toggle source

Create a new instance from the dedented message.

See {NRSER.dedent}.

@param [String] message

@return [Exception]

# File lib/nrser/core_ext/exception.rb, line 26
def self.dedented message
  new NRSER.dedent( message )
end
squished(message) click to toggle source

Create a new instance from the squished message.

See {NRSER.squish}.

@param [String] message

@return [Exception]

# File lib/nrser/core_ext/exception.rb, line 14
def self.squished message
  new NRSER.squish( message )
end

Public Instance Methods

format() click to toggle source
# File lib/nrser/core_ext/exception.rb, line 2
def format
  NRSER.format_exception self
end