Method: Nanoc::RuleDSL::RulesCollection#initialize
- Defined in:
- lib/nanoc/rule_dsl/rules_collection.rb
#initialize ⇒ RulesCollection
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of RulesCollection.
31 32 33 34 35 36 37 |
# File 'lib/nanoc/rule_dsl/rules_collection.rb', line 31 def initialize @item_compilation_rules = [] @item_routing_rules = [] @layout_filter_mapping = {} @preprocessors = {} @postprocessors = {} end |