Class: TTFunk::Table::Simple

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

Overview

A table that TTFunk doesn’t decode but preserve.

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.

Parameters:

Source Code
lib/ttfunk/table/simple.rb, line 15
15
def initialize(file, tag)
16
  @tag = tag
17
  super(file)
18
end

Instance Attribute Details

#tagString (readonly)

Table tag

Returns:

  • (String)
Source Code
lib/ttfunk/table/simple.rb, line 11
11
def tag
12
  @tag
13
end