Skip to Content Skip to Search
Namespace
Methods
S

Instance Public methods

start(encoding = Nodes::Stream::UTF8)

Start streaming using encoding

# File ruby/ext/psych/lib/psych/streaming.rb, line 18
def start encoding = Nodes::Stream::UTF8
  super.tap { yield self if block_given?  }
ensure
  finish if block_given?
end