Class: TTFunk::Table::Simple

Inherits:
TTFunk::Table show all
Defined in:
lib/ttfunk/table/simple.rb

Instance Attribute Summary collapse

Attributes inherited from TTFunk::Table

#file, #length, #offset

Instance Method Summary collapse

Methods inherited from TTFunk::Table

#exists?, #raw

Constructor Details

#initialize(file, tag) ⇒ Simple

Returns a new instance of Simple.



8
9
10
11
# File 'lib/ttfunk/table/simple.rb', line 8

def initialize(file, tag)
  @tag = tag
  super(file)
end

Instance Attribute Details

#tagObject (readonly)

Returns the value of attribute tag.



6
7
8
# File 'lib/ttfunk/table/simple.rb', line 6

def tag
  @tag
end