Class | Lisp::Format::Directives::BeginIteration |
In: |
lib/facet/lisp-format.rb
|
Parent: | Directive |
Represents the ~{ (Begin iteration) directive. A given set of directives is used iteratively over a set of arguments (depends on the modifiers specified) a given number of times, or until it runs out of arguments.
Iteratively run the contained directives using sets of arguments depending upon what modifiers where given. The full form is
~n:@{...~}
with the following interpretations
Execute the iteration while there are arguments left and we haven’t reached our limit of iterations.