81件ヒット
[1-81件を表示]
(0.077秒)
別のキーワード
ライブラリ
- ビルトイン (21)
-
irb
/ cmd / load (12) -
irb
/ ext / use-loader (48)
クラス
- Binding (9)
-
IRB
:: Context (36) -
IRB
:: ExtendCommand :: Require (12) -
RubyVM
:: InstructionSequence (12)
モジュール
キーワード
- execute (12)
-
first
_ lineno (12) -
irb
_ require (12) -
use
_ loader (12) -
use
_ loader= (12) -
use
_ loader? (12)
検索結果
先頭5件
-
Binding
# irb -> object (18126.0) -
REPLのセッションを開始します。
...REPLのセッションを開始します。
2.5.0 からは require 'irb' せずに直接 binding.irb を呼び出しても使えるようになりました。
@see irb... -
IRB
:: ExtendCommandBundle # irb _ require(*opts , &b) -> bool (15279.0) -
現在の irb に関する IRB::Context に対して irb_require コマンドを 実行します。
...現在の irb に関する IRB::Context に対して irb_require コマンドを
実行します。
@see IRB::ExtendCommand::Require#execute... -
IRB
:: ExtendCommand :: Require # execute(file _ name) -> bool (6047.0) -
ファイル file_name を現在の irb インタプリタ上で実行します。
...ame を現在の irb インタプリタ上で実行します。
file_name に Ruby スクリプトを指定した場合は、Kernel.#require と異
なり、file_name の内容を irb で一行ずつタイプしたかのように、irb 上で一
行ずつ評価されます。require に成功した......場合は true を、そうでない場合は
false を返します。
拡張ライブラリ(*.so,*.o,*.dll など)を指定した場合は単純に require され
ます。
@param file_name ファイル名を文字列で指定します。... -
IRB
:: Context # use _ loader=(opt) (3093.0) -
load または require 時に irb のファイル読み込み機能(irb_load、 irb_require)を使うかどうかを設定します。
...oad または require 時に irb のファイル読み込み機能(irb_load、
irb_require)を使うかどうかを設定します。
.irbrc ファイル中で IRB.conf[:USE_LOADER] を設定する事でも同様の事が行
えます。
デフォルト値は false です。
@see IRB::Context#us... -
IRB
:: Context # use _ loader -> bool (3087.0) -
load または require 時に irb のファイル読み込み機能(irb_load、 irb_require)を使うかどうかを返します。
...load または require 時に irb のファイル読み込み機能(irb_load、
irb_require)を使うかどうかを返します。
@see IRB::Context#use_loader=... -
IRB
:: Context # use _ loader? -> bool (3087.0) -
load または require 時に irb のファイル読み込み機能(irb_load、 irb_require)を使うかどうかを返します。
...load または require 時に irb のファイル読み込み機能(irb_load、
irb_require)を使うかどうかを返します。
@see IRB::Context#use_loader=... -
RubyVM
:: InstructionSequence # first _ lineno -> Integer (13.0) -
self が表す命令シーケンスの 1 行目の行番号を返します。
...f が表す命令シーケンスの 1 行目の行番号を返します。
例1:irb で実行した場合
RubyVM::InstructionSequence.compile('num = 1 + 2').first_lineno
# => 1
例2:
# /tmp/method.rb
require "foo-library"
def foo
p :foo
end
RubyVM::InstructionSequence.of(metho...