77件ヒット
[1-77件を表示]
(0.081秒)
ライブラリ
- psych (55)
-
rubygems
/ specification (22)
クラス
-
Gem
:: Specification (22) -
Psych
:: Nodes :: Document (11) -
Psych
:: Visitors :: YAMLTree (11)
モジュール
- Psych (33)
キーワード
- dump (22)
-
from
_ yaml (11) -
libyaml
_ version (11) - new (22)
-
normalize
_ yaml _ input (11)
検索結果
先頭5件
- Psych
. libyaml _ version -> [Integer , Integer , Integer] - Gem
:: Specification . from _ yaml(input) -> Gem :: Specification - Gem
:: Specification . normalize _ yaml _ input(input) -> String - Psych
:: Visitors :: YAMLTree . new(options = {} , emitter = Psych :: TreeBuilder . new , ss = Psych :: ScalarScanner . new) -> Psych :: Visitors :: YAMLTree - Psych
. dump(o , io , options = {}) -> ()
-
Psych
. libyaml _ version -> [Integer , Integer , Integer] (12307.0) -
libyaml のバージョンを返します。
...libyaml のバージョンを返します。
[major, minor patch-level] という 3 つの整数からなる配列を返します。
@see Psych::LIBYAML_VERSION... -
Gem
:: Specification . from _ yaml(input) -> Gem :: Specification (9324.0) -
YAML ファイルから gemspec をロードします。
...
YAML ファイルから gemspec をロードします。
YAML ファイルから Gem::Specification をロードすると、通常の Ruby オブジェクトの
初期化ルーチン (#initialize) を通りません。このメソッドは初期化ルーチンの一部を実行し、
gemspec の... -
Gem
:: Specification . normalize _ yaml _ input(input) -> String (9218.0) -
YAML 形式の gemspec を正しくフォーマットします。
...
YAML 形式の gemspec を正しくフォーマットします。
@param input 文字列か IO オブジェクトを指定します。... -
Psych
:: Visitors :: YAMLTree . new(options = {} , emitter = Psych :: TreeBuilder . new , ss = Psych :: ScalarScanner . new) -> Psych :: Visitors :: YAMLTree (3313.0) -
YAMLTree オブジェクトを生成します。
...
YAMLTree オブジェクトを生成します。
options には構築される YAML AST に設定されるオプション設定を指定します。
Psych.dump と同じオプションが指定できます。
emitter には AST の構築に使われる Psych::TreeBuilder オブジェクト
を渡......。
ss は Ruby の String が YAML document 上で quote が必要かどうか
を判定するための Psych::ScalarScanner オブジェクトを渡します。
emitter, ss は通常デフォルトのものから変える必要はないでしょう。
@param options オプション
@param emitt... -
Psych
. dump(o , io , options = {}) -> () (259.0) -
Ruby のオブジェクト o を YAML ドキュメントに変換します。
...Ruby のオブジェクト o を YAML ドキュメントに変換します。
io に IO オブジェクトを指定した場合は、変換されたドキュメントが
その IO に書き込まれます。
指定しなかった場合は変換されたドキュメントが文字列としてメソ......ッドの返り値と
なります。
options で出力に関するオプションを以下の指定できます。
: :version
YAML document に付加するバージョンを [major, minor] という配列、
もしくは文字列で指定します
: :header
出力にヘッダを付けるか......どうかを真偽値で指定します
: :indentation
インデントのレベルを 1 から 9 までの整数で指定します
: :canonical
出力の style が canonical であるかどうかを真偽値で指定します
: :line_width
「好ましい」行幅を整数値で指定します... -
Psych
. dump(o , options = {}) -> String (259.0) -
Ruby のオブジェクト o を YAML ドキュメントに変換します。
...Ruby のオブジェクト o を YAML ドキュメントに変換します。
io に IO オブジェクトを指定した場合は、変換されたドキュメントが
その IO に書き込まれます。
指定しなかった場合は変換されたドキュメントが文字列としてメソ......ッドの返り値と
なります。
options で出力に関するオプションを以下の指定できます。
: :version
YAML document に付加するバージョンを [major, minor] という配列、
もしくは文字列で指定します
: :header
出力にヘッダを付けるか......どうかを真偽値で指定します
: :indentation
インデントのレベルを 1 から 9 までの整数で指定します
: :canonical
出力の style が canonical であるかどうかを真偽値で指定します
: :line_width
「好ましい」行幅を整数値で指定します... -
Psych
:: Nodes :: Document . new(version=[] , tag _ directives=[] , implicit=false) -> Psych :: Nodes :: Document (213.0) -
Document オブジェクトを生成します。
...Document オブジェクトを生成します。
version にはドキュメントのバージョンを指定します。
[major, minor] という配列で指定します。
tag_directives には tag directive の配列を指定します。
それぞれの tag は [prefix, suffix] という文字......真偽値で指定します。
@param version YAML ドキュメントのバージョン
@param tag_directives tag directive の配列
@param implicit ドキュメントが implicit に始まっているかどうか
=== 例
以下の例では、YAML 1.1 のドキュメントで、
tag directive...