class Psych::Parser
クラスの継承リスト: Psych::Parser < Object < Kernel < BasicObject
要約
インスタンスメソッド
external_encoding=(encoding)
-
[TODO]
自身のエンコーディングを encoding で指定したものに設定します。
- [PARAM] encoding:
- [EXCEPTION] Psych::Exception:
- 2 回以上エンコーディングを指定した場合に発生します。
mark -> Psych::Parser::Mark
-
[TODO]
Returns a Psych::Parser::Mark object that contains line, column, and index information.
parse(yaml)
-
[TODO]
Parse the YAML document contained in yaml. Events will be called on the handler set on the parser instance.
[SEE_ALSO] Psych::Parser, Psych::Parser#handler
定数
ANY
-
[TODO]
Any encoding: Let the parser choose the encoding
UTF16BE
-
[TODO]
UTF-16-BE Encoding with BOM
UTF16LE
-
[TODO]
UTF-16-LE Encoding with BOM
UTF8
-
[TODO]
UTF-8 Encoding
class Psych::Parser