ruby/lib/csv/input_record_separator.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 строки
277 B
Ruby
Исходник Обычный вид История

require "English"
require "stringio"
class CSV
module InputRecordSeparator
class << self
2022-12-09 02:46:14 +03:00
if RUBY_VERSION >= "3.0.0"
def value
"\n"
end
else
def value
$INPUT_RECORD_SEPARATOR
end
end
end
end
end