lib/jekyll/configuration.rb
def check_include_exclude(config)
      %w(include exclude).each do |option|
        if config[option].is_a?(String)
          Jekyll::Deprecator.deprecation_message "The '#{option}' configuration option" \
            " must now be specified as an array, but you specified" \
            " a string. For now, we've treated the string you provided" \
            " as a list of comma-separated values."
          config[option] = csv_to_array(config[option])
        end
        config[option]&.map!(&:to_s)
      end
    end
# 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 check_include_exclude(config)
      %w(include exclude).each do |option|
        if config[option].is_a?(String)
          Jekyll::Deprecator.deprecation_message "The '#{option}' configuration option" \
            " must now be specified as an array, but you specified" \
            " a string. For now, we've treated the string you provided" \
            " as a list of comma-separated values."
          config[option] = csv_to_array(config[option])
        end
        config[option]&.map!(&:to_s)
      end
    end
def check_include_exclude ( config ) %w( include exclude ) . each do | option | if config [ option ] . is_a? ( String ) Jekyll :: Deprecator . deprecation_message "The '#{option}' configuration option" " must now be specified as an array, but you specified" " a string. For now, we've treated the string you provided" " as a list of comma-separated values." config [ option ] = csv_to_array ( config [ option ] ) end config [ option ] &. map! ( & :to_s ) end end
Default options.
Default options .
config