Method: Querly::CLI::Rules#config

Defined in:
lib/querly/cli/rules.rb

#configObject



14
15
16
17
# File 'lib/querly/cli/rules.rb', line 14

def config
  yaml = YAML.load(config_path.read)
  @config ||= Config.load(yaml, config_path: config_path, root_dir: config_path.parent.realpath)
end