module Babl::Operators::Each::DSL

Public Instance Methods

each() click to toggle source

Construct a JSON array by iterating over the current collection, using the chained template for rendering each element.

# File lib/babl/operators/each.rb, line 10
def each
    construct_node { |node| Nodes::Each.new(node) }.reset_key.reset_continue
end