diff options
Diffstat (limited to 'activesupport/lib/active_support/core_ext/date.rb')
-rw-r--r-- | activesupport/lib/active_support/core_ext/date.rb | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/activesupport/lib/active_support/core_ext/date.rb b/activesupport/lib/active_support/core_ext/date.rb index 3f56c560b6..f3b71e54af 100644 --- a/activesupport/lib/active_support/core_ext/date.rb +++ b/activesupport/lib/active_support/core_ext/date.rb @@ -1,10 +1,3 @@ +require 'active_support/core_ext/util' require 'date' -require 'active_support/core_ext/date/behavior' -require 'active_support/core_ext/date/calculations' -require 'active_support/core_ext/date/conversions' - -class Date#:nodoc: - include ActiveSupport::CoreExtensions::Date::Behavior - include ActiveSupport::CoreExtensions::Date::Calculations - include ActiveSupport::CoreExtensions::Date::Conversions -end +ActiveSupport.core_ext Date, %w(behavior calculations conversions) |