aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2008-07-27 21:44:53 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2008-07-28 13:54:10 -0700
commit50bbc87f85e817a2926c56ccd81d3dc498a05e21 (patch)
treefa3afdd9267ba03a2e07745c81626a4185f445f7
parent19db0b732458347b5237ac90865d62b3fd2157f1 (diff)
downloadrails-50bbc87f85e817a2926c56ccd81d3dc498a05e21.tar.gz
rails-50bbc87f85e817a2926c56ccd81d3dc498a05e21.tar.bz2
rails-50bbc87f85e817a2926c56ccd81d3dc498a05e21.zip
MacRuby: BasicObject unavailable
-rw-r--r--activesupport/lib/active_support/basic_object.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/basic_object.rb b/activesupport/lib/active_support/basic_object.rb
index e06da79d26..1f77209e7f 100644
--- a/activesupport/lib/active_support/basic_object.rb
+++ b/activesupport/lib/active_support/basic_object.rb
@@ -7,7 +7,7 @@
# barebones base class that emulates Builder::BlankSlate while still relying on
# Ruby 1.9's BasicObject in Ruby 1.9.
module ActiveSupport
- if RUBY_VERSION >= '1.9'
+ if defined? ::BasicObject
class BasicObject < ::BasicObject
undef_method :==
undef_method :equal?