396件ヒット
[1-100件を表示]
(0.021秒)
ライブラリ
- ビルトイン (48)
-
cgi
/ core (24) -
net
/ http (144) - pathname (12)
- rubygems (36)
-
rubygems
/ commands / unpack _ command (12) -
rubygems
/ custom _ require (12) -
rubygems
/ require _ paths _ builder (12) -
rubygems
/ specification (48) - uri (12)
-
webrick
/ httprequest (36)
クラス
-
Gem
:: Commands :: UnpackCommand (12) -
Gem
:: Specification (48) -
Net
:: HTTP (108) -
Net
:: HTTPGenericRequest (36) - Pathname (12)
-
RubyVM
:: InstructionSequence (48) -
URI
:: HTTP (12) -
WEBrick
:: HTTPRequest (36)
モジュール
-
CGI
:: QueryExtension (24) -
Gem
:: QuickLoader (24) -
Gem
:: RequirePathsBuilder (12) - Kernel (24)
キーワード
-
absolute
_ path (12) -
body
_ stream (12) -
body
_ stream= (12) - eql? (12)
- gem (12)
-
get
_ path (12) - inspect (12)
-
path
_ info (24) -
path
_ info= (12) -
path
_ translated (12) -
push
_ all _ highest _ version _ gems _ on _ load _ path (12) -
push
_ gem _ version _ on _ load _ path (12) -
request
_ get (24) -
request
_ head (24) -
request
_ post (24) -
request
_ put (24) -
request
_ uri (12) - require (12)
-
require
_ path (12) -
require
_ path= (12) -
require
_ paths (12) -
require
_ paths= (12) -
send
_ request (12) -
to
_ a (12) -
write
_ require _ paths _ file _ if _ needed (12)
検索結果
先頭5件
-
Net
:: HTTPGenericRequest # path -> String (21124.0) -
リクエストする path を文字列で返します。
...リクエストする path を文字列で返します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
req = Net::HTTP::Get.new(uri.request_uri)
req.path # => "/index.html"
//}... -
RubyVM
:: InstructionSequence # path -> String (21120.0) -
self が表す命令シーケンスの相対パスを返します。
...iseq = 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 =......RubyVM::InstructionSequence.compile_file('method.rb')
> iseq.path # => "method.rb"
@see RubyVM::InstructionSequence#absolute_path... -
WEBrick
:: HTTPRequest # path -> String (21102.0) -
リクエスト URI のパスを表す文字列を返します。
リクエスト URI のパスを表す文字列を返します。 -
Gem
:: RequirePathsBuilder # write _ require _ paths _ file _ if _ needed(spec = @spec , gem _ home = @gem _ home) (18201.0) -
必要であれば、'.require_paths' というファイルを Gem ごとに作成します。
...必要であれば、'.require_paths' というファイルを Gem ごとに作成します。... -
Gem
:: Specification # require _ path=(path) (12309.0) -
Gem::Specification#require_paths= の単数バージョンです。
...Gem::Specification#require_paths= の単数バージョンです。
@param path この Gem パッケージを使用した際に require するファイルが置かれているディレクトリを指定します。
@see Gem::Specification#require_paths=... -
Gem
:: Specification # require _ paths=(paths) (12301.0) -
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ のリストをセットします。
...この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストをセットします。
@param paths この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリ... -
Gem
:: Specification # require _ path -> String (12202.0) -
Gem::Specification#require_paths の単数バージョンです。
...Gem::Specification#require_paths の単数バージョンです。
@see Gem::Specification#require_paths... -
Gem
:: Specification # require _ paths -> [String] (12201.0) -
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ のリストを返します。
...この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストを返します。... -
RubyVM
:: InstructionSequence # absolute _ path -> String | nil (9120.0) -
self が表す命令シーケンスの絶対パスを返します。
...iseq = 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 =......RubyVM::InstructionSequence.compile_file('/tmp/method.rb')
> iseq.absolute_path # => "/tmp/method.rb"
@see RubyVM::InstructionSequence#path...