Sha256: 786161c51ead8f3fc796ebc768bdd8e6b1268f885aafcc19806e9dc945ace165

Contents?: true

Size: 289 Bytes

Versions: 6

Compression:

Stored size: 289 Bytes

Contents

require 'xmlss'

class ExampleWorkbook < Xmlss::Workbook

  def initialize(name, &build)
    puts "Building #{name} workbook xml..."

    super(Xmlss::Writer.new(:pp => 2), &build)
    self.to_file("./examples/#{name}.xml")

    puts "... ready - open in Excel or whatever..."
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
xmlss-1.0.1 examples/example_workbook.rb
xmlss-1.0.0 examples/example_workbook.rb
xmlss-1.0.0.rc.4 examples/example_workbook.rb
xmlss-1.0.0.rc.3 examples/example_workbook.rb
xmlss-1.0.0.rc.2 examples/example_workbook.rb
xmlss-1.0.0.rc.1 examples/example_workbook.rb