Class: Lisp::Format::Directives::NewPage
- Inherits:
-
CharacterDirective
- Object
- Directive
- CharacterDirective
- Lisp::Format::Directives::NewPage
- Defined in:
- lib/carat/lisp-format.rb
Overview
Represents the ~| (Newpage) directive. This outputs a new-page (?f) character a given number of times.
Instance Attribute Summary
Attributes inherited from Directive
Instance Method Summary collapse
-
#initialize(*args) ⇒ NewPage
constructor
Set the output character to a new-page (?f).
Methods inherited from CharacterDirective
Methods inherited from Directive
Constructor Details
#initialize(*args) ⇒ NewPage
Set the output character to a new-page (?f).
1316 1317 1318 |
# File 'lib/carat/lisp-format.rb', line 1316 def initialize(*args) super(*args << ?\f) end |