method
    
    new
 
  
      Ruby latest stable (v2_5_5)
 - 
    0 notes - 
    Class: CSV::Row
    
  
  
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378 (0)
- 1_9_2_180 (0)
- 1_9_3_125 (0)
- 1_9_3_392 (0)
- 2_1_10 (0)
- 2_2_9 (0)
- 2_4_6 (0)
- 2_5_5 (0)
- 2_6_3 (0)
- What's this?
new(headers, fields, header_row = false)
  public
  Construct a new CSV::Row from headers and fields, which are expected to be Arrays. If one Array is shorter than the other, it will be padded with nil objects.
The optional header_row parameter can be set to true to indicate, via CSV::Row.header_row?() and CSV::Row.field_row?(), that this is a header row. Otherwise, the row is assumes to be a field row.
A CSV::Row object supports the following Array methods through delegation:
- 
empty?() 
- 
length() 
- 
size() 

 RSpec
RSpec Ruby on Rails
Ruby on Rails Ruby
Ruby 
   
   = private
 = private = protected
 = protected
  