Method: Nanoc::RuleDSL::ActionRecorder#initialize

Defined in:
lib/nanoc/rule_dsl/action_recorder.rb

#initialize(item_rep) ⇒ ActionRecorder

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 ActionRecorder.



9
10
11
12
13
14
15
16
17
18
# File 'lib/nanoc/rule_dsl/action_recorder.rb', line 9

def initialize(item_rep)
  @item_rep = item_rep

  @action_sequence_builder = Nanoc::Core::ActionSequenceBuilder.new

  @any_layouts = false
  @last_snapshot = false
  @pre_snapshot = false
  @snapshots_for_which_to_skip_routing_rule = Set.new
end