Class: SaferInitialize::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/safer_initialize/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_handleObject

Returns the value of attribute error_handle.



3
4
5
# File 'lib/safer_initialize/configuration.rb', line 3

def error_handle
  @error_handle
end