Class: Lisp::Format::Directives::Octal

Inherits:
Number show all
Defined in:
lib/carat/lisp-format.rb

Overview

Represents the ~O (Octal) directive.

Instance Attribute Summary

Attributes inherited from Directive

#pos

Instance Method Summary collapse

Methods inherited from Number

#execute

Methods inherited from Directive

#execute, #join

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