3556件ヒット
[1-100件を表示]
(0.064秒)
ライブラリ
- ビルトイン (325)
-
cgi
/ core (22) - csv (22)
- digest (11)
- etc (11)
-
irb
/ cmd / load (22) -
irb
/ context (22) -
json
/ add / exception (11) - logger (11)
- mkmf (88)
-
net
/ ftp (36) -
net
/ http (484) -
net
/ pop (11) - openssl (66)
- optparse (22)
- pathname (1144)
- pstore (11)
- rake (99)
-
rake
/ packagetask (11) -
rake
/ testtask (22) -
rexml
/ document (121) - rss (22)
- rubygems (33)
-
rubygems
/ commands / lock _ command (11) -
rubygems
/ commands / unpack _ command (11) -
rubygems
/ commands / which _ command (22) -
rubygems
/ config _ file (22) -
rubygems
/ custom _ require (11) -
rubygems
/ format (22) -
rubygems
/ gem _ path _ searcher (66) -
rubygems
/ indexer (11) -
rubygems
/ old _ format (22) -
rubygems
/ remote _ fetcher (33) -
rubygems
/ require _ paths _ builder (11) -
rubygems
/ source _ info _ cache (11) -
rubygems
/ specification (99) -
rubygems
/ uninstaller (11) -
rubygems
/ validator (22) - shell (90)
-
shell
/ command-processor (54) -
shell
/ filter (48) - socket (44)
- tempfile (55)
- uri (55)
-
webrick
/ httpauth / htdigest (11) -
webrick
/ httpauth / htgroup (11) -
webrick
/ httpauth / htpasswd (11) -
webrick
/ httprequest (33) -
webrick
/ httpserver (11) - win32ole (11)
- zlib (11)
クラス
-
ARGF
. class (22) - Addrinfo (33)
-
CGI
:: Cookie (22) - CSV (22)
-
Digest
:: Base (11) - Dir (22)
-
Encoding
:: Converter (11) - Exception (22)
- File (22)
-
File
:: Stat (22) -
Gem
:: Commands :: LockCommand (11) -
Gem
:: Commands :: UnpackCommand (11) -
Gem
:: Commands :: WhichCommand (22) -
Gem
:: ConfigFile (22) -
Gem
:: Format (22) -
Gem
:: GemPathSearcher (66) -
Gem
:: Indexer (11) -
Gem
:: OldFormat (22) -
Gem
:: RemoteFetcher (33) -
Gem
:: SourceInfoCache (11) -
Gem
:: Specification (99) -
Gem
:: Uninstaller (11) -
Gem
:: Validator (22) - IO (70)
-
IRB
:: Context (22) -
IRB
:: ExtendCommand :: Load (11) -
IRB
:: ExtendCommand :: Source (11) - LoadError (11)
- Logger (11)
-
Net
:: FTP (27) -
Net
:: FTP :: MLSxEntry (9) -
Net
:: HTTP (429) -
Net
:: HTTPGenericRequest (33) -
Net
:: HTTPResponse (22) -
Net
:: POP3 (11) -
OpenSSL
:: SSL :: SSLContext (44) -
OpenSSL
:: X509 :: Store (22) - OptionParser (22)
- PStore (11)
- Pathname (1133)
- Proc (11)
-
RDoc
:: Options (55) -
REXML
:: Attribute (11) -
REXML
:: Element (55) -
REXML
:: Elements (55) -
RSS
:: Rss :: Channel :: Cloud (22) -
Rake
:: Application (11) -
Rake
:: DefaultLoader (11) -
Rake
:: FileList (11) -
Rake
:: PackageTask (11) -
Rake
:: TestTask (22) -
RubyVM
:: InstructionSequence (44) - Shell (90)
-
Shell
:: CommandProcessor (54) -
Shell
:: Filter (48) - String (44)
- SyntaxError (2)
- Tempfile (55)
- Thread (22)
-
Thread
:: Backtrace :: Location (44) - TracePoint (22)
- UNIXSocket (11)
-
URI
:: Generic (44) -
URI
:: HTTP (11) -
WEBrick
:: Cookie (22) -
WEBrick
:: HTTPAuth :: Htdigest (11) -
WEBrick
:: HTTPAuth :: Htgroup (11) -
WEBrick
:: HTTPAuth :: Htpasswd (11) -
WEBrick
:: HTTPRequest (33) -
WEBrick
:: HTTPServer :: MountTable (11) -
WIN32OLE
_ TYPELIB (11) -
Zlib
:: GzipFile (11)
モジュール
-
CGI
:: QueryExtension (22) - FileUtils (11)
-
Gem
:: QuickLoader (22) -
Gem
:: RequirePathsBuilder (11) - Kernel (121)
-
Rake
:: TaskManager (11)
キーワード
- + (11)
-
/ (10) - <=> (22)
- == (11)
- === (11)
- Pathname (11)
- absolute? (11)
-
absolute
_ path (22) -
add
_ path (11) - ascend (22)
- atime (11)
-
backtrace
_ locations (22) - basename (11)
- binread (11)
- binwrite (11)
- birthtime (10)
- blockdev? (11)
-
body
_ stream (11) -
body
_ stream= (11) -
ca
_ file= (11) -
ca
_ path (22) -
ca
_ path= (22) - cd (6)
-
cert
_ store= (22) - chardev? (11)
- chdir (6)
- children (11)
- chmod (11)
- chown (11)
- cleanpath (11)
- close (11)
- close! (11)
- collect (11)
- convpath (11)
- copy (11)
-
create
_ makefile (11) -
create
_ rule (11) - ctime (11)
- delete (33)
-
delete
_ all (11) - descend (22)
-
dir
_ config (11) - directory? (11)
- dirname (11)
- each (11)
-
each
_ child (22) -
each
_ element (11) -
each
_ entry (13) -
each
_ filename (11) -
each
_ line (22) - empty? (8)
-
enable
_ ssl (11) - entries (11)
- eql? (11)
- executable? (11)
-
executable
_ real? (11) - execute (22)
- exist? (11)
- extensions= (11)
- extname (11)
-
extra
_ rdoc _ files= (11) -
family
_ addrinfo (22) - fdatasync (11)
-
fetch
_ path (11) - file (11)
- file? (11)
- filename (11)
- find (33)
-
find
_ all (11) -
find
_ executable (11) -
find
_ header (11) -
find
_ library (22) -
find
_ paths (11) - flush (44)
- fnmatch (11)
- fnmatch? (11)
- foreach (18)
- formatter (11)
- ftype (11)
-
full
_ gem _ path (11) - gem (11)
-
gem
_ path (22) -
gem
_ path= (22) -
gem
_ paths (11) - get (22)
- get2 (22)
-
get
_ elements (11) -
get
_ file _ uri _ path (11) -
get
_ path (11) -
get
_ text (11) - glob (14)
- grpowned? (11)
- hash (11)
- head (11)
- head2 (22)
- hierarchical? (11)
-
init
_ gemspecs (11) - inject (11)
- inspect (33)
-
installation
_ path (11) -
irb
_ path (11) -
irb
_ path= (11) - join (11)
- lchmod (11)
- lchown (11)
-
lib
_ dirs _ for (11) - libpathflag (11)
- libs (11)
- libs= (11)
-
link
_ command (11) - load (11)
-
loaded
_ from= (11) - lock (11)
- lstat (11)
-
make
_ link (11) -
make
_ symlink (11) -
matching
_ file? (11) -
matching
_ files (11) - mkcol (11)
- mkdir (29)
- mkpath (11)
- mlsd (18)
- mlst (9)
- mountpoint? (11)
- move (11)
- mtime (11)
- open (40)
-
open
_ uri _ or _ path (11) - opendir (22)
-
original
_ dir (11) - owned? (11)
-
package
_ dir _ path (11) -
page
_ dir (11) - paranoid (11)
- parent (11)
- patch (22)
- path= (55)
-
path
_ info (22) -
path
_ info= (11) -
path
_ ok? (11) -
path
_ translated (11) - pathconf (11)
- pathmap (22)
-
pathmap
_ explode (11) -
pathmap
_ partial (11) -
pathmap
_ replace (11) - pathname (9)
- pipe? (11)
- post (22)
- post2 (22)
-
program
_ name (11) -
program
_ name= (11) - propfind (11)
- proppatch (11)
-
push
_ all _ highest _ version _ gems _ on _ load _ path (11) -
push
_ gem _ version _ on _ load _ path (11) - pushd (6)
- pushdir (6)
- put (11)
- put2 (22)
- read (11)
-
read
_ body (22) - readable? (11)
-
readable
_ real? (11) - readlines (11)
- readlink (29)
- realdirpath (11)
- realpath (22)
- relative? (11)
-
relative
_ path _ from (11) -
remove
_ leading _ dot _ dir (11) - rename (11)
- reopen (33)
-
request
_ get (22) -
request
_ head (22) -
request
_ post (22) -
request
_ put (22) -
request
_ uri (11) - require (11)
-
require
_ path (11) -
require
_ path= (11) -
require
_ paths (11) -
require
_ paths= (11) - rmdir (29)
- rmtree (11)
- root (11)
- root? (11)
-
sanitize
_ path (11) - scan (11)
- select (11)
-
send
_ request (11) -
set
_ backtrace (11) -
set
_ default _ paths (11) -
set
_ params (11) - setgid? (11)
- setuid? (11)
- size (11)
- size? (22)
- socket? (11)
-
source
_ location (11) -
spec
_ path (11) - split (29)
-
split
_ all (11) - stat (11)
-
static
_ path (11) -
static
_ path= (11) - sticky? (11)
- sub (22)
-
sub
_ ext (11) - symlink? (11)
- sysopen (11)
-
system
_ path (6) -
system
_ path= (6) - text (11)
-
to
_ a (22) -
to
_ json (11) -
to
_ path (35) -
to
_ s (22) - trace (11)
- truncate (40)
-
try
_ file (11) -
unix
_ path (11) - unlink (40)
- unlock (11)
- utime (11)
-
verify
_ gem _ file (11) -
world
_ readable? (11) -
world
_ writable? (11) - writable? (11)
-
writable
_ real? (11) - write (11)
-
write
_ require _ paths _ file _ if _ needed (11) - xpath (22)
- zero? (11)
検索結果
先頭5件
-
URI
:: Generic # path -> String | nil (18148.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'... -
IO
# path -> String | nil (18127.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 (18124.0) -
IO#path に委譲します。
...IO#path に委譲します。
@see IO#path... -
Net
:: HTTPGenericRequest # path -> String (18124.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"
//}... -
File
# path -> String (18121.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 (18120.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... -
Zlib
:: GzipFile # path -> String (18118.0) -
関連付けられている IO オブジェクトのパスを返します。 このメソッドは IO オブジェクトが path というメソッドを持つ場合のみ定義されます。
...関連付けられている IO オブジェクトのパスを返します。
このメソッドは IO オブジェクトが path というメソッドを持つ場合のみ定義されます。... -
Dir
# path -> String (18115.0) -
オープンしているディレクトリのパス名を文字列で返します。
...オープンしているディレクトリのパス名を文字列で返します。
//emlist[例][ruby]{
Dir.open("..") do |d|
d.path # => ".."
d.to_path # => ".."
end
//}... -
Tempfile
# path -> String | nil (18114.0) -
テンポラリファイルのパス名を返します。
...テンポラリファイルのパス名を返します。
Tempfile#close! を実行後だった場合にはnilを返します。
require "tempfile"
tf = Tempfile.new("hoo")
p tf.path # => "/tmp/hoo.10596.0"
tf.close!
p tf.path # => nil... -
Thread
:: Backtrace :: Location # path -> String (18114.0) -
self が表すフレームのファイル名を返します。
...self が表すフレームのファイル名を返します。
例: Thread::Backtrace::Location の例1を用いた例
//emlist[][ruby]{
loc = c(0..1).first
loc.path # => "caller_locations.rb"
//}
@see Thread::Backtrace::Location#absolute_path...