1196件ヒット
[201-300件を表示]
(0.125秒)
ライブラリ
- psych (1196)
クラス
- Module (8)
- Object (24)
-
Psych
:: Emitter (72) -
Psych
:: Handler (144) -
Psych
:: Nodes :: Alias (24) -
Psych
:: Nodes :: Document (108) -
Psych
:: Nodes :: Mapping (96) -
Psych
:: Nodes :: Node (96) -
Psych
:: Nodes :: Scalar (144) -
Psych
:: Nodes :: Sequence (96) -
Psych
:: Nodes :: Stream (24) -
Psych
:: Parser (48) -
Psych
:: Parser :: Mark (36) -
Psych
:: ScalarScanner (24) -
Psych
:: Stream (36) -
Psych
:: SyntaxError (72) -
Psych
:: TreeBuilder (12) -
Psych
:: Visitors :: YAMLTree (108)
モジュール
- Kernel (24)
キーワード
- << (12)
- alias (12)
- anchor (48)
- anchor= (48)
- canonical (12)
- canonical= (12)
- children (12)
- column (24)
- context (12)
- each (24)
- empty (12)
- encoding (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)
- handler= (12)
- implicit (36)
- implicit= (36)
-
implicit
_ end (12) -
implicit
_ end= (12) - indentation (12)
- indentation= (12)
- index (12)
- line (24)
-
line
_ width (12) -
line
_ width= (12) - mark (12)
- offset (12)
- parse (12)
-
parse
_ time (12) - plain (12)
- plain= (12)
- problem (12)
-
psych
_ to _ yaml (12) -
psych
_ y (12) -
psych
_ yaml _ as (4) - push (12)
- quoted (12)
- quoted= (12)
- root (24)
- scalar (12)
- start (36)
-
start
_ document (12) -
start
_ mapping (12) -
start
_ sequence (12) -
start
_ stream (12) - started (12)
- started? (12)
- streaming? (12)
- style (36)
- style= (36)
- tag (48)
- tag= (36)
-
tag
_ directives (12) -
tag
_ directives= (12) -
to
_ ruby (12) -
to
_ yaml (24) - tokenize (12)
- transform (12)
- tree (12)
- value (12)
- value= (12)
- version (12)
- version= (12)
- yaml (12)
-
yaml
_ as (4)
検索結果
先頭5件
-
Psych
:: Visitors :: YAMLTree # start(encoding = Nodes :: Stream :: UTF8) -> Psych :: Nodes :: Stream (14226.0) -
Ruby オブジェクトから YAML AST への変換のための準備をします。
...Ruby オブジェクトから YAML AST への変換のための準備をします。
Psych::Visitors::YAMLTree#push が呼び出されたとき、
まだこのメソッドが呼び出されていなければ push メソッドがこの
メソッドを呼び出し、変換の準備をします。
e......ncoding には以下のいずれかを指定できます。
* Psych::Nodes::Node::UTF8
* Psych::Nodes::Node::UTF16BE
* Psych::Nodes::Node::UTF16LE
@param encoding YAML AST に設定するエンコーディング... -
Psych
:: Parser # mark -> Psych :: Parser :: Mark (14218.0) -
パーサが現在読み込んでいる入力上の位置を Psych::Parser::Mark オブジェクト で返します。
...パーサが現在読み込んでいる入力上の位置を Psych::Parser::Mark オブジェクト
で返します。... -
Psych
:: Parser # handler -> Psych :: Handler (14208.0) -
セットされているイベントハンドラを返します。
...セットされているイベントハンドラを返します。
@see Psych::Parser#handler=... -
Psych
:: TreeBuilder # root -> Psych :: Nodes :: Stream (14208.0) -
AST の root を返します。
...AST の root を返します。
@see Psych::Nodes::Stream... -
Psych
:: Visitors :: YAMLTree # finish -> Psych :: Nodes :: Stream|nil (14208.0) -
変換を終了し、構築した AST を返します。
...変換を終了し、構築した AST を返します。
このメソッドは2回呼び出さないでください。
@see Psych::Visitors::YAMLTree#tree... -
Psych
:: Visitors :: YAMLTree # tree -> Psych :: Nodes :: Stream|nil (14208.0) -
変換を終了し、構築した AST を返します。
...変換を終了し、構築した AST を返します。
内部で finish を呼び出し、変換処理を終了します。
このメソッドを2回以上呼ぶと、2回目以降は nil を返します。
@see Psych::Visitors::YAMLTree#finish... -
Psych
:: Nodes :: Document # root -> Psych :: Nodes :: Node (14202.0) -
ルートノードを返します。
ルートノードを返します。 -
Psych
:: Nodes :: Node # children -> [Psych :: Nodes :: Node] (14202.0) -
子ノードの集合を配列で返します。
子ノードの集合を配列で返します。 -
Psych
:: Handler # scalar(value , anchor , tag , plain , quoted , style) -> () (14131.0) -
スカラー値を見付けたときに呼び出されます。
...plain style であるかどうか、quoted は quoted style であるかどうか
が渡されます。style には node の style が整数値で渡されます。
style は次の値のいずれかです。
* Psych::Nodes::Scalar::PLAIN
* Psych::Nodes::Scalar::SINGLE_QUOTED
* Psych::Nodes::S......::DOUBLE_QUOTED
* Psych::Nodes::Scalar::LITERAL
* Psych::Nodes::Scalar::FOLDED
必要に応じてこのメソッドを override してください。
@param value スカラー値
@param anchor 関連付けられた anchor の名前
@param tag タグ名
@param plain plain style であるかど......ted quoted style であるかどうか
@param style スカラーのスタイル
=== 例
以下の YAML ドキュメントには多くのパターンのスカラーが含まれています。
---
- !str "foo"
- &anchor fun
- many
lines
- |
many
newlines
この YAML ドキュ...