Method: Doc::Configurator::Ruby::Stdlib#stdlib_config

Defined in:
lib/doc/configurator/ruby/stdlib.rb

#stdlib_config(update) ⇒ Object



13
14
15
16
17
18
# File 'lib/doc/configurator/ruby/stdlib.rb', line 13

def stdlib_config(update)
  if update || !read_stdlib_config
    download_stdlib_config
  end
  read_stdlib_config || YAML.load_file(STDLIB_CONFIG_VENDOR_PATH)
end