111件ヒット
[1-100件を表示]
(0.142秒)
種類
- 特異メソッド (66)
- ライブラリ (34)
- インスタンスメソッド (11)
キーワード
- debug (11)
-
display
_ c _ call (11) -
display
_ c _ call? (11) -
display
_ process _ id (11) -
display
_ process _ id? (11) -
display
_ thread _ id (11) -
display
_ thread _ id? (11) -
irb
/ completion (11) -
rubygems
/ commands / search _ command (11) -
test
/ unit (1)
検索結果
先頭5件
-
irb
/ completion (26012.0) -
irb の completion 機能を提供するライブラリです。
...irb の completion 機能を提供するライブラリです。
=== 使い方
$ irb -r irb/completion
とするか, ~/.irbrc 中に
require "irb/completion"
を入れてください.
irb実行中に require "irb/completion" してもよいです.
irb 実行中に [Tab] を押すとコ......全に補完します.
irb(main):001:0> in
in inspect instance_eval
include install_alias_method instance_of?
initialize install_aliases instance_variables
irb(main):001:0> inspect
"main"
irb(main):002:0> foo = Objec......to?
foo.__id__ foo.inspect foo.send
foo.__send__ foo.instance_eval foo.singleton_methods
foo.class foo.instance_of? foo.taint
foo.clone foo.instance_variables foo.tainted?
foo.display foo.is_a?... -
Object
# display(out = $ stdout) -> nil (24313.0) -
オブジェクトを out に出力します。
...。
//emlist[][ruby]{
class Object
def display(out = $stdout)
out.write self
nil
end
end
//}
@param out 出力先のIOオブジェクトです。指定しない場合は標準出力に出力されます。
@return nil を返します。
//emlist[][ruby]{
Object.new.display #=> #<Objec... -
Tracer
. display _ c _ call -> bool (12302.0) -
真ならば、ビルトインメソッドの呼び出しを表示します。 デフォルトは偽です。
真ならば、ビルトインメソッドの呼び出しを表示します。
デフォルトは偽です。 -
Tracer
. display _ c _ call? -> bool (12302.0) -
真ならば、ビルトインメソッドの呼び出しを表示します。 デフォルトは偽です。
真ならば、ビルトインメソッドの呼び出しを表示します。
デフォルトは偽です。 -
Tracer
. display _ process _ id -> bool (12302.0) -
真ならば、プロセス ID を表示します。 デフォルトは、偽です。
...真ならば、プロセス ID を表示します。
デフォルトは、偽です。... -
Tracer
. display _ process _ id? -> bool (12302.0) -
真ならば、プロセス ID を表示します。 デフォルトは、偽です。
...真ならば、プロセス ID を表示します。
デフォルトは、偽です。... -
Tracer
. display _ thread _ id -> bool (12302.0) -
真ならば、スレッド ID を表示します。 デフォルトは、真です。
...真ならば、スレッド ID を表示します。
デフォルトは、真です。... -
Tracer
. display _ thread _ id? -> bool (12302.0) -
真ならば、スレッド ID を表示します。 デフォルトは、真です。
...真ならば、スレッド ID を表示します。
デフォルトは、真です。... -
test
/ unit (6126.0) -
ユニットテストを行うためのライブラリです。
...してください。
* Test::Unit - Ruby用単体テストフレームワーク: https://test-unit.github.io/
なお、2.2.0より前のtest/unit は当時バンドルしていた minitest/unit を使って再実装し
ていましたが、上記のtest/unitと完全な互換性がある訳で......グフレームワークの歴史(2014年版) https://www.clear-code.com/blog/2014/11/6.html
* RubyKaigi 2015:The history of testing framework in Ruby https://www.clear-code.com/blog/2015/12/12.html
=== 使い方
Test::Unit は以下のように使います。
まずテスト対象のソ......tions, 1 failures, 0 errors, 0 skips
--name=test_barのような指定は行えません。
以下のようにすると help も表示されます。
$ ruby test_foo.rb --help
Usage: test_foo [options]
minitest options:
-h, --help Display this help.
-s, --s... -
rubygems
/ commands / search _ command (126.0) -
指定された文字列を含む Gem パッケージを全て表示するためのライブラリです。
...ch [STRING] [options]
Options:
-i, --[no-]installed Check for installed gem
-v, --version VERSION Specify version of gem to search
-d, --[no-]details Display detailed information of gem(s)
--[no-]versions Display only......gem names
-a, --all Display all gem versions
Local/Remote Options:
-l, --local 操作をローカルに限定します
-r, --remote 操作をリモートに限定します
-b, --both ロ......します
-B, --bulk-threshold COUNT Threshold for switching to bulk
synchronization (default 1000)
--source URL Gem パッケージのリモートリポジトリの URL を指定します
--[no-]http-proxy [URL]...