2729件ヒット
[1-100件を表示]
(0.159秒)
ライブラリ
- ビルトイン (224)
-
cgi
/ core (11) - csv (11)
- digest (11)
- etc (11)
-
irb
/ cmd / load (22) -
irb
/ context (11) - logger (11)
- mkmf (88)
-
net
/ ftp (36) -
net
/ http (407) -
net
/ pop (11) - openssl (66)
- pathname (825)
- rake (99)
-
rake
/ testtask (22) -
rexml
/ document (121) - rss (22)
- rubygems (33)
-
rubygems
/ commands / lock _ command (11) -
rubygems
/ commands / unpack _ command (11) -
rubygems
/ config _ file (22) -
rubygems
/ custom _ require (11) -
rubygems
/ gem _ path _ searcher (55) -
rubygems
/ old _ format (22) -
rubygems
/ remote _ fetcher (33) -
rubygems
/ require _ paths _ builder (11) -
rubygems
/ source _ info _ cache (11) -
rubygems
/ specification (44) -
rubygems
/ uninstaller (11) -
rubygems
/ validator (22) - shell (90)
-
shell
/ command-processor (54) -
shell
/ filter (48) - socket (22)
- tempfile (55)
- uri (33)
-
webrick
/ httpauth / htdigest (11) -
webrick
/ httpauth / htgroup (11) -
webrick
/ httpauth / htpasswd (11) -
webrick
/ httprequest (11) -
webrick
/ httpserver (11) - win32ole (11)
- zlib (11)
クラス
-
ARGF
. class (22) - Addrinfo (22)
-
CGI
:: Cookie (11) - CSV (11)
-
Digest
:: Base (11) - Exception (11)
- File (22)
-
File
:: Stat (22) -
Gem
:: Commands :: LockCommand (11) -
Gem
:: Commands :: UnpackCommand (11) -
Gem
:: ConfigFile (22) -
Gem
:: GemPathSearcher (55) -
Gem
:: OldFormat (22) -
Gem
:: RemoteFetcher (33) -
Gem
:: SourceInfoCache (11) -
Gem
:: Specification (44) -
Gem
:: Uninstaller (11) -
Gem
:: Validator (22) - IO (59)
-
IRB
:: Context (11) -
IRB
:: ExtendCommand :: Load (11) -
IRB
:: ExtendCommand :: Source (11) - LoadError (11)
- Logger (11)
-
Net
:: FTP (27) -
Net
:: FTP :: MLSxEntry (9) -
Net
:: HTTP (396) -
Net
:: HTTPResponse (11) -
Net
:: POP3 (11) -
OpenSSL
:: SSL :: SSLContext (44) -
OpenSSL
:: X509 :: Store (22) - Pathname (814)
- Proc (11)
-
RDoc
:: Options (22) -
REXML
:: Attribute (11) -
REXML
:: Element (55) -
REXML
:: Elements (55) -
RSS
:: Rss :: Channel :: Cloud (22) -
Rake
:: Application (11) -
Rake
:: DefaultLoader (11) -
Rake
:: FileList (11) -
Rake
:: TestTask (22) -
RubyVM
:: InstructionSequence (11) - Shell (90)
-
Shell
:: CommandProcessor (54) -
Shell
:: Filter (48) - String (44)
- Tempfile (55)
- Thread (22)
-
Thread
:: Backtrace :: Location (44) -
URI
:: Generic (33) -
WEBrick
:: Cookie (11) -
WEBrick
:: HTTPAuth :: Htdigest (11) -
WEBrick
:: HTTPAuth :: Htgroup (11) -
WEBrick
:: HTTPAuth :: Htpasswd (11) -
WEBrick
:: HTTPRequest (11) -
WEBrick
:: HTTPServer :: MountTable (11) -
WIN32OLE
_ TYPELIB (11) -
Zlib
:: GzipFile (11)
モジュール
-
CGI
:: QueryExtension (11) - FileUtils (11)
-
Gem
:: QuickLoader (22) -
Gem
:: RequirePathsBuilder (11) - Kernel (121)
-
Rake
:: TaskManager (11)
キーワード
- <=> (22)
- == (11)
- === (11)
- Pathname (11)
- absolute? (11)
-
absolute
_ path (22) -
add
_ path (11) - ascend (11)
-
backtrace
_ locations (22) - binread (11)
- binwrite (11)
- blockdev? (11)
-
ca
_ file= (11) -
ca
_ path (22) -
ca
_ path= (11) - cd (6)
-
cert
_ store= (11) - chardev? (11)
- chdir (6)
- children (11)
- cleanpath (11)
- close (11)
- close! (11)
- collect (11)
- copy (11)
-
create
_ makefile (11) -
create
_ rule (11) - delete (33)
-
delete
_ all (11) - descend (11)
-
dir
_ config (11) - directory? (11)
- each (11)
-
each
_ child (22) -
each
_ element (11) -
each
_ entry (11) -
each
_ filename (11) -
each
_ line (22) - empty? (8)
-
enable
_ ssl (11) - eql? (11)
- executable? (11)
-
executable
_ real? (11) - execute (22)
- exist? (11)
-
extra
_ rdoc _ files= (11) -
family
_ addrinfo (22) -
fetch
_ path (11) - file (11)
- file? (11)
- filename (11)
- find (22)
-
find
_ all (11) -
find
_ executable (11) -
find
_ header (11) -
find
_ library (22) - flush (44)
- fnmatch (11)
- fnmatch? (11)
- foreach (18)
- formatter (11)
-
full
_ gem _ path (11) - gem (11)
-
gem
_ path (11) -
gem
_ path= (11) - get (22)
- get2 (22)
-
get
_ elements (11) -
get
_ file _ uri _ path (11) -
get
_ path (11) -
get
_ text (11) - glob (14)
- grpowned? (11)
- head (11)
- head2 (22)
- hierarchical? (11)
- inject (11)
- inspect (11)
-
installation
_ path (11) -
irb
_ path= (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 (18)
- mkpath (11)
- mlsd (18)
- mlst (9)
- mountpoint? (11)
- move (11)
- open (40)
-
open
_ uri _ or _ path (11) - opendir (11)
-
original
_ dir (11) - owned? (11)
-
page
_ dir (11) - patch (22)
- path= (44)
-
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)
- 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 (11) - readable? (11)
-
readable
_ real? (11) - readlines (11)
- readlink (29)
- realdirpath (11)
- realpath (22)
- relative? (11)
-
relative
_ path _ from (11) -
remove
_ leading _ dot _ dir (11) - reopen (33)
-
request
_ get (22) -
request
_ head (22) -
request
_ post (22) -
request
_ put (22) - require (11)
- rmdir (18)
- rmtree (11)
- root? (11)
- scan (11)
- select (11)
-
send
_ request (11) -
set
_ backtrace (11) -
set
_ default _ paths (11) -
set
_ params (11) - setgid? (11)
- setuid? (11)
- size? (22)
- socket? (11)
-
source
_ location (11) -
spec
_ path (11) - split (29)
-
split
_ all (11) - stat (11)
-
static
_ path= (11) - sticky? (11)
- sub (11)
-
sub
_ ext (11) - symlink? (11)
-
system
_ path (6) -
system
_ path= (6) - text (11)
-
to
_ a (11) -
to
_ path (13) -
to
_ s (11) - trace (11)
- truncate (40)
-
try
_ file (11) - unlink (40)
- unlock (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件
-
Tempfile
# path -> String | nil (21214.0) -
テンポラリファイルのパス名を返します。
...テンポラリファイルのパス名を返します。
Tempfile#close! を実行後だった場合にはnilを返します。
require "tempfile"
tf = Tempfile.new("hoo")
p tf.path # => "/tmp/hoo.10596.0"
tf.close!
p tf.path # => nil... -
LoadError
# path -> String | nil (21208.0) -
Kernel.#require や Kernel.#load に失敗したパスを返します。
...Kernel.#require や Kernel.#load に失敗したパスを返します。
begin
require 'this/file/does/not/exist'
rescue LoadError => e
e.path # => 'this/file/does/not/exist'
end
パスが定まらない場合は nil を返します。... -
File
# path -> String (21121.0) -
オープン時に使用したパスを文字列で返します。
...self に対応するファイルを指しているとは限りません。
たとえば、ファイルが移動されていたり、削除されていたり、
File::Constants::TMPFILEオプション付きで作成されていたりする場合です。
//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"
//}......字列で返します。
パスは self に対応するファイルを指しているとは限りません。
たとえば、ファイルが移動されていたり、削除されていたりする場合です。
@raise IOError TMPFILE File::Constants::TMPFILEオプション付きで作成され......発生します。
//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?)
//}... -
Zlib
:: GzipFile # path -> String (21118.0) -
関連付けられている IO オブジェクトのパスを返します。 このメソッドは IO オブジェクトが path というメソッドを持つ場合のみ定義されます。
...関連付けられている IO オブジェクトのパスを返します。
このメソッドは IO オブジェクトが path というメソッドを持つ場合のみ定義されます。... -
Thread
:: Backtrace :: Location # path -> String (21114.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... -
WIN32OLE
_ TYPELIB # path -> String (21108.0) -
TypeLibのパス名を取得します。
...TypeLibのパス名を取得します。
@return TypeLibのパス名を文字列で返します。この値はレジストリの登録値を
そのまま利用するため、Rubyのパス名形式(ディレクトリ区切りは
「/」)ではなく、Windowsのパス名形式(......OLERuntimeError TypeLibの属性が読み取れない場合に通知します。
tlib = WIN32OLE_TYPELIB.new('Microsoft Excel 14.0 Object Library')
puts tlib.path # => 'C:\...\EXCEL.EXE'
TypeLibは拡張子TLB(まれにOLB)という独立したファイルの場合と、サーバの
DLL... -
RSS
:: Rss :: Channel :: Cloud # path (21103.0) -
@todo
@todo -
Gem
:: ConfigFile # path -> String (21102.0) -
Gem を探索するパスを返します。
Gem を探索するパスを返します。 -
URI
:: Generic # path -> String | nil (18248.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'... -
IO
# path -> String | nil (18227.0) -
IO に関連付けられたパスを返します。IO がパスに関連付けられていない場合は nil を返します。
...ていない場合は nil を返します。
このメソッドが返すパスがファイルシステム上に存在することは保証されていません。
//emlist[例][ruby]{
p STDIN.path # => "<STDIN>"
p IO.new(IO.sysopen("/")).path # => "/"......p IO.new(IO.sysopen("/"), path: "foo").path # => "foo"
//}...