class Excelgrip::Worksheets

Worksheet Collection Class ================

Public Instance Methods

[](index) click to toggle source
# File lib/excelgrip.rb, line 80
def [](index)
  raw_worksheet = @raw_object.item(index)
  raw_worksheet.Activate
  Worksheet.new(raw_worksheet)
end
Also aliased as: item
each() { |worksheet| ... } click to toggle source
# File lib/excelgrip.rb, line 92
def each
  @raw_object.each {|raw_worksheet|
    raw_worksheet.Activate
    yield(Worksheet.new(raw_worksheet))
  }
end
item(index)
Alias for: []
size() click to toggle source
# File lib/excelgrip.rb, line 88
def size
  @raw_object.count
end