242件ヒット
[1-100件を表示]
(0.148秒)
ライブラリ
- ビルトイン (77)
-
cgi
/ core (22) -
net
/ http (22) - pathname (11)
- rubygems (33)
-
rubygems
/ commands / unpack _ command (11) -
rubygems
/ remote _ fetcher (11) -
rubygems
/ specification (55)
クラス
-
Gem
:: Commands :: UnpackCommand (11) -
Gem
:: RemoteFetcher (11) -
Gem
:: Specification (55) - IO (11)
-
Net
:: HTTPGenericRequest (22) - Pathname (11)
- Proc (11)
-
RubyVM
:: InstructionSequence (44) -
Thread
:: Backtrace :: Location (11)
モジュール
-
CGI
:: QueryExtension (22) -
Gem
:: QuickLoader (22) - Kernel (11)
キーワード
-
absolute
_ path (22) -
body
_ stream (11) -
body
_ stream= (11) -
each
_ line (11) - flush (11)
-
full
_ gem _ path (11) - gem (11)
-
get
_ path (11) - inspect (11)
-
open
_ uri _ or _ path (11) -
path
_ info (11) -
path
_ translated (11) -
push
_ all _ highest _ version _ gems _ on _ load _ path (11) -
push
_ gem _ version _ on _ load _ path (11) -
require
_ path (11) -
require
_ path= (11) -
require
_ paths (11) -
require
_ paths= (11) -
source
_ location (11) -
to
_ a (11)
検索結果
先頭5件
-
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 するファイルが置かれているディレクトリ
のリストを返します。...