Skip to content

End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

CSV::Row#deconstruct

row.deconstruct → array

Returns the new Array suitable for pattern matching containing the values of the row.

See also #[]= #deconstruct_keys #[] #delete also in 3.3 · 3.1