Class: Rack::Jasmine::Runner

Inherits:
Object
  • Object
show all
Defined in:
lib/middleman/jasmine/jasmine_sprockets_proxy.rb

Instance Method Summary collapse

Instance Method Details

#call(env) ⇒ Object



72
73
74
75
76
77
78
79
# File 'lib/middleman/jasmine/jasmine_sprockets_proxy.rb', line 72

def call(env)
  @path = env["PATH_INFO"]
  [
    200,
    { 'Content-Type' => 'text/html'},
    [@page.render]
  ]
end