class Numerals::Format::Notation

Attributes

format[R]

Public Class Methods

new(format) click to toggle source
# File lib/numerals/format/notation.rb, line 7
def initialize(format)
  @format = format
end

Public Instance Methods

assemble(output, text_parts) click to toggle source
# File lib/numerals/format/notation.rb, line 13
def assemble(output, text_parts)
  raise "assemble must be implemented in Notation derived class #{self.class}"
end
disassemble(text) click to toggle source
# File lib/numerals/format/notation.rb, line 17
def disassemble(text)
  raise "disassemble must be implemented in Notation derived class #{self.class}"
end