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

singleton method Psych::Parser.new

new(handler = Handler.new) -> Psych::Parser [added by psych/parser]

[TODO]

Creates a new Psych::Parser instance with +handler+. YAML events will be called on +handler+. See Psych::Parser for more details.

class Psych::Parser