Sha256: dca4e0f8244e17ce6bd6660217864bbc02ed3cd9b1da3de787573420cba69ef4

Contents?: true

Size: 254 Bytes

Versions: 3

Compression:

Stored size: 254 Bytes

Contents

# encoding: UTF-8
require 'sinatra/base'

# Fixture application
class FixtureApp < Sinatra::Application
  set :public_folder, File.dirname(__FILE__) + '/public'

  if app_file == $PROGRAM_NAME
    puts '[fixture app] Booting...' * 100
    run!
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
simulacrum-0.3.2 fixtures/app/fixture_app.rb
simulacrum-0.3.1 fixtures/app/fixture_app.rb
simulacrum-0.3.0 fixtures/app/fixture_app.rb