Exception: Shattered::MetaMethodError
- Defined in:
- lib/shattered_support/error.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(error, message) ⇒ MetaMethodError
constructor
A new instance of MetaMethodError.
Constructor Details
#initialize(error, message) ⇒ MetaMethodError
Returns a new instance of MetaMethodError.
7 8 9 10 |
# File 'lib/shattered_support/error.rb', line 7 def initialize(error, ) self. = set_backtrace error.backtrace end |
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message.
6 7 8 |
# File 'lib/shattered_support/error.rb', line 6 def @message end |