mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* array.c: rdoc tweak for include?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2106aa1990
commit
6e41c7c559
1 changed files with 1 additions and 1 deletions
2
array.c
2
array.c
|
@ -3658,7 +3658,7 @@ rb_ary_hash(VALUE ary)
|
||||||
* ary.include?(object) -> true or false
|
* ary.include?(object) -> true or false
|
||||||
*
|
*
|
||||||
* Returns +true+ if the given +object+ is present in +self+ (that is, if any
|
* 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 = [ "a", "b", "c" ]
|
||||||
* a.include?("b") #=> true
|
* a.include?("b") #=> true
|
||||||
|
|
Loading…
Reference in a new issue