aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/date.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-03-21 03:43:43 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-03-21 04:35:16 -0700
commitc43dec888a4823b36ee4369be0558b94d475d734 (patch)
tree42decf21f3734bd724db0fa15d8dcb766331c7d6 /activesupport/lib/active_support/core_ext/date.rb
parentbd28c7b1b8a569d431cc93924ad1ff5fdb59f401 (diff)
downloadrails-c43dec888a4823b36ee4369be0558b94d475d734.tar.gz
rails-c43dec888a4823b36ee4369be0558b94d475d734.tar.bz2
rails-c43dec888a4823b36ee4369be0558b94d475d734.zip
Convert date extension modules to class reopens
Diffstat (limited to 'activesupport/lib/active_support/core_ext/date.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/date.rb4
1 files changed, 3 insertions, 1 deletions
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)