るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
2703件ヒット [2701-2703件を表示] (0.326秒)

別のキーワード

  1. _builtin new
  2. _builtin inspect
  3. _builtin []
  4. _builtin to_s
  5. _builtin each

ライブラリ

モジュール

オブジェクト

キーワード

検索結果

<< < ... 26 27 28 >>

TracePoint (24019.0)

Kernel.#set_trace_func と同様の機能をオブジェクト指向的な API で 提供するクラスです。

Kernel.#set_trace_func と同様の機能をオブジェクト指向的な API で
提供するクラスです。

//emlist[例:例外に関する情報を収集する][ruby]{
trace = TracePoint.new(:raise) do |tp|
p [tp.lineno, tp.event, tp.raised_exception]
end
# => #<TracePoint:0x007f786a452448>

trace.enable
# => false

0 / 0
# => [5, :raise, #<ZeroDivisionError: divided by 0...

Shell::CommandProcessor.def_builtin_commands(delegation_class, commands_specs) -> () (18604.0)

@todo

@todo

@param delegation_class 処理を委譲したいクラスかモジュールを指定します。

@param commands_specs コマンドの仕様を文字列の配列で指定します。
[[コマンド名, [引数1, 引数2, ...]], ...]

Shell::CommandProcessor.install_builtin_commands -> () (18604.0)

ビルトインコマンドを定義します。

ビルトインコマンドを定義します。
<< < ... 26 27 28 >>