Project

General

Profile

Bug #10246

Updated by nobu (Nobuyoshi Nakada) over 9 years ago

I've detailed repro steps here: http://railsonmaui-octopress.dev/blog/2014/09/15/pry-ruby-array-zip-csv-and-the-hash-constructor/ 

 ~~~ 
 


 [12] (pry) main: 0> csv = CSV.parse(csv_string, headers: col_headers) 
 (pry) output error: #<NoMethodError: undefined method `table' for #<Object:0x007fdbfc8d5588>> 
 ~~~ 

 The CSV docs clearly state that the initialize method takes an option :headers 

Back