class Workbook

An object of this class represents the workbook, i.e. workbook.xml and all that it … well… represents. A bunch of sheets and the like.

Attributes

document[R]

Public Class Methods

new(xml) click to toggle source
# File workbook.rb, line 35
def initialize(xml)
  @log = @@log
  # parse xml
  @log.debug('initialize, argument xml is ' << xml.to_s)
  @document = Nokogiri::XML::parse(xml)
  @sheets = @document.css('sheet')
  @log.debug('@document is ' << @document.to_s)
end