Sha256: ec36c6bb8ef8c74661635c9aa0797bf4776c5c93a621005da0d05bca0dc62cbc

Contents?: true

Size: 162 Bytes

Versions: 3

Compression:

Stored size: 162 Bytes

Contents

require 'sinatra/base'

class ExampleApp < Sinatra::Application
  set :public_folder, File.dirname(__FILE__) + '/public'

  run! if app_file == $PROGRAM_NAME
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
simulacrum-0.3.2 examples/basic/example_app.rb
simulacrum-0.3.1 examples/basic/example_app.rb
simulacrum-0.3.0 examples/basic/example_app.rb