aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/time.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/time.rb')
-rw-r--r--activesupport/lib/active_support/time.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/time.rb b/activesupport/lib/active_support/time.rb
new file mode 100644
index 0000000000..d36a683601
--- /dev/null
+++ b/activesupport/lib/active_support/time.rb
@@ -0,0 +1,14 @@
+require 'active_support'
+require 'active_support/core_ext/time'
+require 'active_support/core_ext/date'
+require 'active_support/core_ext/date_time'
+
+module ActiveSupport
+ autoload :Duration, 'active_support/duration'
+ autoload :TimeWithZone, 'active_support/time_with_zone'
+ autoload :TimeZone, 'active_support/values/time_zone'
+
+ on_load_all do
+ [Duration, TimeWithZone, TimeZone]
+ end
+end