module Concurrent::MutableStruct
def select(&block)
-
(Array)
- an array containing each value for which the block returns true
Other tags:
- Yieldparam: value - each struct value (in order)
Other tags:
- Yield: - the operation to be performed on each struct member
def select(&block) return enum_for(:select) unless block_given? synchronize { ns_select(&block) } end