Method: AbstractMapper::Builder.initialize

Defined in:
lib/abstract_mapper/builder.rb

.initialize(node, &block) ⇒ Object

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.



64
65
66
67
68
69
# File 'lib/abstract_mapper/builder.rb', line 64

def initialize(node, &block)
  @tree     = node
  @commands = self.class.commands
  instance_eval(&block) if block_given?
  IceNine.deep_freeze(self)
end