Exception: Shattered::MetaMethodError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/shattered_support/error.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

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, message)
  self.message = message
  set_backtrace error.backtrace
end

Instance Attribute Details

#messageObject

Returns the value of attribute message.



6
7
8
# File 'lib/shattered_support/error.rb', line 6

def message
  @message
end