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

Parent class for character outputting directives, such as ~% (NewLine), ~| (NewPage), and ~~ (Tilde), which output the same character a given number of times.

Methods

execute   new  

Public Class methods

Create and set the character to use to ch.

Public Instance methods

Outputs the specific character (depending on the sub-classing directive) a given number of times. The full form is

  ~n[%|~]

with the following interpretations

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

[Validate]