class Roo::Excelx::Workbook::Label

Attributes

col[R]
name[R]
row[R]
sheet[R]

Public Class Methods

new(name, sheet, row, col) click to toggle source
# File lib/roo/excelx/workbook.rb, line 8
def initialize(name, sheet, row, col)
  @name = name
  @sheet = sheet
  @row = row.to_i
  @col = ::Roo::Utils.letter_to_number(col)
end

Public Instance Methods

key() click to toggle source
# File lib/roo/excelx/workbook.rb, line 15
def key
  [@row, @col]
end