From c43dec888a4823b36ee4369be0558b94d475d734 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Sat, 21 Mar 2009 03:43:43 -0700 Subject: Convert date extension modules to class reopens --- activesupport/lib/active_support/core_ext/date.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'activesupport/lib/active_support/core_ext/date.rb') diff --git a/activesupport/lib/active_support/core_ext/date.rb b/activesupport/lib/active_support/core_ext/date.rb index f3b71e54af..ebc333b7f7 100644 --- a/activesupport/lib/active_support/core_ext/date.rb +++ b/activesupport/lib/active_support/core_ext/date.rb @@ -1,3 +1,5 @@ require 'active_support/core_ext/util' require 'date' -ActiveSupport.core_ext Date, %w(behavior calculations conversions) +require 'active_support/core_ext/date/acts_like' +require 'active_support/core_ext/date/freeze' +ActiveSupport.core_ext Date, %w(calculations conversions) -- cgit v1.2.3