2963件ヒット
[1-100件を表示]
(0.087秒)
ライブラリ
- ビルトイン (246)
-
cgi
/ core (12) - csv (12)
- digest (12)
- etc (12)
-
irb
/ cmd / load (24) -
irb
/ context (12) - logger (12)
- mkmf (96)
-
net
/ ftp (40) -
net
/ http (444) -
net
/ pop (12) - openssl (72)
- pathname (901)
- rake (108)
-
rake
/ testtask (24) -
rexml
/ document (132) - rss (24)
- rubygems (36)
-
rubygems
/ commands / lock _ command (12) -
rubygems
/ commands / unpack _ command (12) -
rubygems
/ config _ file (24) -
rubygems
/ custom _ require (12) -
rubygems
/ gem _ path _ searcher (60) -
rubygems
/ old _ format (24) -
rubygems
/ remote _ fetcher (36) -
rubygems
/ require _ paths _ builder (12) -
rubygems
/ source _ info _ cache (12) -
rubygems
/ specification (48) -
rubygems
/ uninstaller (12) -
rubygems
/ validator (24) - shell (90)
-
shell
/ command-processor (54) -
shell
/ filter (48) - socket (24)
- tempfile (60)
- uri (36)
-
webrick
/ httpauth / htdigest (12) -
webrick
/ httpauth / htgroup (12) -
webrick
/ httpauth / htpasswd (12) -
webrick
/ httprequest (12) -
webrick
/ httpserver (12) - win32ole (12)
- zlib (12)
クラス
-
ARGF
. class (24) - Addrinfo (24)
-
CGI
:: Cookie (12) - CSV (12)
-
Digest
:: Base (12) - Exception (12)
- File (24)
-
File
:: Stat (24) -
Gem
:: Commands :: LockCommand (12) -
Gem
:: Commands :: UnpackCommand (12) -
Gem
:: ConfigFile (24) -
Gem
:: GemPathSearcher (60) -
Gem
:: OldFormat (24) -
Gem
:: RemoteFetcher (36) -
Gem
:: SourceInfoCache (12) -
Gem
:: Specification (48) -
Gem
:: Uninstaller (12) -
Gem
:: Validator (24) - IO (66)
-
IRB
:: Context (12) -
IRB
:: ExtendCommand :: Load (12) -
IRB
:: ExtendCommand :: Source (12) - LoadError (12)
- Logger (12)
-
Net
:: FTP (30) -
Net
:: FTP :: MLSxEntry (10) -
Net
:: HTTP (432) -
Net
:: HTTPResponse (12) -
Net
:: POP3 (12) -
OpenSSL
:: SSL :: SSLContext (48) -
OpenSSL
:: X509 :: Store (24) - Pathname (889)
- Proc (12)
-
RDoc
:: Options (24) -
REXML
:: Attribute (12) -
REXML
:: Element (60) -
REXML
:: Elements (60) -
RSS
:: Rss :: Channel :: Cloud (24) -
Rake
:: Application (12) -
Rake
:: DefaultLoader (12) -
Rake
:: FileList (12) -
Rake
:: TestTask (24) -
RubyVM
:: InstructionSequence (12) - Shell (90)
-
Shell
:: CommandProcessor (54) -
Shell
:: Filter (48) - String (48)
- Tempfile (60)
- Thread (24)
-
Thread
:: Backtrace :: Location (48) -
URI
:: Generic (36) -
WEBrick
:: Cookie (12) -
WEBrick
:: HTTPAuth :: Htdigest (12) -
WEBrick
:: HTTPAuth :: Htgroup (12) -
WEBrick
:: HTTPAuth :: Htpasswd (12) -
WEBrick
:: HTTPRequest (12) -
WEBrick
:: HTTPServer :: MountTable (12) -
WIN32OLE
_ TYPELIB (12) -
Zlib
:: GzipFile (12)
モジュール
-
CGI
:: QueryExtension (12) - FileUtils (12)
-
Gem
:: QuickLoader (24) -
Gem
:: RequirePathsBuilder (12) - Kernel (132)
-
Rake
:: TaskManager (12)
キーワード
- <=> (24)
- == (12)
- === (12)
- Pathname (12)
- absolute? (12)
-
absolute
_ path (24) -
add
_ path (12) - ascend (12)
-
backtrace
_ locations (24) - binread (12)
- binwrite (12)
- blockdev? (12)
-
ca
_ file= (12) -
ca
_ path (24) -
ca
_ path= (12) - cd (6)
-
cert
_ store= (12) - chardev? (12)
- chdir (6)
- children (12)
- cleanpath (12)
- close (12)
- close! (12)
- collect (12)
- copy (12)
-
create
_ makefile (12) -
create
_ rule (12) - delete (36)
-
delete
_ all (12) - descend (12)
-
dir
_ config (12) - directory? (12)
- each (12)
-
each
_ child (24) -
each
_ element (12) -
each
_ entry (12) -
each
_ filename (12) -
each
_ line (24) - empty? (9)
-
enable
_ ssl (12) - eql? (12)
- executable? (12)
-
executable
_ real? (12) - execute (24)
- exist? (12)
-
extra
_ rdoc _ files= (12) -
family
_ addrinfo (24) -
fetch
_ path (12) - file (12)
- file? (12)
- filename (12)
- find (24)
-
find
_ all (12) -
find
_ executable (12) -
find
_ header (12) -
find
_ library (24) - flush (48)
- fnmatch (12)
- fnmatch? (12)
- foreach (18)
- formatter (12)
-
full
_ gem _ path (12) - gem (12)
-
gem
_ path (12) -
gem
_ path= (12) - get (24)
- get2 (24)
-
get
_ elements (12) -
get
_ file _ uri _ path (12) -
get
_ path (12) -
get
_ text (12) - glob (16)
- grpowned? (12)
- head (12)
- head2 (24)
- hierarchical? (12)
- inject (12)
- inspect (12)
-
installation
_ path (12) -
irb
_ path= (12) - lchmod (12)
- lchown (12)
-
lib
_ dirs _ for (12) - libpathflag (12)
- libs (12)
- libs= (12)
-
link
_ command (12) - load (12)
-
loaded
_ from= (12) - lock (12)
- lstat (12)
-
make
_ link (12) -
make
_ symlink (12) -
matching
_ file? (12) -
matching
_ files (12) - mkcol (12)
- mkdir (18)
- mkpath (12)
- mlsd (20)
- mlst (10)
- mountpoint? (12)
- move (12)
- open (42)
-
open
_ uri _ or _ path (12) - opendir (12)
-
original
_ dir (12) - owned? (12)
-
page
_ dir (12) - patch (24)
- path= (48)
-
path
_ info= (12) -
path
_ ok? (12) -
path
_ translated (12) - pathconf (12)
- pathmap (24)
-
pathmap
_ explode (12) -
pathmap
_ partial (12) -
pathmap
_ replace (12) - pathname (10)
- pipe? (12)
- post (24)
- post2 (24)
- proppatch (12)
-
push
_ all _ highest _ version _ gems _ on _ load _ path (12) -
push
_ gem _ version _ on _ load _ path (12) - pushd (6)
- pushdir (6)
- put (12)
- put2 (24)
- read (12)
-
read
_ body (12) - readable? (12)
-
readable
_ real? (12) - readlines (12)
- readlink (30)
- realdirpath (12)
- realpath (24)
- relative? (12)
-
relative
_ path _ from (12) -
remove
_ leading _ dot _ dir (12) - reopen (36)
-
request
_ get (24) -
request
_ head (24) -
request
_ post (24) -
request
_ put (24) - require (12)
- rmdir (18)
- rmtree (12)
- root? (12)
- scan (12)
- select (12)
-
send
_ request (12) -
set
_ backtrace (12) -
set
_ default _ paths (12) -
set
_ params (12) - setgid? (12)
- setuid? (12)
- size? (24)
- socket? (12)
-
source
_ location (12) -
spec
_ path (12) - split (30)
-
split
_ all (12) - stat (12)
-
static
_ path= (12) - sticky? (12)
- sub (12)
-
sub
_ ext (12) - symlink? (12)
-
system
_ path (6) -
system
_ path= (6) - text (12)
-
to
_ a (12) -
to
_ path (15) -
to
_ s (12) - trace (12)
- truncate (42)
-
try
_ file (12) - unlink (42)
- unlock (12)
-
verify
_ gem _ file (12) -
world
_ readable? (12) -
world
_ writable? (12) - writable? (12)
-
writable
_ real? (12) - write (12)
-
write
_ require _ paths _ file _ if _ needed (12) - xpath (24)
- zero? (12)
検索結果
先頭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'...