# File lib/nanoc/base/compilation/rule.rb, line 39 def initialize(identifier_regex, rep_name, block, params={}) @identifier_regex = identifier_regex @rep_name = rep_name.to_sym @snapshot_name = params[:snapshot_name] @block = block end