Module: Indexter

Extended by:
Indexter
Included in:
Indexter
Defined in:
lib/indexter.rb,
lib/indexter/config.rb,
lib/indexter/railtie.rb,
lib/indexter/version.rb,
lib/indexter/validator.rb,
lib/indexter/formatters/hash.rb,
lib/indexter/formatters/json.rb,
lib/indexter/formatters/table.rb,
lib/indexter/formatters/pass_fail.rb

Defined Under Namespace

Modules: Formatters Classes: Config, Railtie, Validator

Constant Summary collapse

VERSION =
"1.0.0"

Instance Method Summary collapse

Instance Method Details

#validate(config_file_path: Indexter::Config::DEFAULT_CONFIG_FILE) ⇒ Object



15
16
17
18
19
20
# File 'lib/indexter.rb', line 15

def validate(config_file_path: Indexter::Config::DEFAULT_CONFIG_FILE)
  config = Indexter::Config.new(config_file_path: config_file_path)
  val    = Indexter::Validator.new(config: config)

  val.validate
end