summaryrefslogtreecommitdiff
path: root/ext/psych/lib/psych
diff options
context:
space:
mode:
authortenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-11 19:05:53 +0000
committertenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-11 19:05:53 +0000
commit3a1c0be67fac516822d83c1fe628a32c7782a4a8 (patch)
tree9844b54fac737754e07a761b45de528661a255ea /ext/psych/lib/psych
parent521f4a4beb1623cfc911ab07a9c5c37dd0dd8988 (diff)
* ext/psych/lib/psych/deprecated.rb: requiring 'date' for backwards
compatibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/psych/lib/psych')
-rw-r--r--ext/psych/lib/psych/deprecated.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/psych/lib/psych/deprecated.rb b/ext/psych/lib/psych/deprecated.rb
index 5a96e91154..c0c9abef7a 100644
--- a/ext/psych/lib/psych/deprecated.rb
+++ b/ext/psych/lib/psych/deprecated.rb
@@ -1,3 +1,5 @@
+require 'date'
+
module Psych
module DeprecatedMethods # :nodoc:
attr_accessor :taguri