class Excelgrip::Workbooks

Workbook Collection Class =================

Public Instance Methods

[](index) click to toggle source
# File lib/excelgrip.rb, line 60
def [](index)
  Workbook.new(@raw_object.item(index))
end
each() { |workbook| ... } click to toggle source
# File lib/excelgrip.rb, line 68
def each
  @raw_object.each {|raw_workbook|
    yield(Workbook.new(raw_workbook))
  }
end
item(index=nil) click to toggle source
# File lib/excelgrip.rb, line 56
def item(index=nil)
  Workbook.new(@raw_object.item(index))
end
size() click to toggle source
# File lib/excelgrip.rb, line 64
def size
  @raw_object.count
end