diff --git a/lib/csv.rb b/lib/csv.rb index 170ab04c..20664d0f 100644 --- a/lib/csv.rb +++ b/lib/csv.rb @@ -1489,12 +1489,12 @@ def generate_line(row, **options) # --- # # Returns the \String generated from an - # CSV.generate_lines(['foo', '0'], ['bar', '1'], ['baz', '2']) # => "foo,0\nbar,1\nbaz.2\n" + # CSV.generate_lines([['foo', '0'], ['bar', '1'], ['baz', '2']]) # => "foo,0\nbar,1\nbaz,2\n" # # --- # # Raises an exception - # # Raises NoMethodError (undefined method `find' for :foo:Symbol) + # # Raises NoMethodError (undefined method `each' for :foo:Symbol) # CSV.generate_lines(:foo) # def generate_lines(rows, **options)