diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-07-27 21:44:53 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-07-28 13:54:10 -0700 |
commit | 50bbc87f85e817a2926c56ccd81d3dc498a05e21 (patch) | |
tree | fa3afdd9267ba03a2e07745c81626a4185f445f7 /activesupport/lib/active_support/basic_object.rb | |
parent | 19db0b732458347b5237ac90865d62b3fd2157f1 (diff) | |
download | rails-50bbc87f85e817a2926c56ccd81d3dc498a05e21.tar.gz rails-50bbc87f85e817a2926c56ccd81d3dc498a05e21.tar.bz2 rails-50bbc87f85e817a2926c56ccd81d3dc498a05e21.zip |
MacRuby: BasicObject unavailable
Diffstat (limited to 'activesupport/lib/active_support/basic_object.rb')
-rw-r--r-- | activesupport/lib/active_support/basic_object.rb | 2 |
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? |