Class: Lisp::Format::Directives::Octal
- Defined in:
- lib/carat/lisp-format.rb
Overview
Represents the ~O (Octal) directive.
Instance Attribute Summary
Attributes inherited from Directive
Instance Method Summary collapse
-
#initialize(args) ⇒ Octal
constructor
Set
radix
to 8.
Methods inherited from Number
Methods inherited from Directive
Constructor Details
#initialize(args) ⇒ Octal
Set radix
to 8.
705 706 707 |
# File 'lib/carat/lisp-format.rb', line 705 def initialize(args) super(*args << 8) end |