36件ヒット
[1-36件を表示]
(0.024秒)
種類
- インスタンスメソッド (12)
- クラス (12)
- 特異メソッド (12)
ライブラリ
- psych (36)
クラス
-
Psych
:: Handler (12) -
Psych
:: Nodes :: Document (12)
検索結果
先頭3件
-
Psych
:: Handler # start _ document(version , tag _ directives , implicit) -> () (21113.0) -
YAML ドキュメントの始まりで呼び出されます。
...erlovemaking.com,2009:
--- !squee
start_document に渡される引数は以下の通りです
version # => [1, 1]
tag_directives # => tenderlovemaking.com,2009:"
implicit # => false
以下の YAML に対しては
- x
- y
start_document に渡される引数は以下の... -
Psych
:: Emitter (12.0) -
Psych::Parser でパースし、生じたイベントから YAML ドキュメントを再構築するようなハンドラです。
...ソッドの意味については Psych::Handler を参照してください。
require 'psych'
require 'stringio'
output = StringIO.new
emitter = Psych::Emitter.new(output)
emitter.start_stream(Psych::Parser::UTF8)
emitter.start_document([1, 1], [], false)
emitter.start_mapping(... -
Psych
:: Nodes :: Document . new(version=[] , tag _ directives=[] , implicit=false) -> Psych :: Nodes :: Document (12.0) -
Document オブジェクトを生成します。
...YAML 1.1 のドキュメントで、
tag directive を1つ持ち、 implicit にドキュメントが開始
している Document オブジェクトを生成しています。
Psych::Nodes::Document.new(
[1,1],
tenderlovemaking.com,2009:",
true)
@see Psych::Handler#start_document...