Exception: Transmogrify::TransmogrifyError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, options = {}) ⇒ TransmogrifyError

Returns a new instance of TransmogrifyError.



9
10
11
12
13
# File 'lib/transmogrify.rb', line 9

def initialize(msg, options = {})
  self.inner = options[:inner]
  self.processor = options[:processor]
  super(msg)
end

Instance Attribute Details

#innerObject

Returns the value of attribute inner.



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

def inner
  @inner
end

#processorObject

Returns the value of attribute processor.



7
8
9
# File 'lib/transmogrify.rb', line 7

def processor
  @processor
end