Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
select 'returns a true value'
  • Loading branch information
jeffsaracco committed Aug 25, 2012
commit af76190cf83f024ee15c23bb40db5201f4d12928
2 changes: 1 addition & 1 deletion array.c
Original file line number Diff line number Diff line change
Expand Up @@ -2409,7 +2409,7 @@ rb_ary_values_at(int argc, VALUE *argv, VALUE ary)
* ary.select -> Enumerator
*
* Returns a new array containing all elements of <i>ary</i>
* for which <em>block</em> returns true.
* for which <em>block</em> returns a true value.
* (see also <code>Enumerable#select</code>).
*
* If no block is given, an enumerator is returned instead.
Expand Down
2 changes: 1 addition & 1 deletion enum.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ find_all_i(VALUE i, VALUE ary, int argc, VALUE *argv)
* enum.select -> an_enumerator
*
* Returns an array containing all elements of <i>enum</i>
* for which <em>block</em> returns true.
* for which <em>block</em> returns a true value.
* (see also <code>Enumerable#reject</code>).
*
* If no block is given, an enumerator is returned instead.
Expand Down