lib/logster/web.rb in logster-2.1.1 vs lib/logster/web.rb in logster-2.1.2
- old
+ new
@@ -1,14 +1,14 @@
-require 'logster/middleware/viewer'
-
-class Logster::Web
- class FourOhFour
- def call(env)
- [404, {}, ["not found"]]
- end
- end
-
- def self.call(env)
- @middleware ||= Logster::Middleware::Viewer.new(FourOhFour.new)
- @middleware.call(env)
- end
-end
+require 'logster/middleware/viewer'
+
+class Logster::Web
+ class FourOhFour
+ def call(env)
+ [404, {}, ["not found"]]
+ end
+ end
+
+ def self.call(env)
+ @middleware ||= Logster::Middleware::Viewer.new(FourOhFour.new)
+ @middleware.call(env)
+ end
+end