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

ruby-changes:28222

From: marcandre <ko1@a...>
Date: Sat, 13 Apr 2013 13:31:26 +0900 (JST)
Subject: [ruby-changes:28222] marcandRe: r40274 (trunk): * array.c: rdoc tweak for include?

marcandre	2013-04-13 13:31:15 +0900 (Sat, 13 Apr 2013)

  New Revision: 40274

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

  Log:
    * array.c: rdoc tweak for include?

  Modified files:
    trunk/array.c

Index: array.c
===================================================================
--- array.c	(revision 40273)
+++ array.c	(revision 40274)
@@ -3658,7 +3658,7 @@ rb_ary_hash(VALUE ary) https://github.com/ruby/ruby/blob/trunk/array.c#L3658
  *     ary.include?(object)   -> true or false
  *
  *  Returns +true+ if the given +object+ is present in +self+ (that is, if any
- *  object <code>==</code> +object+), otherwise returns +false+.
+ *  element <code>==</code> +object+), otherwise returns +false+.
  *
  *     a = [ "a", "b", "c" ]
  *     a.include?("b")   #=> true

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

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