File: note.rb

package info (click to toggle)
ruby-spreadsheet 1.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,964 kB
  • sloc: ruby: 6,943; makefile: 10
file content (23 lines) | stat: -rw-r--r-- 511 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require 'spreadsheet/encodings'

module Spreadsheet
  ##
  # The Note class is a Subclass of String and represents a comment/note/annotation
  # someone made to a cell.
  #
  #
  # Interesting Attributes
  # #author  :: The name of the author who wrote the note
  class Note
    include Encodings
    attr_accessor :author, :length, :objID, :row, :col, :text
    def initialize
      @author = nil
      @length = 0
      @objID  = nil
      @row    = -1
      @col    = -1
      @text   = ""
    end
  end
end