Exception: Exception
- Defined in:
- lib/nrser/core_ext/exception.rb
Class Method Summary collapse
-
.dedented(message) ⇒ Exception
Create a new instance from the dedented message.
-
.squished(message) ⇒ Exception
Create a new instance from the squished message.
Instance Method Summary collapse
Class Method Details
.dedented(message) ⇒ Exception
Create a new instance from the dedented message.
See NRSER.dedent.
26 27 28 |
# File 'lib/nrser/core_ext/exception.rb', line 26 def self.dedented new NRSER.dedent( ) end |
.squished(message) ⇒ Exception
Create a new instance from the squished message.
See NRSER.squish.
14 15 16 |
# File 'lib/nrser/core_ext/exception.rb', line 14 def self.squished new NRSER.squish( ) end |
Instance Method Details
#format ⇒ Object
2 3 4 |
# File 'lib/nrser/core_ext/exception.rb', line 2 def format NRSER.format_exception self end |