Module: Sheetah::Sheet

Included in:
Backends::Csv, Backends::Wrapper, Backends::Xlsx
Defined in:
lib/sheetah/sheet.rb,
lib/sheetah/sheet/col_converter.rb

Defined Under Namespace

Modules: ClassMethods Classes: Cell, Error, Header, Row

Constant Summary collapse

COL_CONVERTER =
ColConverter.new.freeze

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.col2intObject



13
14
15
# File 'lib/sheetah/sheet.rb', line 13

def self.col2int(...)
  COL_CONVERTER.col2int(...)
end

.int2colObject



17
18
19
# File 'lib/sheetah/sheet.rb', line 17

def self.int2col(...)
  COL_CONVERTER.int2col(...)
end

Instance Method Details

#closeObject

Raises:

  • (NoMethodError)


99
100
101
# File 'lib/sheetah/sheet.rb', line 99

def close
  raise NoMethodError, "You must implement #{self.class}#close => nil"
end

#each_headerObject

Raises:

  • (NoMethodError)


91
92
93
# File 'lib/sheetah/sheet.rb', line 91

def each_header
  raise NoMethodError, "You must implement #{self.class}#each_header => self"
end

#each_rowObject

Raises:

  • (NoMethodError)


95
96
97
# File 'lib/sheetah/sheet.rb', line 95

def each_row
  raise NoMethodError, "You must implement #{self.class}#each_row => self"
end