Method: AbstractMapper::Rules::Base.transproc
- Defined in:
- lib/abstract_mapper/rules/base.rb
.transproc ⇒ Transproc::Function
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.
The transformation function that applies the rule to the array of nodes
25 26 27 |
# File 'lib/abstract_mapper/rules/base.rb', line 25 def self.transproc Functions[composer, proc { |*nodes| new(*nodes).call }] end |