Class: SchemaExpectations::Config

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



15
16
17
# File 'lib/schema_expectations/config.rb', line 15

def initialize
  reset!
end

Instance Attribute Details

#error_loggerObject

Returns the value of attribute error_logger.



13
14
15
# File 'lib/schema_expectations/config.rb', line 13

def error_logger
  @error_logger
end

Instance Method Details

#reset!Object



19
20
21
# File 'lib/schema_expectations/config.rb', line 19

def reset!
  @error_logger = Logger.new($stderr)
end