diff options
Diffstat (limited to 'activesupport/lib/active_support/basic_object.rb')
-rw-r--r-- | activesupport/lib/active_support/basic_object.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/basic_object.rb b/activesupport/lib/active_support/basic_object.rb new file mode 100644 index 0000000000..7a3d1a9ed0 --- /dev/null +++ b/activesupport/lib/active_support/basic_object.rb @@ -0,0 +1,6 @@ +# Ruby 1.9 introduces BasicObject. Use Builder's BlankSlate before then. +unless defined? BasicObject + require 'rubygems' + require 'builder' + BasicObject = Builder::BlankSlate +end |