1923件ヒット
[1-100件を表示]
(0.067秒)
別のキーワード
ライブラリ
- ビルトイン (285)
-
cgi
/ core (24) - csv (24)
- digest (12)
- etc (12)
-
irb
/ context (12) -
json
/ add / exception (12) - logger (12)
- mkmf (60)
-
net
/ ftp (10) -
net
/ http (156) - openssl (12)
- optparse (24)
- pathname (374)
- pstore (12)
- rake (72)
-
rake
/ packagetask (12) -
rexml
/ document (60) - rubygems (36)
-
rubygems
/ commands / lock _ command (12) -
rubygems
/ commands / unpack _ command (12) -
rubygems
/ commands / which _ command (24) -
rubygems
/ config _ file (24) -
rubygems
/ format (24) -
rubygems
/ gem _ path _ searcher (72) -
rubygems
/ indexer (12) -
rubygems
/ old _ format (24) -
rubygems
/ remote _ fetcher (36) -
rubygems
/ require _ paths _ builder (12) -
rubygems
/ source _ info _ cache (12) -
rubygems
/ specification (108) -
rubygems
/ uninstaller (12) -
rubygems
/ validator (24) - shell (24)
-
shell
/ command-processor (24) -
shell
/ filter (18) - socket (24)
- tempfile (12)
- uri (60)
-
webrick
/ httpauth / htdigest (12) -
webrick
/ httpauth / htgroup (12) -
webrick
/ httprequest (24) - win32ole (12)
- zlib (12)
クラス
-
ARGF
. class (24) - Addrinfo (12)
-
CGI
:: Cookie (24) - CSV (24)
-
Digest
:: Base (12) - Dir (24)
-
Encoding
:: Converter (12) - Exception (24)
- File (24)
-
File
:: Stat (24) -
Gem
:: Commands :: LockCommand (12) -
Gem
:: Commands :: UnpackCommand (12) -
Gem
:: Commands :: WhichCommand (24) -
Gem
:: ConfigFile (24) -
Gem
:: Format (24) -
Gem
:: GemPathSearcher (72) -
Gem
:: Indexer (12) -
Gem
:: OldFormat (24) -
Gem
:: RemoteFetcher (36) -
Gem
:: SourceInfoCache (12) -
Gem
:: Specification (108) -
Gem
:: Uninstaller (12) -
Gem
:: Validator (24) - IO (18)
-
IRB
:: Context (12) - LoadError (12)
- Logger (12)
-
Net
:: FTP :: MLSxEntry (10) -
Net
:: HTTP (108) -
Net
:: HTTPGenericRequest (36) -
Net
:: HTTPResponse (12) -
OpenSSL
:: SSL :: SSLContext (12) - OptionParser (24)
- PStore (12)
- Pathname (374)
- Proc (12)
-
RDoc
:: Options (24) -
REXML
:: Attribute (12) -
REXML
:: Element (48) -
Rake
:: Application (12) -
Rake
:: PackageTask (12) -
RubyVM
:: InstructionSequence (36) - Shell (24)
-
Shell
:: CommandProcessor (24) -
Shell
:: Filter (18) - String (48)
- SyntaxError (3)
- Tempfile (12)
- Thread (24)
-
Thread
:: Backtrace :: Location (48) - TracePoint (24)
- UNIXSocket (12)
-
URI
:: Generic (48) -
URI
:: HTTP (12) -
WEBrick
:: Cookie (12) -
WEBrick
:: HTTPAuth :: Htdigest (12) -
WEBrick
:: HTTPAuth :: Htgroup (12) -
WEBrick
:: HTTPRequest (24) -
WIN32OLE
_ TYPELIB (12) -
Zlib
:: GzipFile (12)
モジュール
-
CGI
:: QueryExtension (24) -
Gem
:: QuickLoader (24) -
Gem
:: RequirePathsBuilder (12) - Kernel (72)
-
Rake
:: TaskManager (12)
キーワード
- <=> (12)
-
absolute
_ path (24) -
backtrace
_ locations (24) - binread (12)
- binwrite (12)
-
body
_ stream (12) -
body
_ stream= (12) -
ca
_ path (24) - chmod (12)
- chown (12)
- convpath (12)
-
create
_ makefile (12) -
create
_ rule (12) - delete (12)
-
dir
_ config (12) -
each
_ line (24) - extensions= (12)
- extname (12)
-
extra
_ rdoc _ files= (12) -
fetch
_ path (12) - file (12)
- filename (12)
- find (34)
-
find
_ all (12) -
find
_ executable (12) -
find
_ paths (12) - flush (24)
- fnmatch (12)
- fnmatch? (12)
- formatter (12)
- ftype (12)
-
full
_ gem _ path (12) - gem (12)
-
gem
_ path (24) -
gem
_ path= (24) -
gem
_ paths (12) - get (24)
- get2 (24)
-
get
_ elements (12) -
get
_ file _ uri _ path (12) -
get
_ path (12) -
get
_ text (12) - glob (16)
- grpowned? (12)
- hash (12)
- hierarchical? (12)
-
init
_ gemspecs (12) - inspect (36)
-
installation
_ path (12) -
irb
_ path (12) - join (12)
- lchmod (12)
- lchown (12)
-
lib
_ dirs _ for (12) - libpathflag (12)
-
link
_ command (12) -
loaded
_ from= (12) -
matching
_ file? (12) -
matching
_ files (12) - mkdir (12)
-
open
_ uri _ or _ path (12) -
original
_ dir (12) -
package
_ dir _ path (12) -
page
_ dir (12) - paranoid (12)
- patch (12)
- path= (36)
-
path
_ info (24) -
path
_ ok? (12) -
path
_ translated (12) - pathconf (12)
- pathmap (12)
-
pathmap
_ explode (12) -
pathmap
_ partial (12) -
pathmap
_ replace (12) - pathname (10)
- post (12)
-
program
_ name (12) -
program
_ name= (12) -
push
_ all _ highest _ version _ gems _ on _ load _ path (12) -
push
_ gem _ version _ on _ load _ path (12) - read (12)
-
read
_ body (12) - readlines (12)
- readlink (18)
-
remove
_ leading _ dot _ dir (12) -
request
_ get (24) -
request
_ uri (12) -
require
_ path (12) -
require
_ path= (12) -
require
_ paths (12) -
require
_ paths= (12) - select (12)
-
set
_ backtrace (12) - setgid? (12)
- size (12)
- size? (12)
-
source
_ location (12) -
spec
_ path (12) - split (18)
-
static
_ path (12) - sysopen (12)
- text (12)
-
to
_ json (12) -
to
_ path (39) -
to
_ s (24) - truncate (42)
-
try
_ file (12) -
unix
_ path (12) - unlink (12)
- utime (12)
-
verify
_ gem _ file (12) - write (12)
-
write
_ require _ paths _ file _ if _ needed (12) - xpath (24)
検索結果
先頭5件
-
URI
:: Generic # path -> String | nil (21248.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 #=> n......il
p URI('ftp://example.com/foo').path #=> 'foo'
p URI('ftp://example.com/%2Ffoo').path #=> '/foo'... -
Net
:: HTTPGenericRequest # path -> String (21224.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"
//}... -
Zlib
:: GzipFile # path -> String (21218.0) -
関連付けられている IO オブジェクトのパスを返します。 このメソッドは IO オブジェクトが path というメソッドを持つ場合のみ定義されます。
...関連付けられている IO オブジェクトのパスを返します。
このメソッドは IO オブジェクトが path というメソッドを持つ場合のみ定義されます。... -
CGI
:: Cookie # path -> String (21202.0) -
クッキーを適用するパスを返します。
クッキーを適用するパスを返します。 -
Gem
:: ConfigFile # path -> String (21202.0) -
Gem を探索するパスを返します。
...
Gem を探索するパスを返します。... -
IO
# path -> String | nil (18227.0) -
IO に関連付けられたパスを返します。IO がパスに関連付けられていない場合は nil を返します。
...が返すパスがファイルシステム上に存在することは保証されていません。
//emlist[例][ruby]{
p STDIN.path # => "<STDIN>"
p IO.new(IO.sysopen("/")).path # => "/"
p IO.new(IO.sysopen("/"), path: "foo").path # => "foo"
//}... -
CSV
# path -> String (18224.0) -
IO#path に委譲します。
...IO#path に委譲します。
@see IO#path... -
File
# path -> String (18221.0) -
オープン時に使用したパスを文字列で返します。
...作成されていたりする場合です。
//emlist[例][ruby]{
File.open("testfile") {|f| f.path } #=> "testfile"
File.open("/tmp/../tmp/xxx", "w") {|f| f.path } #=> "/tmp/../tmp/xxx"
File.open("/tmp", File::RDWR | File::TMPFILE){|f| f.path } #=> "/tmp"
//}......発生します。
//emlist[例][ruby]{
File.open("testfile") {|f| f.path } #=> "testfile"
File.open("/tmp/../tmp/xxx", "w") {|f| f.path } #=> "/tmp/../tmp/xxx"
File.open("/tmp", File::RDWR | File::TMPFILE){|f| f.path } # IOError: File is unnamed (TMPFILE?)
//}... -
RubyVM
:: InstructionSequence # path -> String (18220.0) -
self が表す命令シーケンスの相対パスを返します。
...ompiled>@<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 Ruby......VM::InstructionSequence#absolute_path... -
Dir
# path -> String (18215.0) -
オープンしているディレクトリのパス名を文字列で返します。
...オープンしているディレクトリのパス名を文字列で返します。
//emlist[例][ruby]{
Dir.open("..") do |d|
d.path # => ".."
d.to_path # => ".."
end
//}...