Class: Spreadsheet::NoteObject
- Inherits:
-
Object
- Object
- Spreadsheet::NoteObject
- Includes:
- Encodings
- Defined in:
- lib/spreadsheet/noteObject.rb
Overview
The NoteObject class is made to handle the text output from the object, txo, continue records which contain a comment’s text record.
Instance Attribute Summary collapse
-
#objID ⇒ Object
Returns the value of attribute objID.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize ⇒ NoteObject
constructor
A new instance of NoteObject.
Constructor Details
#initialize ⇒ NoteObject
Returns a new instance of NoteObject.
12 13 14 15 |
# File 'lib/spreadsheet/noteObject.rb', line 12 def initialize @objID = -1 @text = "" end |
Instance Attribute Details
#objID ⇒ Object
Returns the value of attribute objID.
11 12 13 |
# File 'lib/spreadsheet/noteObject.rb', line 11 def objID @objID end |
#text ⇒ Object
Returns the value of attribute text.
11 12 13 |
# File 'lib/spreadsheet/noteObject.rb', line 11 def text @text end |