12件ヒット
[1-12件を表示]
(0.084秒)
別のキーワード
ライブラリ
- ビルトイン (12)
クラス
検索結果
-
RubyVM
:: InstructionSequence # absolute _ path -> String | nil (24232.0) -
self が表す命令シーケンスの絶対パスを返します。
...ed>>
iseq.absolute_path
# => nil
例2: RubyVM::InstructionSequence.compile_file を使用した場合
# /tmp/method.rb
def hello
puts "hello, world"
end
# irb
> iseq = RubyVM::InstructionSequence.compile_file('/tmp/method.rb')
> iseq.absolute_path # => "/tmp/method.rb"
@see R...