223件ヒット
[1-100件を表示]
(0.170秒)
ライブラリ
- ビルトイン (55)
- rake (11)
-
rubygems
/ config _ file (11) -
webrick
/ httpresponse (11)
クラス
-
Gem
:: ConfigFile (11) -
Rake
:: Application (11) -
Thread
:: Backtrace :: Location (11) -
WEBrick
:: HTTPResponse (11)
モジュール
- Kernel (44)
キーワード
-
DEFAULT
_ BACKTRACE (11) - Rubyの起動 (3)
- Ruby用語集 (11)
-
absolute
_ path (11) - fail (22)
-
get
_ backtrace (11) -
make
_ backtrace (11) - raise (22)
-
rubygems
/ commands / build _ command (11) -
rubygems
/ commands / install _ command (11) -
rubygems
/ commands / list _ command (11) -
rubygems
/ commands / query _ command (11) -
rubygems
/ commands / search _ command (11) -
rubygems
/ commands / specification _ command (11) -
rubygems
/ commands / uninstall _ command (11) -
set
_ backtrace (11) -
set
_ error (11)
検索結果
先頭5件
-
static VALUE backtrace(int lev) (38400.0)
-
-
Gem
:: ConfigFile :: DEFAULT _ BACKTRACE -> false (21301.0) -
バックトレースが表示されるかどうかのデフォルト値です。
バックトレースが表示されるかどうかのデフォルト値です。 -
Thread
:: Backtrace :: Location # absolute _ path -> String (18306.0) -
self が表すフレームの絶対パスを返します。
...self が表すフレームの絶対パスを返します。
//emlist[例][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.absolute_path
end
# => /path/to/foo.rb
# /path....../to/foo.rb
# /path/to/foo.rb
//}
@see Thread::Backtrace::Location#path... -
rubygems
/ commands / install _ command (18024.0) -
Gem パッケージをローカルリポジトリにインストールするためのライブラリです。
...ライブラリです。
Usage: gem install GEMNAME [GEMNAME ...] [options] -- --build-flags [options]
Options:
--platform PLATFORM 指定されたプラットフォームの Gem パッケージをインストールします
-v, --version VERSION 指定さ......れたバージョンの Gem パッケージをインストールします
Install/Update Options:
-i, --install-dir DIR Gem パッケージのインストー先を指定します
-n, --bindir DIR Gem パッケージに含まれるバイナリファイル......す
-q, --quiet 静かに実行します
--config-file FILE 指定された設定ファイルを使用します
--backtrace バックトレースを表示します
--debug Ruby 自体のデバッ... -
rubygems
/ commands / list _ command (18024.0) -
Gem パッケージの名前を前方一致で検索するためのライブラリです。
...ためのライブラリです。
Usage: gem list [STRING] [options]
Options:
-i, --[no-]installed Check for installed gem
-v, --version VERSION 指定されたバージョンの一覧を出力します
-d, --[no-]details Gem パッケー......の詳細も表示します
--[no-]versions Gem パッケージの名前のみ表示します
-a, --all 全ての Gem パッケージを表示します
Local/Remote Options:
-l, --local 操作をローカルに限定......す
-q, --quiet 静かに実行します
--config-file FILE 指定された設定ファイルを使用します
--backtrace バックトレースを表示します
--debug Ruby 自体のデバッ... -
rubygems
/ commands / uninstall _ command (18018.0) -
Gem パッケージをアンインストールするためのライブラリです。
...
Usage: gem uninstall GEMNAME [GEMNAME ...] [options]
Options:
-a, --[no-]all Uninstall all matching versions
-I, --[no-]ignore-dependencies Ignore dependency requirements while
uninstalling
-x, --[no-]executables Unin......tall applicable executables without
confirmation
-i, --install-dir DIR Directory to uninstall gem from
-n, --bindir DIR Directory to remove binaries from
-v, --version VERSION Specify version of gem to uninstall......す
-q, --quiet 静かに実行します
--config-file FILE 指定された設定ファイルを使用します
--backtrace バックトレースを表示します
--debug Ruby 自体のデバッ... -
rubygems
/ commands / build _ command (18006.0) -
Gem パッケージをビルドするためのライブラリです。
...ためのライブラリです。
Usage: gem build GEMSPEC_FILE [options]
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を詳細にします
-q, --quiet 静か......--config-file FILE 指定された設定ファイルを使用します
--backtrace バックトレースを表示します
--debug Ruby 自体のデバッグオプションを有効にします
Arguments:
GEMSPEC_FILE Gem......パッケージをビルドするのに必要な gemspec ファイル名を指定します
Summary:
gemspec ファイルから Gem パッケージをビルドします... -
Kernel
. # fail(error _ type , message = nil , backtrace = caller(0) , cause: $ !) -> () (12508.0) -
例外を発生させます。 発生した例外は変数 $! に格納されます。また例外が 発生した時のスタックトレースは変数 $@ に格納され ます。発生した例外は rescue 節で捕捉できます。
...外は rescue 節で捕捉できます。
引数無しの場合は、同スレッドの同じブロック内で最後に rescue された
例外オブジェクト ($!) を再発生させます。そのような
例外が存在しないが自身は捕捉されている時には例外 RuntimeError......生させます。
//emlist[例][ruby]{
begin
open("nonexist")
rescue
raise #=> `open': No such file or directory - "nonexist" (Errno::ENOENT)
end
//}
引数を渡した場合は、例外メッセージ message を持った error_type の示す例外(省略時 RuntimeError)を
発生させ......xception メソッドに引数として変数 message を渡すことができます。
@param error_type 発生させる例外を例外クラスまたは例外クラスのインスタンスで指定します。
@param message 例外のメッセージとなる文字列です。
@param backtrace 例... -
Kernel
. # fail(message , cause: $ !) -> () (12308.0) -
例外を発生させます。 発生した例外は変数 $! に格納されます。また例外が 発生した時のスタックトレースは変数 $@ に格納され ます。発生した例外は rescue 節で捕捉できます。
...外は rescue 節で捕捉できます。
引数無しの場合は、同スレッドの同じブロック内で最後に rescue された
例外オブジェクト ($!) を再発生させます。そのような
例外が存在しないが自身は捕捉されている時には例外 RuntimeError......生させます。
//emlist[例][ruby]{
begin
open("nonexist")
rescue
raise #=> `open': No such file or directory - "nonexist" (Errno::ENOENT)
end
//}
引数を渡した場合は、例外メッセージ message を持った error_type の示す例外(省略時 RuntimeError)を
発生させ......xception メソッドに引数として変数 message を渡すことができます。
@param error_type 発生させる例外を例外クラスまたは例外クラスのインスタンスで指定します。
@param message 例外のメッセージとなる文字列です。
@param backtrace 例... -
rubygems
/ commands / specification _ command (12018.0) -
指定された Gem パッケージの gemspec の情報を YAML 形式で表示するためのライブラリです。
...YAML 形式で表示するためのライブラリです。
Usage: gem specification [GEMFILE] [options]
Options:
-v, --version VERSION Specify version of gem to examine
--platform PLATFORM Specify the platform of gem to specification
--all......Output specifications for all versions of
the gem
Local/Remote Options:
-l, --local 操作をローカルに限定します
-r, --remote 操作をリモートに限定します
-b,......す
-q, --quiet 静かに実行します
--config-file FILE 指定された設定ファイルを使用します
--backtrace バックトレースを表示します
--debug Ruby 自体のデバッ...