Permalink
Browse files

MacRuby: BasicObject unavailable

  • Loading branch information...
1 parent 19db0b7 commit 50bbc87f85e817a2926c56ccd81d3dc498a05e21 @jeremy jeremy committed Jul 28, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 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?

0 comments on commit 50bbc87

Please sign in to comment.