るりまサーチ

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

別のキーワード

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

検索結果

<< 1 2 3 ... > >>

Gem::RequirePathsBuilder#write_require_paths_file_if_needed(spec = @spec, gem_home = @gem_home) (21201.0)

必要であれば、'.require_paths' というファイルを Gem ごとに作成します。

...必要であれば、'.require_paths' というファイルを Gem ごとに作成します。...

URI::Generic#path -> String | nil (21148.0)

自身の path を文字列で返します。設定されていない場合は nil を返します。

... path を文字列で返します。設定されていない場合は nil を返します。

require 'uri'
p URI.parse('http://example.com/hoge').path #=> "/hoge"
p URI.parse('http://example.com').path #=> ""
p URI.parse('mailto:nospam@localhost').path #=> nil
p URI...
...('ftp://example.com/foo').path #=> 'foo'
p URI('ftp://example.com/%2Ffoo').path #=> '/foo'...

Net::HTTPGenericRequest#path -> String (21124.0)

リクエストする path を文字列で返します。

...リクエストする path を文字列で返します。

//emlist[例][ruby]{
require 'net/http'

u
ri = 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 が表す命令シーケンスの相対パスを返します。

...= 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...

UNIXSocket#path -> String (21108.0)

UNIX ソケットのパスを返します。

...UNIX ソケットのパスを返します。

クライアント側はパスを持たないため空文字列となります。

例:

require 'socket'

U
NIXServer.open("/tmp/s") {|serv|
p serv.path #=> "/tmp/s"
}...

絞り込み条件を変える

RSS::Rss::Channel::Cloud#path (21103.0)

@todo

@todo

WEBrick::HTTPRequest#path -> String (21102.0)

リクエスト URI のパスを表す文字列を返します。

...リクエスト URI のパスを表す文字列を返します。...

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::RemoteFetcher#get_file_uri_path(uri) -> String (12302.0)

与えられた URI から "file://" を取り除いた文字列を返します。

...与えられた URI から "file://" を取り除いた文字列を返します。

@param uri URI を表す文字列を指定します。...

Gem::RemoteFetcher#open_uri_or_path(uri, last_modified = nil, head = false, depth = 0) -> StringIO | File (12302.0)

@param uri URI を指定します。

...@param uri URI を指定します。

@param last_modified 最終更新時刻を指定します。

@param head 真を指定するとヘッダ情報のみ取得します。

@param depth 現在のリダイレクト回数を指定します。

@raise Gem::RemoteFetcher::FetchError デフォルトで...

絞り込み条件を変える

<< 1 2 3 ... > >>