зеркало из https://github.com/github/ruby.git
* lib/date.rb (marshal_load): initialize the cache.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
38321fc0eb
Коммит
3487136f70
|
@ -1,3 +1,7 @@
|
|||
Mon Jan 21 20:09:38 2008 Tadayoshi Funaba <tadf@dotrb.org>
|
||||
|
||||
* lib/date.rb (marshal_load): initialize the cache.
|
||||
|
||||
Mon Jan 21 19:42:42 2008 Martin Duerst <duerst@it.aoyama.ac.jp>
|
||||
|
||||
* transcode.c, enc/trans/utf_16_32.c, test/ruby/test_transcode.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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче