class Tipo::Info

Attributes

font[R]
header[R]

Public Class Methods

new(file) click to toggle source
# File lib/tipo.rb, line 13
def initialize file
  @font = Font.new file
  @header = Header.new font
end

Public Instance Methods

method_missing(table, *args, &block) click to toggle source
# File lib/tipo.rb, line 18
def method_missing table, *args, &block
  table = "tipo/table/#{table}".camelize.constantize
  table.new @header, @font
end