summaryrefslogtreecommitdiff
path: root/doc/NEWS
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-07-19 05:49:51 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-07-19 05:49:51 +0000
commitf50be7cba7be55294031b92cb24471958d3d1759 (patch)
tree8a3641ebce27ce018c45776c62cbba69fade10af /doc/NEWS
parenteaddc4a94bf1dfb95ef889e2dd5521b657845675 (diff)
Update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc/NEWS')
-rw-r--r--doc/NEWS39
1 files changed, 39 insertions, 0 deletions
diff --git a/doc/NEWS b/doc/NEWS
index ffcc6150ba..fbdd087d46 100644
--- a/doc/NEWS
+++ b/doc/NEWS
@@ -1,3 +1,42 @@
+: Digest module
+
+ Added as a replacement for md5 and sha1 modules.
+
+ require 'digest/md5'
+ include Digest
+
+ md = MD5.new
+ md << "abc"
+ puts md
+
+ puts MD5.hexdigest("123")
+
+: Dir::chdir
+
+ Changed to warn only when invoked from multiple threads or no block
+ is given. [ruby-dev:13823]
+
+ Dir.chdir("/tmp")
+
+ pwd = Dir.pwd #=> "/tmp"
+ puts pwd
+
+ Dir.chdir("foo") {
+ pwd = Dir.pwd #=> "/tmp/foo"
+ puts pwd
+
+ Dir.chdir("bar") { # <-- previously warned
+ pwd = Dir.pwd #=> "/tmp/foo/bar"
+ puts pwd
+ }
+
+ pwd = Dir.pwd #=> "/tmp/foo"
+ puts pwd
+ }
+
+ pwd = Dir.pwd #=> "/tmp"
+ puts pwd
+
: Proc#yield
Added. This is equivalent to Proc#call except it does not check the