ruby-changes:5010
From: ko1@a...
Date: Wed, 21 May 2008 12:35:10 +0900 (JST)
Subject: [ruby-changes:5010] nobu - Ruby:r16503 (ruby_1_8): * hash.c (rb_hash_delete): rdoc fix based on a patch from Gaston Ramos
nobu 2008-05-21 12:34:54 +0900 (Wed, 21 May 2008)
New Revision: 16503
Modified files:
branches/ruby_1_8/ChangeLog
branches/ruby_1_8/hash.c
branches/ruby_1_8/version.h
Log:
* hash.c (rb_hash_delete): rdoc fix based on a patch from Gaston Ramos
<ramos.gaston AT gmail.com>. [ruby-core:16825]
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ChangeLog?r1=16503&r2=16502&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/version.h?r1=16503&r2=16502&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/hash.c?r1=16503&r2=16502&diff_format=u
Index: ruby_1_8/hash.c
===================================================================
--- ruby_1_8/hash.c (revision 16502)
+++ ruby_1_8/hash.c (revision 16503)
@@ -702,10 +702,9 @@
* hsh.delete(key) {| key | block } => value
*
* Deletes and returns a key-value pair from <i>hsh</i> whose key is
- * equal to <i>key</i>. If the key is not found, returns the
- * <em>default value</em>. If the optional code block is given and the
- * key is not found, pass in the key and return the result of
- * <i>block</i>.
+ * equal to <i>key</i>. If the key is not found, returns <code>nil</code>.
+ * If the optional code block is given and the key is not found,
+ * pass in the key and return the result of <i>block</i>.
*
* h = { "a" => 100, "b" => 200 }
* h.delete("a") #=> 100
Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog (revision 16502)
+++ ruby_1_8/ChangeLog (revision 16503)
@@ -1,3 +1,8 @@
+Wed May 21 12:34:51 2008 Nobuyoshi Nakada <nobu@r...>
+
+ * hash.c (rb_hash_delete): rdoc fix based on a patch from Gaston Ramos
+ <ramos.gaston AT gmail.com>. [ruby-core:16825]
+
Tue May 20 13:15:46 2008 Akinori MUSHA <knu@i...>
* file.c (lchmod_internal): Remove a compiler warning.
Index: ruby_1_8/version.h
===================================================================
--- ruby_1_8/version.h (revision 16502)
+++ ruby_1_8/version.h (revision 16503)
@@ -1,7 +1,7 @@
#define RUBY_VERSION "1.8.7"
-#define RUBY_RELEASE_DATE "2008-05-20"
+#define RUBY_RELEASE_DATE "2008-05-21"
#define RUBY_VERSION_CODE 187
-#define RUBY_RELEASE_CODE 20080520
+#define RUBY_RELEASE_CODE 20080521
#define RUBY_PATCHLEVEL 5000
#define RUBY_VERSION_MAJOR 1
@@ -9,7 +9,7 @@
#define RUBY_VERSION_TEENY 7
#define RUBY_RELEASE_YEAR 2008
#define RUBY_RELEASE_MONTH 5
-#define RUBY_RELEASE_DAY 20
+#define RUBY_RELEASE_DAY 21
#ifdef RUBY_EXTERN
RUBY_EXTERN const char ruby_version[];
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/