732件ヒット
[1-100件を表示]
(0.166秒)
ライブラリ
- psych (460)
-
rubygems
/ commands / build _ command (11) -
rubygems
/ config _ file (11) -
rubygems
/ exceptions (11) -
rubygems
/ package / tar _ input (11) -
rubygems
/ specification (33) -
yaml
/ dbm (143) -
yaml
/ store (19)
クラス
-
Gem
:: Commands :: BuildCommand (11) -
Gem
:: ConfigFile (11) -
Gem
:: Package :: TarInput (11) -
Gem
:: Specification (33) - Object (22)
-
Psych
:: Handler (77) -
Psych
:: Nodes :: Document (11) -
Psych
:: Nodes :: Mapping (11) -
Psych
:: Nodes :: Node (33) -
Psych
:: Nodes :: Sequence (11) -
Psych
:: ScalarScanner (11) -
Psych
:: Visitors :: YAMLTree (110) -
YAML
:: DBM (143) -
YAML
:: Store (19)
キーワード
- << (11)
- Alias (11)
- BadAlias (11)
- EndOfYAMLException (11)
-
LIBYAML
_ VERSION (11) - TreeBuilder (11)
- VERSION (11)
- YAMLTree (11)
- [] (11)
- alias (11)
- delete (11)
-
delete
_ if (11) -
each
_ pair (11) -
end
_ document (11) - fetch (11)
- finish (11)
- finished (11)
- finished? (11)
-
from
_ yaml (11) - index (11)
- invert (11)
- irb (11)
- key (11)
-
libyaml
_ version (11) - load (14)
-
load
_ file (22) -
load
_ gemspec (11) -
load
_ stream (22) - new (63)
-
normalize
_ yaml _ input (11) - parse (11)
-
parse
_ file (11) -
psych
_ to _ yaml (11) -
psych
_ y (11) - push (11)
- reject (11)
-
ruby 1
. 8 . 2 feature (11) -
rubygems
/ commands / specification _ command (11) -
safe
_ load (17) - scalar (11)
- select (11)
- shift (11)
- start (11)
-
start
_ document (11) -
start
_ mapping (11) -
start
_ sequence (11) -
start
_ stream (11) - started (11)
- started? (11)
- tag (11)
-
to
_ a (11) -
to
_ yaml (22) - tokenize (11)
- tree (11)
- y (11)
- yaml? (11)
-
yaml
_ initialize (11)
検索結果
先頭5件
-
irb (26126.0)
-
irb は Interactive Ruby の略です。 irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。
...irb は Interactive Ruby の略です。
irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。
=== irb の使い方
Ruby さえ知っていれば irb を使うのは簡単です。
irb コマンドを実行すると、以下のようなプロン......。
$ irb
irb(main):001:0>
あとは Ruby の式を入力するだけで、その式が実行され、結果が表示されます。
irb(main):001:0> 1+2
3
irb(main):002:0> class Foo
irb(main):003:1> def foo
irb(main):004:2> print 1
irb(main):005:2> end
irb(main):006:1>......: false, :to_s, :raw
出力結果を to_s したものを表示します。
: true, :p, :inspect
出力結果を inspect したものを表示します。
: :pp, :pretty_inspect
出力結果を pretty_inspect したものを表示します。
: :yaml, :YAML
出力結果を YAML 形... -
Psych
:: Nodes :: Node # yaml(io=nil , options={}) -> String | IO (24524.0) -
AST を YAML ドキュメントに変換します。
...AST を YAML ドキュメントに変換します。
io に IO オブジェクトを指定した場合は、その
オブジェクトに変換後のドキュメントが書き込まれます。
この場合は io を返り値として返します。
io を省略した(nil を指定した)場合......す。
options には以下が指定できます。
: :version
YAML document に付加するバージョンを [major, minor] という配列、
もしくは文字列で指定します
: :header
出力にヘッダを付けるかどうかを真偽値で指定します
: :indentation
イン......ントのレベルを 1 から 9 までの整数で指定します
: :canonical
出力の style が canonical であるかどうかを真偽値で指定します
: :line_width
「好ましい」行幅を整数値で指定します
@param io 書き込み先の IO
@param options オプション... -
Gem
:: Specification . normalize _ yaml _ input(input) -> String (18317.0) -
YAML 形式の gemspec を正しくフォーマットします。
...
YAML 形式の gemspec を正しくフォーマットします。
@param input 文字列か IO オブジェクトを指定します。... -
Gem
:: Specification # yaml _ initialize (18301.0) -
@todo
@todo -
Psych
. libyaml _ version -> [Integer , Integer , Integer] (18300.0) -
libyaml のバージョンを返します。
...libyaml のバージョンを返します。
[major, minor patch-level] という 3 つの整数からなる配列を返します。
@see Psych::LIBYAML_VERSION... -
Psych
:: LIBYAML _ VERSION -> String (18300.0) -
libyaml のバージョン。
...libyaml のバージョン。... -
Gem
:: EndOfYAMLException (18016.0) -
YAML データが不正である場合に使用する例外です。
...YAML データが不正である場合に使用する例外です。... -
Gem
:: Specification . from _ yaml(input) -> Gem :: Specification (15323.0) -
YAML ファイルから gemspec をロードします。
...
YAML ファイルから gemspec をロードします。
YAML ファイルから Gem::Specification をロードすると、通常の Ruby オブジェクトの
初期化ルーチン (#initialize) を通りません。このメソッドは初期化ルーチンの一部を実行し、
gemspec の......バージョンチェックも行います。
@param input 文字列か IO オブジェクトを指定します。... -
Gem
:: ConfigFile # load _ file(file _ name) -> object (15322.0) -
与えられたファイル名のファイルが存在すれば YAML ファイルとしてロードします。
...与えられたファイル名のファイルが存在すれば YAML ファイルとしてロードします。
@param file_name YAML 形式で記述された設定ファイル名を指定します。... -
Gem
:: Commands :: BuildCommand # yaml?(filename) -> bool (15317.0) -
与えられたファイル名を持つファイルが yaml ファイルである場合に真を返します。
...与えられたファイル名を持つファイルが yaml ファイルである場合に真を返します。
@param filename ファイル名を指定します。...