Class: Decanter::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



6
7
8
9
# File 'lib/decanter/configuration.rb', line 6

def initialize
  @strict = true
  @log_unhandled_keys = true
end

Instance Attribute Details

#log_unhandled_keysObject

Returns the value of attribute log_unhandled_keys.



4
5
6
# File 'lib/decanter/configuration.rb', line 4

def log_unhandled_keys
  @log_unhandled_keys
end

#strictObject

Returns the value of attribute strict.



4
5
6
# File 'lib/decanter/configuration.rb', line 4

def strict
  @strict
end