るりまサーチ

最速Rubyリファレンスマニュアル検索!
469件ヒット [1-100件を表示] (0.081秒)

別のキーワード

  1. _builtin at
  2. _builtin values_at
  3. time at
  4. dbm values_at
  5. irb irb_at_exit

検索結果

<< 1 2 3 ... > >>

Rake::Application#init(app_name = &#39;rake&#39;) (21108.0)

コマンドラインオプションとアプリケーション名を初期化します。

...ンドラインオプションとアプリケーション名を初期化します。

//emlist[例][ruby]{
# Rakefile での記載例とする

task default: :test
task :test

Rake.application.name # => "rake"
Rake.application.init("MyApp") # => ["default"]
Rake.application.name # => "MyApp"
//}...

Gem::GemPathSearcher#init_gemspecs -> [Gem::Specification] (9202.0)

インストール済みの Gem の Gem::Specification のリストを返します。

...インストール済みの Gem の Gem::Specification のリストを返します。

リストはアルファベット順かつバージョンの新しい順にソートされています。...

MiniTest::Assertions#assert_operator(operand1, operator, operand2, message = nil) -> true (9201.0)

与えられたオブジェクトから作成する式を評価した結果が真を返す場合、検査にパスしたことになります。

...が真を返す場合、検査にパスしたことになります。

@param operand1 任意のオブジェクトを指定します。

@param operator 真偽値を返すメソッドを指定します。

@param operand2 任意のオブジェクトを指定します。

@param message 検査に失...
...
結果を使用します。

@raise MiniTest::Assertion 与えられたオブジェクトから作成する式を評価した結果が真でない場合に発生します。

例:
# 以下の二つは同じ
assert_operator('aaa', :==, 'aaa', 'message')
assert('aaa'.__send...

RDoc::Generator::Darkfish#initialize(store, options) -> RDoc::Generator::Darkfish (9201.0)

RDoc::Generator::Darkfish オブジェクトを初期化します。

...RDoc::Generator::Darkfish オブジェクトを初期化します。

@param store RDoc::Store オブジェクトを指定します。

@param options RDoc::Options オブジェクトを指定します。...

RDoc::Generator::RI#initialize(store, options) -> RDoc::Generator::RI (9201.0)

RDoc::Generator::RI オブジェクトを初期化します。

...RDoc::Generator::RI オブジェクトを初期化します。

@param store RDoc::Store オブジェクトを指定します。

@param options RDoc::Options オブジェクトを指定します。...

絞り込み条件を変える

Float#finite? -> bool (9101.0)

数値が ∞, -∞, あるいは NaN でない場合に true を返します。 そうでない場合に false を返します。

...数値が ∞, -∞, あるいは NaN でない場合に true を返します。
そうでない場合に false を返します。

//emlist[例][ruby]{
3.14.finite? # => true
inf = 1.0/0
inf.finite? # => false
//}...

Float#infinite? -> 1 | -1 | nil (9101.0)

数値が +∞ のとき 1、-∞のとき -1 を返します。それ以外は nil を返 します。

...数値が +∞ のとき 1、-∞のとき -1 を返します。それ以外は nil を返
します。

//emlist[例][ruby]{
inf = 1.0/0
p inf # => Infinity
p inf.infinite? # => 1

inf = -1.0/0
p inf # => -Infinity
p inf.infinite? # => -1
//}...

Gem::Specification#yaml_initialize (9101.0)

@todo

@todo

JSON::State#buffer_initial_length -> Integer (9101.0)

This integer returns the current initial length of the buffer.

...This integer returns the current initial length of the buffer....

JSON::State#buffer_initial_length=(length) (9101.0)

This sets the initial length of the buffer to length, if length > 0, otherwise its value isn't changed.

...This sets the initial length of the buffer to length, if length > 0,
otherwise its value isn't changed....

絞り込み条件を変える

<< 1 2 3 ... > >>