Class: ExceptionTransformer::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/exception_transformer/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



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

def initialize
  self.reporter ||= proc { |e| }
end

Instance Attribute Details

#reporterObject

Returns the value of attribute reporter.



4
5
6
# File 'lib/exception_transformer/config.rb', line 4

def reporter
  @reporter
end