Ruby 1.9.3 リファレンスマニュアル > ライブラリ一覧 > psych/handlerライブラリ > Psych::Handlerクラス > start_stream

instance method Psych::Handler#start_stream

start_stream(encoding) [added by psych/handler]

[TODO]

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+.

class Psych::Handler