method

new

ruby latest stable - Class: CSV::StringReader

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

new(string, fs = ',', rs = nil)
public

No documentation available.

# File lib/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