X7ROOT File Manager
Current Path:
/opt/alt/ruby34/share/gems/gems/csv-3.3.2/doc/csv/options/parsing
opt
/
alt
/
ruby34
/
share
/
gems
/
gems
/
csv-3.3.2
/
doc
/
csv
/
options
/
parsing
/
📁
..
📄
converters.rdoc
(1.46 KB)
📄
empty_value.rdoc
(400 B)
📄
field_size_limit.rdoc
(1.16 KB)
📄
header_converters.rdoc
(1.44 KB)
📄
headers.rdoc
(1.44 KB)
📄
liberal_parsing.rdoc
(1.5 KB)
📄
nil_value.rdoc
(351 B)
📄
return_headers.rdoc
(568 B)
📄
skip_blanks.rdoc
(784 B)
📄
skip_lines.rdoc
(1.06 KB)
📄
strip.rdoc
(363 B)
📄
unconverted_fields.rdoc
(976 B)
Editing: skip_blanks.rdoc
====== Option +skip_blanks+ Specifies a boolean that determines whether blank lines in the input will be ignored; a line that contains a column separator is not considered to be blank. Default value: CSV::DEFAULT_OPTIONS.fetch(:skip_blanks) # => false See also option {skiplines}[#class-CSV-label-Option+skip_lines]. For examples in this section: str = <<-EOT foo,0 bar,1 baz,2 , EOT Using the default, +false+: ary = CSV.parse(str) ary # => [["foo", "0"], [], ["bar", "1"], ["baz", "2"], [], [nil, nil]] Using +true+: ary = CSV.parse(str, skip_blanks: true) ary # => [["foo", "0"], ["bar", "1"], ["baz", "2"], [nil, nil]] Using a truthy value: ary = CSV.parse(str, skip_blanks: :foo) ary # => [["foo", "0"], ["bar", "1"], ["baz", "2"], [nil, nil]]
Upload File
Create Folder