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

Represents the ~% (Freshline) directive. This outputs a new-line (?\n) character a given number of times, depending on if it is already at the first output column or not.

Methods

execute  

Public Instance methods

Outputs a new-line character a given number of times depending on if it is already at the first output column or not. If it is it outputs it the given number minus one (1). The full form is

  ~n&

with the following interpretations

n (1)
number of times to output the specific character (maybe minus one).

[Validate]