Class: ExceptionTransformer::Config
- Inherits:
-
Object
- Object
- ExceptionTransformer::Config
- Defined in:
- lib/exception_transformer/config.rb
Instance Attribute Summary collapse
-
#reporter ⇒ Object
Returns the value of attribute reporter.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
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
#reporter ⇒ Object
Returns the value of attribute reporter.
4 5 6 |
# File 'lib/exception_transformer/config.rb', line 4 def reporter @reporter end |