Class: Lisp::Format::Directives::Hexadecimal

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

Overview

Represents the ~X (Hexadecimal) 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) ⇒ Hexadecimal

Set radix to 16.



713
714
715
# File 'lib/carat/lisp-format.rb', line 713

def initialize(args)
  super(*args << 16)
end