Method: Nanoc::RuleDSL::RoutingRule#initialize
- Defined in:
- lib/nanoc/rule_dsl/routing_rule.rb
#initialize(pattern, rep_name, block, snapshot_name: nil) ⇒ RoutingRule
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 RoutingRule.
11 12 13 14 15 |
# File 'lib/nanoc/rule_dsl/routing_rule.rb', line 11 def initialize(pattern, rep_name, block, snapshot_name: nil) super(pattern, rep_name, block) @snapshot_name = snapshot_name end |