Method: Concurrent::MutableStruct#values

Defined in:
lib/concurrent-ruby/concurrent/mutable_struct.rb

#valuesArray Also known as: to_a

Returns the values for this struct as an Array.

Returns:

  • (Array)

    the values for this struct



51
52
53
# File 'lib/concurrent-ruby/concurrent/mutable_struct.rb', line 51

def values
  synchronize { ns_values }
end