ライブラリ
- ビルトイン (201)
- csv (12)
- erb (48)
- json (12)
- logger (24)
-
minitest
/ unit (13) -
net
/ http (48) -
net
/ imap (12) -
net
/ smtp (24) - openssl (12)
- optparse (24)
- rake (168)
-
rake
/ loaders / makefile (12) -
rake
/ testtask (36) -
rubygems
/ source _ index (12) -
rubygems
/ source _ info _ cache (12) -
rubygems
/ validator (12) - set (18)
- shell (12)
-
shell
/ command-processor (12) -
shell
/ filter (12) - strscan (36)
クラス
-
ARGF
. class (60) - Binding (7)
- CSV (12)
- Dir (12)
- ERB (48)
- Exception (20)
-
Gem
:: SourceIndex (12) -
Gem
:: SourceInfoCache (12) -
Gem
:: Validator (12) - IO (36)
- Logger (24)
- Method (12)
-
MiniTest
:: Unit (1) -
MiniTest
:: Unit :: TestCase (2) - Module (12)
-
Net
:: HTTPGenericRequest (48) -
Net
:: IMAP (12) -
Net
:: SMTP (24) -
OpenSSL
:: BN (12) - OptionParser (24)
-
Rake
:: Application (24) -
Rake
:: FileList (36) -
Rake
:: FileTask (12) -
Rake
:: InvocationChain (12) -
Rake
:: MakefileLoader (12) -
Rake
:: TaskArguments (12) -
Rake
:: TestTask (36) - Set (24)
- Shell (12)
-
Shell
:: CommandProcessor (12) -
Shell
:: Filter (12) - String (12)
- StringScanner (36)
- Thread (24)
モジュール
-
Gem
:: InstallUpdateOptions (12) -
JSON
:: Generator :: GeneratorMethods :: String (12) - Kernel (12)
-
MiniTest
:: Assertions (10) -
Rake
:: Cloneable (12) -
Rake
:: TaskManager (48)
キーワード
- [] (18)
-
add
_ loader (12) -
add
_ row (12) - append (12)
-
assert
_ equal (1) -
assert
_ in _ delta (1) -
assert
_ in _ epsilon (1) -
assert
_ includes (1) -
assert
_ kind _ of (1) -
assert
_ operator (1) -
assert
_ respond _ to (1) -
assert
_ same (1) -
assert
_ send (1) -
backtrace
_ locations (36) - binmode (12)
- body (12)
- body= (12)
-
body
_ stream (12) -
body
_ stream= (12) -
clear
_ exclude (12) - closed? (12)
-
const
_ source _ location (12) -
create
_ rule (12) -
datetime
_ format (12) -
datetime
_ format= (12) -
def
_ class (12) -
def
_ module (12) - define (12)
-
define
_ task (12) -
delete
_ if (12) - desc (12)
- dup (24)
-
each
_ codepoint (24) - encoding (12)
-
exception
_ details (1) -
excluded
_ from _ list? (12) - fdatasync (12)
- fetch (12)
-
inplace
_ mode (12) - inspect (6)
-
install
_ update _ defaults _ str (12) -
internal
_ encoding (12) -
kind
_ of? (12) -
last
_ description (12) -
last
_ description= (12) -
latest
_ cache _ data (12) -
latest
_ specs (12) - load (12)
- loader (12)
- loader= (12)
- matched (12)
- matched? (12)
-
matched
_ size (12) - needed? (12)
-
on
_ head (12) -
original
_ dir (12) - parse! (12)
- passed? (1)
-
prime
_ fasttest? (12) - puke (1)
- read (12)
- ready (12)
- reject! (12)
- result (12)
- run (12)
-
source
_ location (7) - teardown (1)
-
to
_ json (12) -
to
_ s (6) -
unit
_ test (12) -
with
_ defaults (12)
検索結果
先頭5件
- Shell
:: CommandProcessor # test(command , file1 , file2 = nil) -> bool | Time | Integer | nil - Shell
# test(command , file1 , file2 = nil) -> bool | Time | Integer | nil - Shell
:: Filter # test(command , file1 , file2 = nil) -> bool | Time | Integer | nil - Gem
:: SourceInfoCache # latest _ cache _ data -> Hash - MiniTest
:: Unit :: TestCase # passed? -> bool
-
Shell
:: CommandProcessor # test(command , file1 , file2 = nil) -> bool | Time | Integer | nil (18230.0) -
Kernel.#test や FileTest のメソッドに処理を委譲します。
...Kernel.#test や FileTest のメソッドに処理を委譲します。
@param command 数値、またはサイズが 1 の文字列の場合は Kernel.#test に処理委譲します。
2 文字以上の文字列の場合は FileTest のメソッドとして実行します。
@para......ell'
Shell.verbose = false
sh = Shell.new
begin
sh.mkdir("foo")
rescue
end
p sh[?e, "foo"] # => true
p sh[:e, "foo"] # => true
p sh["e", "foo"] # => true
p sh[:exists?, "foo"] # => true
p sh["exists?", "foo"] # => true
@see Kernel.#test, FileTest... -
Shell
# test(command , file1 , file2 = nil) -> bool | Time | Integer | nil (15230.0) -
Kernel.#test や FileTest のメソッドに処理を委譲します。
...Kernel.#test や FileTest のメソッドに処理を委譲します。
@param command 数値、またはサイズが 1 の文字列の場合は Kernel.#test に処理委譲します。
2 文字以上の文字列の場合は FileTest のメソッドとして実行します。
@para......ell'
Shell.verbose = false
sh = Shell.new
begin
sh.mkdir("foo")
rescue
end
p sh[?e, "foo"] # => true
p sh[:e, "foo"] # => true
p sh["e", "foo"] # => true
p sh[:exists?, "foo"] # => true
p sh["exists?", "foo"] # => true
@see Kernel.#test, FileTest... -
Shell
:: Filter # test(command , file1 , file2 = nil) -> bool | Time | Integer | nil (15230.0) -
Kernel.#test や FileTest のメソッドに処理を委譲します。
...Kernel.#test や FileTest のメソッドに処理を委譲します。
@param command 数値、またはサイズが 1 の文字列の場合は Kernel.#test に処理委譲します。
2 文字以上の文字列の場合は FileTest のメソッドとして実行します。
@para......ell'
Shell.verbose = false
sh = Shell.new
begin
sh.mkdir("foo")
rescue
end
p sh[?e, "foo"] # => true
p sh[:e, "foo"] # => true
p sh["e", "foo"] # => true
p sh[:exists?, "foo"] # => true
p sh["exists?", "foo"] # => true
@see Kernel.#test, FileTest... -
Gem
:: SourceInfoCache # latest _ cache _ data -> Hash (12201.0) -
最新のキャッシュデータを返します。
最新のキャッシュデータを返します。 -
MiniTest
:: Unit :: TestCase # passed? -> bool (12101.0) -
自身の実行に成功した場合は真を返します。 そうでない場合は偽を返します。
自身の実行に成功した場合は真を返します。
そうでない場合は偽を返します。 -
MiniTest
:: Unit :: TestCase # teardown (12101.0) -
各テストケースの実行後に実行するメソッドです。
各テストケースの実行後に実行するメソッドです。
サブクラスで再定義します。 -
MiniTest
:: Assertions # assert _ in _ delta(expected , actual , delta = 0 . 001 , message = nil) -> true (9201.0) -
期待値と実際の値の差の絶対値が与えられた絶対誤差以下である場合、検査にパスしたことになります。
...れた絶対誤差以下である場合、検査にパスしたことになります。
@param expected 期待値を指定します。
@param actual 実際の値を指定します。
@param delta 許容する絶対誤差を指定します。
@param message 検査に失敗した場合に表示す......ます。
文字列か Proc を指定します。Proc である場合は Proc#call した
結果を使用します。
@raise MiniTest::Assertion 与えられた期待値と実際の値の差の絶対値が与えられた差分を越える場合に発生します。... -
MiniTest
:: Assertions # assert _ respond _ to(object , method _ name , message = nil) -> true (9201.0) -
与えられたオブジェクトが与えられたメソッドを持つ場合、検査にパスしたことになります。
...ethod_name メソッド名を指定します。
@param message 検査に失敗した場合に表示するメッセージを指定します。
文字列か Proc を指定します。Proc である場合は Proc#call した
結果を使用します。
@raise MiniTest::A......ssertion 与えられたオブジェクトが与えられたメソッドを持たない場合に発生します。
@see Object#respond_to?... -
Gem
:: InstallUpdateOptions # install _ update _ defaults _ str -> String (9107.0) -
Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。
...Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。
デフォルトのオプションは以下の通りです。
--rdoc --no-force --no-test --wrappers... -
Gem
:: Validator # unit _ test(gem _ spec) (9102.0) -
与えられた Gem スペックにしたがってユニットテストを実行します。
与えられた Gem スペックにしたがってユニットテストを実行します。
@param gem_spec Gem::Specification のインスタンスを指定します。 -
Gem
:: SourceIndex # latest _ specs -> Array (9101.0) -
自身に含まれる最新の Gem::Specification のリストを返します。
自身に含まれる最新の Gem::Specification のリストを返します。 -
MiniTest
:: Assertions # assert _ includes(collection , object , message = nil) -> true (9101.0) -
与えられたコレクションにオブジェクトが含まれている場合、検査にパスしたことになります。
...roc を指定します。Proc である場合は Proc#call した
結果を使用します。
@raise MiniTest::Assertion 第一引数のオブジェクトが include? メソッドを持たない場合に発生します。
与えられたコレクション... -
MiniTest
:: Assertions # assert _ kind _ of(klass , object , message) -> true (9101.0) -
与えられたオブジェクトが与えられたクラスまたはそのサブクラスのインスタンス である場合、検査にパスしたことになります。
...結果を使用します。
@raise MiniTest::Assertion 与えられたオブジェクトが与えられたクラスまたはそのサブクラスの
インスタンスではない場合に発生します。
@see Object#kind_of?, MiniTest::Assertions#assert_instance_of... -
MiniTest
:: Assertions # assert _ send(array , message = nil) -> true (9101.0) -
引数から、式を取り出して評価した結果が真の場合、検査にパスしたことになります。
...します。
文字列か Proc を指定します。Proc である場合は Proc#call した
結果を使用します。
@raise MiniTest::Assertion 取り出した式が偽を返す場合に発生します。
例:
assert_send([%w[foo bar baz], :include?, 'baz'])... -
MiniTest
:: Assertions # exception _ details(exception , message) -> String (9101.0) -
与えられた例外の詳細を文字列として返します。
与えられた例外の詳細を文字列として返します。
@param exception 例外を指定します。
@param message メッセージを指定します。 -
Rake
:: TestTask # define -> self (9101.0) -
タスクを定義します。
タスクを定義します。 -
Rake
:: TestTask # loader -> Symbol (9101.0) -
テストをロードする方法を返します。
テストをロードする方法を返します。 -
Rake
:: TestTask # loader=(style) (9101.0) -
テストをロードする方法を指定します。
...e
Rake が提供する方法でテストをロードします。デフォルトはこれです。
: testrb
Ruby が提供する testrb コマンドを用いてテストをロードします。
: direct
コマンドラインで指定したファイルをロードします。
@param style シ...