Class: SaferInitialize::Configuration
- Inherits:
-
Object
- Object
- SaferInitialize::Configuration
- Defined in:
- lib/safer_initialize/configuration.rb
Instance Attribute Summary collapse
-
#error_handle ⇒ Object
Returns the value of attribute error_handle.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 |
# File 'lib/safer_initialize/configuration.rb', line 5 def initialize self.error_handle = -> (e) { raise e } end |
Instance Attribute Details
#error_handle ⇒ Object
Returns the value of attribute error_handle.
3 4 5 |
# File 'lib/safer_initialize/configuration.rb', line 3 def error_handle @error_handle end |