Sha256: b57cac83a87000b1a2375f2ccccd80f75748aae43b59bf52a6bba70049fdd39e

Contents?: true

Size: 206 Bytes

Versions: 4

Compression:

Stored size: 206 Bytes

Contents

class <%= @name.camel_case %> < Sinatra::Base

  set :public_folder => "public", :static => true

  get "/" do
    @version     = RUBY_VERSION
    @environment = ENV['RACK_ENV']

    erb :welcome
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hazel-0.0.5 lib/templates/app.rb
hazel-0.0.4 lib/templates/app.rb
hazel-0.0.3 lib/templates/app.rb
hazel-0.0.2 lib/templates/app.rb