Class Lisp::Format::Directives::ArgJump
In: lib/facet/lisp-format.rb
Parent: Directive

Represents the ~* (Argument jumping) directive. This moves arbitrarily amongst the arguments passed to the formatting engine.

Methods

execute  

Public Instance methods

Moves backwards or forwards, relative or absolute, among the formatting arguments. The full form is

  ~n:@*

with the following interpretations

n (1)
the amount of arguments to move or the argument to move to if moving to an absolute position, indexed from zero (0),
:
move backwards n arguments
@
move to the n:th argument, using zero-based indexing (absolute).

[Validate]