Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Doesn't undef method __metaclass__ because we need it on rubinius

  • Loading branch information...
commit 312b8fc6e0ce2c8ad81b0b6c3b962c447377d95a 1 parent 2c176ca
@kronos kronos authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/sequel/sql.rb
View
2  lib/sequel/sql.rb
@@ -4,7 +4,7 @@ module Sequel
# the Ruby 1.9 BasicObject class. This is used in a few places where proxy
# objects are needed that respond to any method call.
class BasicObject
- (instance_methods - %w"__id__ __send__ instance_eval == equal?").each{|m| undef_method(m)}
+ (instance_methods - %w"__id__ __send__ __metaclass__ instance_eval == equal?").each{|m| undef_method(m)}
end
else
# If on 1.9, create a Sequel::BasicObject class that is just like the
Please sign in to comment.
Something went wrong with that request. Please try again.