Class: RubyFromExcel::ExcelRangeCommon

Inherits:
ExcelRange
  • Object
show all
Includes:
Enumerable
Defined in:
lib/formulae/run/excel_range.rb

Direct Known Subclasses

Area, Columns, Rows

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#sheetObject

Returns the value of attribute sheet


8
9
10
# File 'lib/formulae/run/excel_range.rb', line 8

def sheet
  @sheet
end

Instance Method Details

#each(&block) ⇒ Object


10
11
12
# File 'lib/formulae/run/excel_range.rb', line 10

def each &block
  block ? to_enum.each { |e| yield e } : to_enum
end