1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport/lib/active_support/time.rb
Sergey Nartimov 9d97173c5a no more need to make Time#to_date and Time#to_datetime public
they are public in actual 1.9 ruby version (tested at least in 1.9.2-p180)
2011-12-22 18:53:07 +03:00

33 lines
1 KiB
Ruby

require 'active_support'
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
require 'date'
require 'time'
require 'active_support/core_ext/time/marshal'
require 'active_support/core_ext/time/acts_like'
require 'active_support/core_ext/time/calculations'
require 'active_support/core_ext/time/conversions'
require 'active_support/core_ext/time/zones'
require 'active_support/core_ext/date/acts_like'
require 'active_support/core_ext/date/calculations'
require 'active_support/core_ext/date/conversions'
require 'active_support/core_ext/date/zones'
require 'active_support/core_ext/date_time/acts_like'
require 'active_support/core_ext/date_time/calculations'
require 'active_support/core_ext/date_time/conversions'
require 'active_support/core_ext/date_time/zones'
require 'active_support/core_ext/integer/time'
require 'active_support/core_ext/numeric/time'