Sha256: ff293350fb453d711b11b35ac18126750b3a35723e4afa032aafd7a64a2a1509

Contents?: true

Size: 210 Bytes

Versions: 1

Compression:

Stored size: 210 Bytes

Contents

<% if options[:modular] %>

require 'sinatra/base' 

class HelloWorld < Sinatra::Base
  get '/' do
    'hello world'
  end
end

<% else %>     

require 'sinatra'

get '/' do
  'hello world'
end

<% end %>




Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sinatra_generator-0.1.0 lib/sinatra_generator/templates/main.rb