module Marklar
Constants
- VERSION
Public Class Methods
call(env)
click to toggle source
# File lib/marklar.rb, line 10 def call env req = Rack::Request.new(env) [200, {'Content-Type' => "text/html" }, [@markdown.render(req[:data].to_s)]] if req.post? end