Skip to content
Browse files

Remove builder stuff that seems useless

  • Loading branch information...
1 parent ddf9d5d commit 43d462ea1109eb0111fac4dc132a25194616d3e9 Chris Causer committed Feb 14, 2012
Showing with 27 additions and 27 deletions.
  1. +27 −27 lib/rack/flash.rb
View
54 lib/rack/flash.rb
@@ -1,30 +1,30 @@
-module Rack
- class Builder
- attr :ins
- def use(middleware, *args, &block)
- middleware.instance_variable_set "@rack_builder", self
- def middleware.rack_builder
- @rack_builder
- end
- @ins << lambda { |app|
- middleware.new(app, *args, &block)
- }
- end
-
- def run(app)
- klass = app.class
- klass.instance_variable_set "@rack_builder", self
- def klass.rack_builder
- @rack_builder
- end
- @ins << app #lambda { |nothing| app }
- end
-
- def leaf_app
- ins.last
- end
- end
-end
+#module Rack
+# class Builder
+# attr :ins
+# def use(middleware, *args, &block)
+# middleware.instance_variable_set "@rack_builder", self
+# def middleware.rack_builder
+# @rack_builder
+# end
+# @ins << lambda { |app|
+# middleware.new(app, *args, &block)
+# }
+# end
+#
+# def run(app)
+# klass = app.class
+# klass.instance_variable_set "@rack_builder", self
+# def klass.rack_builder
+# @rack_builder
+# end
+# @ins << app #lambda { |nothing| app }
+# end
+#
+# def leaf_app
+# ins.last
+# end
+# end
+#end
module Rack
class Flash

0 comments on commit 43d462e

Please sign in to comment.
Something went wrong with that request. Please try again.