Class: Spreadsheet::NoteObject

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initializeNoteObject

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

#objIDObject

Returns the value of attribute objID.



11
12
13
# File 'lib/spreadsheet/noteObject.rb', line 11

def objID
  @objID
end

#textObject

Returns the value of attribute text.



11
12
13
# File 'lib/spreadsheet/noteObject.rb', line 11

def text
  @text
end