1514件ヒット
[1501-1514件を表示]
(0.017秒)
別のキーワード
種類
- インスタンスメソッド (884)
- 特異メソッド (342)
- 定数 (264)
- クラス (24)
クラス
- Module (8)
- Object (36)
-
Psych
:: Emitter (48) -
Psych
:: Handler (144) -
Psych
:: Nodes :: Alias (24) -
Psych
:: Nodes :: Document (72) -
Psych
:: Nodes :: Mapping (96) -
Psych
:: Nodes :: Node (96) -
Psych
:: Nodes :: Scalar (156) -
Psych
:: Nodes :: Sequence (96) -
Psych
:: Nodes :: Stream (72) -
Psych
:: Parser (96) -
Psych
:: Parser :: Mark (36) -
Psych
:: ScalarScanner (24) -
Psych
:: Stream (48) -
Psych
:: SyntaxError (72) -
Psych
:: TreeBuilder (24) -
Psych
:: Visitors :: YAMLTree (96)
キーワード
- ANY (60)
- BLOCK (24)
-
DOUBLE
_ QUOTED (12) - FLOW (24)
- FOLDED (12)
-
LIBYAML
_ VERSION (12) - LITERAL (12)
- PLAIN (12)
-
SINGLE
_ QUOTED (12) - TreeBuilder (12)
- UTF16BE (24)
- UTF16LE (24)
- UTF8 (24)
- VERSION (12)
- YAMLTree (12)
- alias (12)
- anchor (48)
- canonical (12)
- children (12)
- column (24)
- context (12)
- dump (24)
-
dump
_ stream (12) - each (24)
- empty (12)
- encoding (12)
-
end
_ document (12) -
end
_ mapping (12) -
end
_ sequence (12) -
end
_ stream (12) - file (12)
- finish (24)
- finished (12)
- finished? (12)
- handler (12)
- implicit (36)
-
implicit
_ end (12) - indentation (12)
- index (12)
-
libyaml
_ version (12) - line (24)
-
line
_ width (12) - load (15)
-
load
_ documents (8) -
load
_ file (12) -
load
_ stream (24) - mark (12)
- new (132)
- offset (12)
- parse (24)
-
parse
_ file (12) -
parse
_ stream (24) -
parse
_ time (12) - parser (12)
- plain (12)
- problem (12)
-
psych
_ to _ yaml (12) -
psych
_ y (12) -
psych
_ yaml _ as (4) - quoted (12)
- root (24)
-
safe
_ load (19) - scalar (12)
- start (36)
-
start
_ document (12) -
start
_ mapping (12) -
start
_ sequence (12) -
start
_ stream (12) - started (12)
- started? (12)
- streaming? (12)
- style (36)
- tag (48)
-
tag
_ directives (12) -
to
_ json (12) -
to
_ ruby (12) -
to
_ yaml (24) - tokenize (12)
- transform (12)
- tree (12)
- value (12)
- version (12)
- y (12)
- yaml (12)
-
yaml
_ as (4) -
yaml
_ tag (12)
検索結果
-
Psych
:: TreeBuilder (8.0) -
YAML AST を構築するためのクラスです。
...す。
Psych::Parser.new に渡して YAML ドキュメントを YAML AST に変換する
ことができます。
また、Psych::Visitors::YAMLTree.new に渡して Ruby オブジェクト
を YAML AST に変換することもできます。
=== Example
parser = Psych::Parser.new Psych::Tree......Builder.new
parser.parse('--- foo')
parser.handler.root # => #<Psych::Nodes::Stream:0x00000001400000 ... >... -
Psych
:: Visitors :: YAMLTree (8.0) -
Ruby オブジェクトから YAML の AST を構築するためのクラスです。
...ためのクラスです。
=== 例
builder = Psych::Visitors::YAMLTree.new
builder << { :foo => 'bar' }
builder << ["baz", "bazbaz"]
builder.tree # => #<Psych::Nodes::Stream ... > A stream containing two documents
puts tree.to_yaml
# =>
# ---
# :foo: bar
# ---
# - baz
# - baz...