v1_8_7_330 - Show latest stable - 0 notes - Class: CSV::StreamBuf
[](idx, n = nil) public

get a char or a partial string from the stream. idx: index of a string to specify a start point of a string to get. unlike String instance, idx < 0 returns nil. n: size of a string to get. returns char at idx if n == nil. returns a partial string, from idx to (idx + n) if n != nil. at EOF, the string size could not equal to arg n.

Show source
Register or log in to add new notes.