aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/duration.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2008-11-23 16:10:20 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2008-11-23 16:10:20 -0800
commit49752e6ca5a7f5323ec10fc144bd62d3dad67781 (patch)
tree4e54dbf580307b1c5ca61f219eb10f08d1910f1e /activesupport/lib/active_support/duration.rb
parent1250faa858c825c7cb1e673dbc476b1629b154b2 (diff)
downloadrails-49752e6ca5a7f5323ec10fc144bd62d3dad67781.tar.gz
rails-49752e6ca5a7f5323ec10fc144bd62d3dad67781.tar.bz2
rails-49752e6ca5a7f5323ec10fc144bd62d3dad67781.zip
Duration requires BasicObject in case it's autoloaded early
Diffstat (limited to 'activesupport/lib/active_support/duration.rb')
-rw-r--r--activesupport/lib/active_support/duration.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/duration.rb b/activesupport/lib/active_support/duration.rb
index 8eae85d38e..c41e86dfd1 100644
--- a/activesupport/lib/active_support/duration.rb
+++ b/activesupport/lib/active_support/duration.rb
@@ -1,3 +1,5 @@
+require 'active_support/basic_object'
+
module ActiveSupport
# Provides accurate date and time measurements using Date#advance and
# Time#advance, respectively. It mainly supports the methods on Numeric,