Method: DBI::Row#set_values
- Defined in:
- lib/dbi/row.rb
#set_values(new_values) ⇒ Object
Replaces the contents of the internal array with new_values. elements are type converted at this time.
74 75 76 |
# File 'lib/dbi/row.rb', line 74 def set_values(new_values) @arr.replace(convert_types(new_values)) end |