class Jekyll::StaticFile

Public Instance Methods

_octopod_original_write(dest)
Alias for: write
octopod_exclude() click to toggle source
# File lib/jekyll/static_file.rb, line 4
def octopod_exclude
  src = path.sub("#{@base}/", '')
  nested_files = %w[]

  excludes = %w[Gemfile Gemfile.lock README.md octopod]
  return true if excludes.include?(src)
end
write(dest) click to toggle source
# File lib/jekyll/static_file.rb, line 14
def write(dest)
  return true if octopod_exclude

  _octopod_original_write(dest)
end
Also aliased as: _octopod_original_write