Sha256: 4db6130403e2910c57ce52aed49ef6323f785cabf35cadc67bfd33b98ac16917

Contents?: true

Size: 249 Bytes

Versions: 57

Compression:

Stored size: 249 Bytes

Contents

require 'rubygems'
require 'sinatra/base'
require 'sinatra/maruku'

require 'rack'

class MApp < Sinatra::Base
  helpers Sinatra::Maruku

  get '/' do
    maruku "## hello form modular app"
  end
end

Rack::Handler::Thin.run MApp.new, :Port => 4567

Version data entries

57 entries across 57 versions & 4 rubygems

Version Path
wbzyl-sinatra-maruku-0.0.4 examples/mapp.rb
wbzyl-sinatra-maruku-0.0.6 examples/mapp.rb
wbzyl-sinatra-maruku-0.0.8 examples/mapp.rb
wbzyl-sinatra-maruku-0.1.0 examples/mapp.rb
wbzyl-sinatra-maruku-0.1.1 examples/mapp.rb
wbzyl-sinatra-maruku-0.10.1 examples/mapp.rb
sinatra-maruku-1.0.0.2 examples/mapp.rb
sinatra-maruku-0.9.4.1 examples/mapp.rb
sinatra-maruku-0.9.4.0 examples/mapp.rb
middleman-0.5.5 vendor/sinatra-maruku/examples/mapp.rb
middleman-0.5.4 vendor/sinatra-maruku/examples/mapp.rb
middleman-0.5.3 vendor/sinatra-maruku/examples/mapp.rb
middleman-0.5.2 vendor/sinatra-maruku/examples/mapp.rb
middleman-0.5.1 vendor/sinatra-maruku/examples/mapp.rb
middleman-0.4.2 vendor/sinatra-maruku/examples/mapp.rb
middleman-0.5.0 vendor/sinatra-maruku/examples/mapp.rb
middleman-0.3.6 vendor/sinatra-maruku/examples/mapp.rb
middleman-0.3.7 vendor/sinatra-maruku/examples/mapp.rb
middleman-0.3.8 vendor/sinatra-maruku/examples/mapp.rb
middleman-0.3.9 vendor/sinatra-maruku/examples/mapp.rb