るりまサーチ

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

別のキーワード

  1. util u
  2. erb u
  3. matrix u
  4. _builtin koi8_u
  5. encoding koi8_u

検索結果

<< 1 2 3 > >>

RubyVM::InstructionSequence#path -> String (24120.0)

self が表す命令シーケンスの相対パスを返します。

...= RubyVM::InstructionSequence.compile('num = 1 + 2')
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
iseq.path
# => "<compiled>"

例2: RubyVM::InstructionSequence.compile_file を使用した場合

# /tmp/method.rb
def hello
puts "hello, world"
end

# irb
> iseq = Ruby...
...VM::InstructionSequence.compile_file('method.rb')
> iseq.path # => "method.rb"

@see RubyVM::InstructionSequence#absolute_path...

Gem::QuickLoader#push_all_highest_version_gems_on_load_path (18302.0)

prelude.c で定義されている内部用のメソッドです。

...prelude.c で定義されている内部用のメソッドです。...

Gem::QuickLoader#push_gem_version_on_load_path (18302.0)

prelude.c で定義されている内部用のメソッドです。

...prelude.c で定義されている内部用のメソッドです。...

Gem::Specification#require_path=(path) (15309.0)

Gem::Specification#require_paths= の単数バージョンです。

...Gem::Specification#require_paths= の単数バージョンです。

@param path この Gem パッケージを使用した際に require するファイルが置かれているディレクトリを指定します。

@see Gem::Specification#require_paths=...

Gem::Specification#require_paths=(paths) (15301.0)

この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ のリストをセットします。

...この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストをセットします。

@param paths この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリ...

絞り込み条件を変える

Thread::Backtrace::Location#absolute_path -> String (15232.0)

self が表すフレームの絶対パスを返します。

...][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...

RubyVM::InstructionSequence#absolute_path -> String | nil (15220.0)

self が表す命令シーケンスの絶対パスを返します。

...= RubyVM::InstructionSequence.compile('num = 1 + 2')
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
iseq.absolute_path
# => nil

例2: RubyVM::InstructionSequence.compile_file を使用した場合

# /tmp/method.rb
def hello
puts "hello, world"
end

# irb
> iseq = Ruby...
...VM::InstructionSequence.compile_file('/tmp/method.rb')
> iseq.absolute_path # => "/tmp/method.rb"

@see RubyVM::InstructionSequence#path...

Gem::Specification#full_gem_path -> String (15202.0)

この Gem パッケージへのフルパスを返します。

この Gem パッケージへのフルパスを返します。

Gem::Specification#require_path -> String (15202.0)

Gem::Specification#require_paths の単数バージョンです。

...Gem::Specification#require_paths の単数バージョンです。

@see Gem::Specification#require_paths...

Gem::Specification#require_paths -> [String] (15201.0)

この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ のリストを返します。

...この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストを返します。...

絞り込み条件を変える

<< 1 2 3 > >>