Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more

In Files

  • csv.rb

Parent

Methods

CSV::StringReader

Public Class Methods

new(string, fs = ',', rs = nil) click to toggle source
 
               # File csv.rb, line 592
def initialize(string, fs = ',', rs = nil)
  @fs = fs
  @rs = rs
  @dev = string
  @idx = 0
  if @dev[0, 3] == "\xef\xbb\xbf"
    @idx += 3
  end
end