mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[Doc] Add Hash#value? into call-seq (#4293)
This commit is contained in:
parent
d9a5281363
commit
92545977de
Notes:
git
2021-04-15 11:15:03 +09:00
Merged-By: zzak
1 changed files with 3 additions and 0 deletions
3
hash.c
3
hash.c
|
@ -3669,6 +3669,9 @@ rb_hash_search_value(VALUE key, VALUE value, VALUE arg)
|
|||
/*
|
||||
* call-seq:
|
||||
* hash.has_value?(value) -> true or false
|
||||
* hash.value?(value) -> true or false
|
||||
*
|
||||
* Method #value? is an alias for \#has_value?.
|
||||
*
|
||||
* Returns +true+ if +value+ is a value in +self+, otherwise +false+.
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue