From 7bd33735d413f06d06b3057e8244f9f3e5b518a5 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Fri, 28 Dec 2007 11:14:18 +0000 Subject: Introduce ActiveSupport::BasicObject which bridges Builder::BlankSlate and Ruby 1.9 BasicObject. Closes #10634 [Frederick Cheung] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8500 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_view/helpers/prototype_helper.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'actionpack') diff --git a/actionpack/lib/action_view/helpers/prototype_helper.rb b/actionpack/lib/action_view/helpers/prototype_helper.rb index f4ea25af16..68e22ff032 100644 --- a/actionpack/lib/action_view/helpers/prototype_helper.rb +++ b/actionpack/lib/action_view/helpers/prototype_helper.rb @@ -1065,11 +1065,7 @@ module ActionView end # Converts chained method calls on DOM proxy elements into JavaScript chains - class JavaScriptProxy < BasicObject #:nodoc: - if ::RUBY_VERSION >= '1.9' - undef_method :== - undef_method :equal? - end + class JavaScriptProxy < ActiveSupport::BasicObject #:nodoc: def initialize(generator, root = nil) @generator = generator -- cgit v1.2.3