method
new
new(string="")
public
Hide source
# File lib/yaml/stringio.rb, line 9 def initialize(string="") @string=string @pos=0 @eof=(string.size==0) end