Sha256: 7f7909f17267bce35ad9367bcfa203bb39d36c600069e12dc3ff80643beeef94

Contents?: true

Size: 347 Bytes

Versions: 7

Compression:

Stored size: 347 Bytes

Contents

# To run:
# $ bundle install
# $ bundle exec ruby examples/trivial.rb
# $ open examples/trivial.xls

require 'rubygems'
require 'osheet'

Osheet::Workbook.new {
  title "basic"
  worksheet {
    name "one dollar"
    column
    row {
      cell {
        data 1
        format :currency
      }
    }
  }
}.to_file('examples/trivial.xls', :format)

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
osheet-0.9.2 examples/trivial.rb
osheet-0.9.1 examples/trivial.rb
osheet-0.9.0 examples/trivial.rb
osheet-0.8.0 examples/trivial.rb
osheet-0.7.0 examples/trivial.rb
osheet-0.6.0 examples/trivial.rb
osheet-0.5.0 examples/trivial.rb