Class: JRuby::Rack::ErrorsApp

Inherits:
Object
  • Object
show all
Defined in:
lib/jruby/rack/grizzly_helper.rb

Class Method Summary collapse

Class Method Details

.newObject



222
223
224
225
226
227
# File 'lib/jruby/rack/grizzly_helper.rb', line 222

def self.new
  ::Rack::Builder.new {
    use ::Rack::ShowStatus
    run Errors.new(::Rack::File.new(GrizzlyHelper.instance.public_root))
  }.to_app
end