Class: Pint::Application

Inherits:
Object
  • Object
show all
Defined in:
lib/pint.rb

Instance Method Summary collapse

Instance Method Details

#call(env) ⇒ Object



6
7
8
9
10
# File 'lib/pint.rb', line 6

def call(env)
  `echo debug > debug.txt`
  [ 200, { 'Content-Type' => 'text/html' },
    [ "Hello from Ruby Drunk on Pint!" ]]
end