るりまサーチ

最速Rubyリファレンスマニュアル検索!
3201件ヒット [1-100件を表示] (0.052秒)
トップページ > クエリ:u[x] > クエリ:path[x]

別のキーワード

  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) (21200.0)

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

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

URI::Generic#path -> String | nil (21147.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 (21123.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 (21119.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 (21107.0)

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

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

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

例:

require 'socket'

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

絞り込み条件を変える

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

@todo

@todo

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

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

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

Gem::RequirePathsBuilder (18000.0)

必要であれば、'.require_paths' というファイルを Gem ごとに作成するための モジュールです。

...必要であれば、'.require_paths' というファイルを Gem ごとに作成するための
モジュールです。...

Shell.default_system_path=(path) (12327.0)

Shellでもちいられるコマンドを検索する対象のパスを設定および、参照します。

... path Shellでもちいられるコマンドを検索する対象のパスを文字列で指定します。

動作例
require 'shell'
p Shell.default_system_path
# 例
#=> [ "/opt/local/bin", "/opt/local/sbin", "/usr/bin", "/bin", "/usr/sbin", "/sbin", "/usr/local/bin", "/usr/X11/bin", "/U...
...sers/kouya/bin"]
Shell.default_system_path = ENV["HOME"] + "/bin"
p Shell.default_system_path
# => "/Users/kouya/bin"...
<< 1 2 3 ... > >>