middleman/vendor/sinatra-maruku/examples/mapp.rb
2009-08-12 13:04:58 -07:00

16 lines
249 B
Ruby

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