Class: Validb::Configuration

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

Instance Method Summary collapse

Constructor Details

#initialize(filename) ⇒ Configuration

Returns a new instance of Configuration.



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

def initialize(filename)
  @filename = filename
  print_ignored
end

Instance Method Details

#paramsObject



9
10
11
# File 'lib/validb/configuration.rb', line 9

def params
  Validb::Parameters.new(ignored_models, ignored_prefixes, batch_size)
end