別のキーワード
ライブラリ
- ビルトイン (11)
- bigdecimal (11)
-
minitest
/ unit (36) -
net
/ http (11) - optparse (132)
- rake (22)
-
rake
/ packagetask (11) -
rdoc
/ generator / darkfish (11) -
rdoc
/ generator / ri (11) -
rdoc
/ markdown (22) -
rubygems
/ gem _ path _ searcher (11) -
rubygems
/ specification (11)
クラス
- BigDecimal (11)
-
Gem
:: GemPathSearcher (11) -
Gem
:: Specification (11) -
MiniTest
:: Unit (7) -
MiniTest
:: Unit :: TestCase (1) -
Net
:: HTTP (11) - OptionParser (132)
-
RDoc
:: Generator :: Darkfish (11) -
RDoc
:: Generator :: RI (11) -
RDoc
:: Markdown (22) -
Rake
:: Application (22) -
Rake
:: PackageTask (11)
モジュール
-
MiniTest
:: Assertions (26)
キーワード
- Assertion (1)
- Assertions (1)
-
EXCEPTION
_ INFINITY (11) - Location (11)
-
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 2 . 0 (10) -
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 3
. 1 . 0 (3) -
PASSTHROUGH
_ EXCEPTIONS (1) - VERSION (1)
-
_ assertions (1) -
_ assertions= (1) - assert (1)
-
assert
_ block (1) -
assert
_ empty (1) -
assert
_ equal (1) -
assert
_ in _ delta (1) -
assert
_ in _ epsilon (1) -
assert
_ includes (1) -
assert
_ instance _ of (1) -
assert
_ kind _ of (1) -
assert
_ match (1) -
assert
_ nil (1) -
assert
_ operator (1) -
assert
_ raises (1) -
assert
_ respond _ to (1) -
assert
_ same (1) -
assert
_ send (1) -
assert
_ throws (1) -
assertion
_ count (1) -
assertion
_ count= (1) -
capture
_ io (1) -
definition
_ lists (11) -
definition
_ lists= (11) -
exception
_ details (1) - flunk (1)
-
init
_ gemspecs (11) - initialize (22)
- location (1)
-
mu
_ pp (1) -
on
_ head (11) -
on
_ tail (11) - output= (1)
- parse (22)
- parse! (11)
- pass (1)
- puke (1)
-
rb
_ define _ global _ function (11) -
ruby 1
. 8 . 4 feature (11) - run (11)
- skip (1)
- status (1)
- summarize (22)
-
summary
_ indent (11) -
summary
_ indent= (11) -
summary
_ width (11) -
summary
_ width= (11) -
to
_ a (11) -
yaml
_ initialize (11)
検索結果
先頭5件
-
Rake
:: Application # init(app _ name = & # 39;rake& # 39;) (24107.0) -
コマンドラインオプションとアプリケーション名を初期化します。
...ンドラインオプションとアプリケーション名を初期化します。
//emlist[例][ruby]{
# Rakefile での記載例とする
task default: :test
task :test
Rake.application.name # => "rake"
Rake.application.init("MyApp") # => ["default"]
Rake.application.name # => "MyApp"
//}... -
MiniTest
:: Assertions # exception _ details(exception , message) -> String (21400.0) -
与えられた例外の詳細を文字列として返します。
...与えられた例外の詳細を文字列として返します。
@param exception 例外を指定します。
@param message メッセージを指定します。... -
MiniTest
:: Assertions # capture _ io { . . . } -> Array (21202.0) -
与えられたブロックを評価中の標準出力と標準エラー出力を StringIO に 変更します。
...与えられたブロックを評価中の標準出力と標準エラー出力を StringIO に
変更します。
@return ブロック評価中に出力された文字列を標準出力を第一要素、標準エラー出力を第二要素とした
配列にして返します。... -
MiniTest
:: Assertions # _ assertions -> Fixnum (21200.0) -
アサーション数を返します。
アサーション数を返します。 -
MiniTest
:: Assertions # _ assertions=(count) (21200.0) -
アサーション数をセットします。
アサーション数をセットします。
@param count 件数を指定します。 -
Rake
:: PackageTask # init(name , version) (18301.0) -
自身の各属性にデフォルト値をセットします。
...自身の各属性にデフォルト値をセットします。
@param name パッケージの名前を指定します。
@param version パッケージのバージョンを指定します。... -
BigDecimal
:: EXCEPTION _ INFINITY -> Integer (18300.0) -
BigDecimal の計算結果が無限大になった場合に例外を発生させるかどう かを設定、確認する際の値を返します。
BigDecimal の計算結果が無限大になった場合に例外を発生させるかどう
かを設定、確認する際の値を返します。
BigDecimal.mode の第 1 引数に指定します。 -
RDoc
:: Markdown # definition _ lists -> bool (18300.0) -
定義リストを解釈するかどうかを返します。
定義リストを解釈するかどうかを返します。
デフォルトでは true を返します。 -
RDoc
:: Markdown # definition _ lists=(val) (18300.0) -
定義リストを解釈するかどうかを設定します。
定義リストを解釈するかどうかを設定します。 -
MiniTest
:: Unit # location(exception) -> String (15400.0) -
与えられた例外の発生した場所を返します。
与えられた例外の発生した場所を返します。 -
MiniTest
:: Unit # assertion _ count -> Fixnum (15200.0) -
アサーション数を返します。
アサーション数を返します。 -
MiniTest
:: Unit # assertion _ count=(count) (15200.0) -
アサーション数をセットします。
アサーション数をセットします。
@param count 件数を指定します。 -
MiniTest
:: Unit :: TestCase :: PASSTHROUGH _ EXCEPTIONS -> [Class] (15200.0) -
システム関連の例外のリストです。内部で使用します。
システム関連の例外のリストです。内部で使用します。 -
MiniTest
:: Unit :: VERSION -> String (15200.0) -
このライブラリのバージョンを返します。
このライブラリのバージョンを返します。 -
MiniTest
:: Assertion (15000.0) -
アサーションに失敗した時に発生する例外です。
アサーションに失敗した時に発生する例外です。 -
MiniTest
:: Assertions (15000.0) -
各種 assert メソッドを提供します。
各種 assert メソッドを提供します。 -
Net
:: HTTP # options(path , initheader = nil) -> Net :: HTTPResponse (12300.0) -
サーバの path に OPTIONS リクエストを ヘッダが initheader として送り、 レスポンスを Net::HTTPResponse のオブジェクト で返します。
...サーバの path に OPTIONS リクエストを
ヘッダが initheader として送り、
レスポンスを Net::HTTPResponse のオブジェクト
で返します。
@param path リクエストを送るパスを文字列で与えます。
@param initheader リクエストのヘッダを「文......字列=>文字列」の
ハッシュで与えます。
@see Net::HTTP::Options... -
void rb
_ define _ global _ function(const char *name , VALUE (*func)() , int argc) (12206.0) -
関数 name を定義します。 func と argc は rb_define_method と同じです。
...す。
例:
static VALUE
return_obj_dup(VALUE obj)
{
VALUE dup = rb_obj_dup(obj); // オブジェクトを複製
return dup;
}
void Init_func() {
rb_define_global_function("dup_obj", return_obj_dup, 1); // 関数 dup_objを定義しています。
}... -
Gem
:: Specification # yaml _ initialize (12100.0) -
@todo
@todo -
Thread
:: Backtrace :: Location (12018.0) -
Ruby のフレームを表すクラスです。
..._locations から生成されます。
//emlist[例1][ruby]{
# caller_locations.rb
def a(skip)
caller_locations(skip)
end
def b(skip)
a(skip)
end
def c(skip)
b(skip)
end
c(0..2).map do |call|
puts call.to_s
end
//}
例1の実行結果:
caller_locations.rb:2:in `a'
caller_locations.rb......ller_locations.rb:8:in `c'
//emlist[例2][ruby]{
# foo.rb
class Foo
attr_accessor :locations
def initialize(skip)
@locations = caller_locations(skip)
end
end
Foo.new(0..2).locations.map do |call|
puts call.to_s
end
//}
例2の実行結果:
init.rb:4:in `initialize'
init.rb:8:in `...