Permalink
Browse files

BasicObject does not define respond_to?

  • Loading branch information...
rkh committed Jun 9, 2011
1 parent 5778964 commit 30ec24ac3cd2c036705f413009d67c254faf0446
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rack/body_proxy.rb
View
@@ -1,5 +1,5 @@
module Rack
- class BodyProxy < defined?(BasicObject) ? BasicObject : Object
+ class BodyProxy
def initialize(body, &block)
@body, @block = body, block
end

0 comments on commit 30ec24a

Please sign in to comment.