method

start_stream

v1_9_3_392 - Show latest stable - Class: Psych::Handler
start_stream(encoding)
public

Called with encoding when the YAML stream starts. This method is called once per stream. A stream may contain multiple documents.

See the constants in Psych::Parser for the possible values of encoding.