Sha256: a7b3fbeec787959b65f096faddf0ce56e895b02b38fe248e560401a748017923

Contents?: true

Size: 234 Bytes

Versions: 3

Compression:

Stored size: 234 Bytes

Contents

require 'sinatra/base'
require 'osheet'

Osheet.register

class SinatraApp < Sinatra::Base

  configure do
    set :root, File.expand_path(File.dirname(__FILE__))
  end

  get '/index.xls' do
    @times = 2
    osheet :index
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
osheet-0.7.0 test/sinatra/app.rb
osheet-0.6.0 test/sinatra/app.rb
osheet-0.5.0 test/sinatra/app.rb