class ChupaText::Decomposers::OfficeOpenXMLWorkbook::WorkbookListener

Constants

URI

Public Class Methods

new(sheet_names) click to toggle source
# File lib/chupa-text/decomposers/office-open-xml-workbook.rb, line 103
def initialize(sheet_names)
  @sheet_names = sheet_names
end

Public Instance Methods

start_element(uri, local_name, qname, attributes) click to toggle source
# File lib/chupa-text/decomposers/office-open-xml-workbook.rb, line 107
def start_element(uri, local_name, qname, attributes)
  return unless uri == URI
  case local_name
  when "sheet"
    @sheet_names << attributes["name"]
  end
end