[前][次][番号順一覧][スレッド一覧]

ruby-changes:13315

From: marcandre <ko1@a...>
Date: Fri, 25 Sep 2009 03:36:58 +0900 (JST)
Subject: [ruby-changes:13315] Ruby:r25078 (ruby_1_8): * hash.c (doc): doc fix, patch by Run Paint Run Run

marcandre	2009-09-25 03:36:19 +0900 (Fri, 25 Sep 2009)

  New Revision: 25078

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=25078

  Log:
    * hash.c (doc): doc fix, patch by Run Paint Run Run [ruby-core:23644]

  Modified files:
    branches/ruby_1_8/hash.c

Index: ruby_1_8/hash.c
===================================================================
--- ruby_1_8/hash.c	(revision 25077)
+++ ruby_1_8/hash.c	(revision 25078)
@@ -459,7 +459,7 @@
  *     hsh[key]    =>  value
  *
  *  Element Reference---Retrieves the <i>value</i> object corresponding
- *  to the <i>key</i> object. If not found, returns the a default value (see
+ *  to the <i>key</i> object. If not found, returns the default value (see
  *  <code>Hash::new</code> for details).
  *
  *     h = { "a" => 100, "b" => 200 }
@@ -589,7 +589,7 @@
  *     hsh.default = obj     => hsh
  *
  *  Sets the default value, the value returned for a key that does not
- *  exist in the hash. It is not possible to set the a default to a
+ *  exist in the hash. It is not possible to set the default to a
  *  <code>Proc</code> that will be executed on each key lookup.
  *
  *     h = { "a" => 100, "b" => 200 }

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]