module Concurrent::MutableStruct
def each_pair(&block)
- Yieldparam: value - each struct value (in order)
Yieldparam: member - each struct member (in order)
Other tags:
- Yield: - the operation to be performed on each struct member/value pair
def each_pair(&block) return enum_for(:each_pair) unless block_given? synchronize { ns_each_pair(&block) } end