このマニュアルは既にメンテナンスが終了したバージョンの Ruby を対象としています。 最新版のマニュアルへ

Ruby 2.3.0 リファレンスマニュアル

singleton method Psych::Emitter.new

new(io) -> Psych::Emitter[permalink][rdoc]

Emitter オブジェクトを生成して返します。

[PARAM] io:
出力先の IO オブジェクト