Sha256: 18f482243520d885b7639a849fc1eec94873ac2f976aff45f0b13f9f1622bb00
Contents?: true
Size: 398 Bytes
Versions: 38
Compression:
Stored size: 398 Bytes
Contents
module Jekyll class StaticFile 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 alias_method :_octopod_original_write, :write def write(dest) return true if octopod_exclude _octopod_original_write(dest) end end end
Version data entries
38 entries across 38 versions & 2 rubygems