Ruby CSV::StreamBuf Functions

EditRocket provides the following information on CSV::StreamBuf functions in the Ruby source code builder.

drop(n) - drop a string from the stream. returns dropped size. at EOF, dropped size might not equals to arg n. Once you drop the head of the stream, access to the dropped part via [] or get returns nil.

get(idx, n = nil) - "Alias for #[]"

is_eos?() -

new() - "WARN: Do not instantiate this class directly. Define your own class which derives this class and define 'read' instance method."