1196件ヒット
[1-100件を表示]
(0.016秒)
ライブラリ
- 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)
- y (12)
- yaml (12)
-
yaml
_ as (4)
検索結果
先頭5件
-
Object
# psych _ to _ yaml(options = {}) -> String (14126.0) -
オブジェクトを YAML document に変換します。
...ョンを指定できます。
Psych.dump と同じなので詳しくはそちらを参照してください。
syck に to_yaml メソッドがあるため、
psych_to_yaml が別名として定義されています。将来的に
syck が廃止された場合 psych_to_yaml は廃止
される予......定であるため、特別の事情がない限り to_yaml を用いてください。
@param options 出力オプション
@see Psych.dump... -
Kernel
# psych _ y(*objects) -> nil (14114.0) -
objects を YAML document として標準出力に出力します。
...のメソッドは irb 上でのみ定義されます。
syck に y メソッドがあるため、
psych_y が別名として定義されています。将来的に
syck が廃止された場合 psych_y は廃止
される予定であるため、特別の事情がない限り y を用いてくだ... -
Module
# psych _ yaml _ as(tag) -> () (14102.0) -
クラスと tag の間を関連付けます。
クラスと tag の間を関連付けます。
これによって tag 付けされた YAML ドキュメントを Ruby のオブジェクトに
変換したりその逆をしたりすることができます。
この method は deprecated です。 Object.yaml_tag を
かわりに使ってください。
@param tag 対象のクラスに関連付けるタグの文字列 -
Psych
:: Stream # start(encoding = Psych :: Nodes :: Stream :: UTF8) -> Psych :: Stream (11211.0) -
Ruby オブジェクトを YAML document に変換するための準備をします。
...Ruby オブジェクトを YAML document に変換するための準備をします。
変換された document は Psych::Stream.new で指定した
出力先に出力されます。
finish を呼び出すことで出力が完了します(finish を呼び出さないと
最後まで出力され... -
Psych
:: Stream # start(encoding = Psych :: Nodes :: Stream :: UTF8) {|em| . . . } -> Psych :: Stream (11211.0) -
Ruby オブジェクトを YAML document に変換するための準備をします。
...Ruby オブジェクトを YAML document に変換するための準備をします。
変換された document は Psych::Stream.new で指定した
出力先に出力されます。
finish を呼び出すことで出力が完了します(finish を呼び出さないと
最後まで出力され... -
Psych
:: Visitors :: YAMLTree # start(encoding = Nodes :: Stream :: UTF8) -> Psych :: Nodes :: Stream (11126.0) -
Ruby オブジェクトから YAML AST への変換のための準備をします。
...す。
Psych::Visitors::YAMLTree#push が呼び出されたとき、
まだこのメソッドが呼び出されていなければ push メソッドがこの
メソッドを呼び出し、変換の準備をします。
encoding には以下のいずれかを指定できます。
* Psych::Nodes::......Node::UTF8
* Psych::Nodes::Node::UTF16BE
* Psych::Nodes::Node::UTF16LE
@param encoding YAML AST に設定するエンコーディング... -
Psych
:: Parser # mark -> Psych :: Parser :: Mark (11118.0) -
パーサが現在読み込んでいる入力上の位置を Psych::Parser::Mark オブジェクト で返します。
...パーサが現在読み込んでいる入力上の位置を Psych::Parser::Mark オブジェクト
で返します。... -
Psych
:: Parser # handler -> Psych :: Handler (11108.0) -
セットされているイベントハンドラを返します。
...セットされているイベントハンドラを返します。
@see Psych::Parser#handler=... -
Psych
:: TreeBuilder # root -> Psych :: Nodes :: Stream (11108.0) -
AST の root を返します。
...AST の root を返します。
@see Psych::Nodes::Stream...