Sha256: 048a408d3d4138d736c048b946f4ed6073fb353dc23aff70f7f6a5734ad16436

Contents?: true

Size: 265 Bytes

Versions: 4

Compression:

Stored size: 265 Bytes

Contents

# Convenience function for registering filters
def register_filter(*names, &block)
  names.each { |name| $nanoc_compiler.register_filter(name, &block) }
end

# Load all filters
Dir[File.join(File.dirname(__FILE__), 'filters', '*_filter.rb')].each { |f| require f }

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
nanoc-1.6.2 lib/nanoc/filters.rb
nanoc-1.5 lib/nanoc/filters.rb
nanoc-1.6 lib/nanoc/filters.rb
nanoc-1.6.1 lib/nanoc/filters.rb