class Sp2db::Spreadsheet

Attributes

sheet[RW]

Public Class Methods

new(sheet) click to toggle source
# File lib/sp2db/spreadsheet.rb, line 6
def initialize sheet
  self.sheet = sheet
end

Public Instance Methods

worksheet_by_name(ws_name) click to toggle source
# File lib/sp2db/spreadsheet.rb, line 14
def worksheet_by_name ws_name
  sheet.worksheet_by_title ws_name
end
worksheets() click to toggle source
# File lib/sp2db/spreadsheet.rb, line 10
def worksheets
  sheet.worksheets.index_by(&:title).with_indifferent_access
end