aboutsummaryrefslogtreecommitdiffstats
path: root/lib/date.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/date.rb')
-rw-r--r--lib/date.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/date.rb b/lib/date.rb
index 63d6324eef..63bb9cae15 100644
--- a/lib/date.rb
+++ b/lib/date.rb
@@ -1482,7 +1482,10 @@ class Date
def marshal_dump() [@ajd, @of, @sg] end
# Load from Marshall format.
- def marshal_load(a) @ajd, @of, @sg, = a end
+ def marshal_load(a)
+ @ajd, @of, @sg, = a
+ @__ca__ = {}
+ end
end