mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
1686c9a5f6
Let users require `active_support` before loading any ActiveSupport modules http://guides.rubyonrails.org/active_support_core_extensions.html
18 lines
537 B
Ruby
18 lines
537 B
Ruby
module ActiveSupport
|
|
autoload :Duration, 'active_support/duration'
|
|
autoload :TimeWithZone, 'active_support/time_with_zone'
|
|
autoload :TimeZone, 'active_support/values/time_zone'
|
|
end
|
|
|
|
require 'date'
|
|
require 'time'
|
|
|
|
require 'active_support/core_ext/time'
|
|
require 'active_support/core_ext/date'
|
|
require 'active_support/core_ext/date_time'
|
|
|
|
require 'active_support/core_ext/integer/time'
|
|
require 'active_support/core_ext/numeric/time'
|
|
|
|
require 'active_support/core_ext/string/conversions'
|
|
require 'active_support/core_ext/string/zones'
|