Class: IO

Inherits:
Object
  • Object
show all
Defined in:
lib/xqsr3/extensions/io/writelines.rb

Class Method Summary collapse

Class Method Details

.writelines(path, contents, lineSep = nil, columnSep = nil) ⇒ Object

Extends IO class with the ::Xqsr3::IO::write_lines method



59
60
61
62
# File 'lib/xqsr3/extensions/io/writelines.rb', line 59

def self.writelines(path, contents, lineSep = nil, columnSep = nil)

	::Xqsr3::IO.writelines path, contents, line_separator: lineSep, column_separator: columnSep, eol_lookahead_limit: 20
end