1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Do alias << update.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2006-12-04 10:27:28 +00:00
parent 4df88e463d
commit ce6af3e8a0
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Mon Dec 4 19:16:39 2006 Akinori MUSHA <knu@iDaemons.org>
* ext/digest/lib/digest/hmac.rb: Do alias << update.
Mon Dec 4 10:48:03 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
* ruby.h (OFFT2NUM): use LONG2NUM() if sizeof(long) equals to

View file

@ -71,6 +71,7 @@ module Digest
@md.update(text)
self
end
alias << update
def reset
@md.reset