lib/jekyll/configuration.rb
# Default options. Overridden by values in _config.yml.
# Strings rather than symbols are used for compatibility with YAML.
Default options. Overridden by values in _config.yml.
Strings rather than symbols are used for compatibility with YAML.
Default options . Overridden by values in _config . yml . Strings rather than symbols are used for compatibility with YAML .
def safe_load_file(filename)
      case File.extname(filename)
      when %r!\.toml!i
        Jekyll::External.require_with_graceful_fail("tomlrb") unless defined?(Tomlrb)
        Tomlrb.load_file(filename)
      when %r!\.ya?ml!i
        SafeYAML.load_file(filename) || {}
      else
        raise ArgumentError, "No parser for '#{filename}' is available.
          Use a .y(a)ml or .toml file instead."
      end
    end
def safe_load_file ( filename ) case File . extname ( filename ) when %r! \. toml !i Jekyll :: External . require_with_graceful_fail ( "tomlrb" ) unless defined? ( Tomlrb ) Tomlrb . load_file ( filename ) when %r! \. ya?ml !i SafeYAML . load_file ( filename ) || { } else raise ArgumentError , "No parser for '#{filename}' is available.
          Use a .y(a)ml or .toml file instead." end end
Default options.
Default options .
filename