Module: Jekyll::Favicon::StaticFile::Referenceable

Includes:
Configuration::Defaults
Included in:
Jekyll::Favicon::StaticFile
Defined in:
lib/jekyll/favicon/static_file/referenceable.rb

Overview

Add reference to a static file

Instance Method Summary collapse

Methods included from Configuration::Defaults

base_name_to_parts, camelcase_to_snakecase, define_defaults, included, load_defaults, load_file

Instance Method Details

#referObject



16
17
18
# File 'lib/jekyll/favicon/static_file/referenceable.rb', line 16

def refer
  patch spec.fetch("refer", [])
end

#referenceable?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/jekyll/favicon/static_file/referenceable.rb', line 12

def referenceable?
  refer.any?
end