Method: ActiveError::Renderer#initialize
- Defined in:
- lib/active_error/renderer.rb
#initialize(instance:) ⇒ Renderer
Returns a new instance of Renderer.
5 6 7 8 |
# File 'lib/active_error/renderer.rb', line 5 def initialize(instance:) @instance = instance @exception = instance.fault.exception end |