Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BasicObject does not define respond_to?

  • Loading branch information...
commit 069a89d3d64ecda3329fee58eae4f56bee24d2b5 1 parent 13ccbc7
@rkh rkh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/rack/body_proxy.rb
View
2  lib/rack/body_proxy.rb
@@ -1,5 +1,5 @@
module Rack
- class BodyProxy < defined?(BasicObject) ? BasicObject : Object
+ class BodyProxy
def initialize(body, &block)
@body, @block = body, block
end
Please sign in to comment.
Something went wrong with that request. Please try again.