111件ヒット
[1-100件を表示]
(0.060秒)
種類
- 特異メソッド (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件
-
Object
# display(out = $ stdout) -> nil (18213.0) -
オブジェクトを out に出力します。
...][ruby]{
class Object
def display(out = $stdout)
out.write self
nil
end
end
//}
@param out 出力先のIOオブジェクトです。指定しない場合は標準出力に出力されます。
@return nil を返します。
//emlist[][ruby]{
Object.new.display #=> #<Object:0xbb0210>
//... -
Tracer
. display _ c _ call -> bool (6202.0) -
真ならば、ビルトインメソッドの呼び出しを表示します。 デフォルトは偽です。
真ならば、ビルトインメソッドの呼び出しを表示します。
デフォルトは偽です。 -
Tracer
. display _ c _ call? -> bool (6202.0) -
真ならば、ビルトインメソッドの呼び出しを表示します。 デフォルトは偽です。
真ならば、ビルトインメソッドの呼び出しを表示します。
デフォルトは偽です。 -
Tracer
. display _ process _ id -> bool (6202.0) -
真ならば、プロセス ID を表示します。 デフォルトは、偽です。
真ならば、プロセス ID を表示します。
デフォルトは、偽です。 -
Tracer
. display _ process _ id? -> bool (6202.0) -
真ならば、プロセス ID を表示します。 デフォルトは、偽です。
真ならば、プロセス ID を表示します。
デフォルトは、偽です。 -
Tracer
. display _ thread _ id -> bool (6202.0) -
真ならば、スレッド ID を表示します。 デフォルトは、真です。
真ならば、スレッド ID を表示します。
デフォルトは、真です。 -
Tracer
. display _ thread _ id? -> bool (6202.0) -
真ならば、スレッド ID を表示します。 デフォルトは、真です。
真ならば、スレッド ID を表示します。
デフォルトは、真です。 -
test
/ unit (126.0) -
ユニットテストを行うためのライブラリです。
...なりまし
た。詳しい内容は下記のプロジェクトページを参照してください。
* Test::Unit - Ruby用単体テストフレームワーク: https://test-unit.github.io/
なお、2.2.0より前のtest/unit は当時バンドルしていた minitest/unit を使って再実......* Rubyのテスティングフレームワークの歴史(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 は以下のように使います。......, 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, --seed SEED... -
rubygems
/ commands / search _ command (120.0) -
指定された文字列を含む Gem パッケージを全て表示するためのライブラリです。
...tions:
-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......te Options:
-l, --local 操作をローカルに限定します
-r, --remote 操作をリモートに限定します
-b, --both ローカルとリモートの両方の操作を許可します
-B, --bulk-threshold......synchronization (default 1000)
--source URL Gem パッケージのリモートリポジトリの URL を指定します
--[no-]http-proxy [URL] リモートの操作に HTTP プロクシを使用します
-u, --[no-]update-sources ローカルソ... -
debug (42.0)
-
Ruby デバッガです。Ruby スクリプトのソースコードデバッグに使用します。
...x.el が
https://github.com/ruby/elisp にあるので、活用してください。
=== 使い方
$ ruby -rdebug foo.rb
または、Emacs から
M-x load-library rubydb3x.el
M-x rubydb
=== デバッグコマンド
以下は、デバッガで使用できるコマンド名とその用......。
: display <expression>
処理が停止するごとに <expression> を評価するディス
プレイ式を設定します。
引数を省略した場合すべてのディスプレイ式を表示します。
このコマンドの省略形は disp です。
: undisplay <nnn>......を表示します。
このコマンドの省略形は w または f です。
: list [(-|nn-mm)]
スクリプトを表示します。引数が `-' ならば前の行を表示します。
nn-mm の形式では指定した範囲の行のスクリプトを表示します。
この...