Class: Tipo::Table::Base
- Inherits:
-
Object
- Object
- Tipo::Table::Base
- Defined in:
- lib/tipo/table/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#font ⇒ Object
readonly
Returns the value of attribute font.
-
#font_header ⇒ Object
readonly
Returns the value of attribute font_header.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(font_header, font) ⇒ Base
constructor
A new instance of Base.
- #offset ⇒ Object
Constructor Details
#initialize(font_header, font) ⇒ Base
Returns a new instance of Base.
7 8 9 10 |
# File 'lib/tipo/table/base.rb', line 7 def initialize font_header, font @font_header = font_header @font = font end |
Instance Attribute Details
#font ⇒ Object (readonly)
Returns the value of attribute font.
4 5 6 |
# File 'lib/tipo/table/base.rb', line 4 def font @font end |
#font_header ⇒ Object (readonly)
Returns the value of attribute font_header.
4 5 6 |
# File 'lib/tipo/table/base.rb', line 4 def font_header @font_header end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/tipo/table/base.rb', line 5 def name @name end |
Instance Method Details
#offset ⇒ Object
12 13 14 |
# File 'lib/tipo/table/base.rb', line 12 def offset seek_to_table @name end |