- すべて(4138)
- 2.1.0(655)
- 2.2.0(712)
- 2.3.0(716)
- 2.4.0(679)
- 2.5.0(688)
- 2.6.0(688)

![条件を削除 [x]](/images/drop-condition-icon.png)
種類
ライブラリ
- ビルトイン (786)
-
cgi
/ core (18) -
cgi
/ session (6) - csv (66)
- digest (12)
- etc (280)
- fileutils (30)
- irb (6)
-
irb
/ cmd / load (12) -
irb
/ context (18) -
irb
/ input-method (6) -
irb
/ magic-file (12) -
json
/ add / exception (6) - mkmf (48)
- multi-tk (15)
-
net
/ ftp (16) -
net
/ http (294) -
net
/ pop (18) - open-uri (12)
- openssl (78)
- pathname (659)
- pstore (6)
- rake (42)
-
rake
/ packagetask (6) -
rake
/ testtask (12) -
rdoc
/ markup / to _ html _ crossref (6) -
rexml
/ document (96) - rss (12)
- rubygems (48)
-
rubygems
/ commands / lock _ command (6) -
rubygems
/ commands / unpack _ command (6) -
rubygems
/ commands / which _ command (12) -
rubygems
/ config _ file (12) -
rubygems
/ custom _ require (6) -
rubygems
/ defaults (6) -
rubygems
/ ext / builder (6) -
rubygems
/ ext / configure _ builder (6) -
rubygems
/ ext / ext _ conf _ builder (6) -
rubygems
/ ext / rake _ builder (6) -
rubygems
/ format (30) -
rubygems
/ gem _ path _ searcher (48) -
rubygems
/ indexer (6) -
rubygems
/ installer (12) -
rubygems
/ old _ format (30) -
rubygems
/ remote _ fetcher (18) -
rubygems
/ require _ paths _ builder (12) -
rubygems
/ security (12) -
rubygems
/ source _ index (6) -
rubygems
/ source _ info _ cache (6) -
rubygems
/ specification (60) -
rubygems
/ uninstaller (6) -
rubygems
/ validator (18) - shell (120)
-
shell
/ command-processor (60) -
shell
/ filter (48) - socket (180)
- tcltklib (3)
- tempfile (60)
- tk (21)
-
tk
/ canvas (6) -
tk
/ canvastag (3) -
tk
/ composite (3) -
tk
/ font (9) -
tk
/ namespace (18) -
tk
/ package (3) -
tk
/ root (3) -
tkextlib
/ tcllib / tablelist _ core (48) -
tkextlib
/ tcllib / tooltip (12) - tkutil (3)
- uri (138)
-
webrick
/ httpauth / htdigest (12) -
webrick
/ httpauth / htgroup (12) -
webrick
/ httpauth / htpasswd (12) -
webrick
/ httprequest (18) -
webrick
/ httpserver (12) -
webrick
/ httpservlet / filehandler (6) -
webrick
/ httputils (6) -
webrick
/ ssl (6) -
win32
/ resolv (6) - win32ole (6)
-
xmlrpc
/ client (15) - zlib (6)
クラス
-
ARGF
. class (12) - Addrinfo (24)
- CGI (6)
-
CGI
:: Cookie (18) -
CGI
:: Session (6) - CSV (60)
-
Digest
:: Base (12) - Dir (165)
-
Encoding
:: Converter (30) - Exception (12)
- File (249)
-
File
:: Stat (18) -
Gem
:: Commands :: LockCommand (6) -
Gem
:: Commands :: UnpackCommand (6) -
Gem
:: Commands :: WhichCommand (12) -
Gem
:: ConfigFile (12) -
Gem
:: Ext :: Builder (6) -
Gem
:: Ext :: ConfigureBuilder (6) -
Gem
:: Ext :: ExtConfBuilder (6) -
Gem
:: Ext :: RakeBuilder (6) -
Gem
:: Format (30) -
Gem
:: GemPathSearcher (42) -
Gem
:: Indexer (6) -
Gem
:: Installer (12) -
Gem
:: OldFormat (30) -
Gem
:: RemoteFetcher (18) -
Gem
:: Security :: Policy (6) -
Gem
:: SourceIndex (6) -
Gem
:: SourceInfoCache (6) -
Gem
:: Specification (60) -
Gem
:: Uninstaller (6) -
Gem
:: Validator (18) - IO (113)
-
IRB
:: Context (12) -
IRB
:: ExtendCommand :: Load (6) -
IRB
:: ExtendCommand :: Source (6) -
IRB
:: FileInputMethod (6) - LoadError (6)
- MultiTkIp (15)
-
Net
:: FTP (12) -
Net
:: FTP :: MLSxEntry (4) -
Net
:: HTTP (270) -
Net
:: HTTPGenericRequest (6) -
Net
:: HTTPRequest (6) -
Net
:: HTTPResponse (12) -
Net
:: POP3 (18) -
OpenSSL
:: SSL :: SSLContext (30) -
OpenSSL
:: X509 :: Store (12) - PStore (6)
- Pathname (647)
- Proc (6)
-
RDoc
:: Markup :: ToHtmlCrossref (6) -
RDoc
:: Options (30) -
REXML
:: Attribute (6) -
REXML
:: Element (30) -
REXML
:: Elements (30) -
REXML
:: XPath (18) -
RSS
:: Rss :: Channel :: Cloud (12) -
Rake
:: Application (6) -
Rake
:: FileList (6) -
Rake
:: PackageTask (6) -
Rake
:: TestTask (12) -
RubyVM
:: InstructionSequence (42) - Shell (120)
-
Shell
:: CommandProcessor (60) -
Shell
:: Filter (48) - Socket (72)
- String (24)
- TclTkIp (3)
- Tempfile (60)
-
Thread
:: Backtrace :: Location (12) -
Tk
:: Tcllib :: Tablelist (48) - TkCanvas (6)
- TkFont (9)
- TkNamespace (15)
-
TkNamespace
:: NsCode (3) - TkObject (6)
- TkPackage (3)
- TkRoot (3)
- TracePoint (6)
- UNIXServer (24)
- UNIXSocket (30)
-
URI
:: FTP (24) -
URI
:: Generic (60) -
URI
:: HTTP (24) -
URI
:: LDAP (6) -
URI
:: MailTo (6) -
WEBrick
:: Cookie (24) -
WEBrick
:: HTTPAuth :: Htdigest (12) -
WEBrick
:: HTTPAuth :: Htgroup (12) -
WEBrick
:: HTTPAuth :: Htpasswd (12) -
WEBrick
:: HTTPRequest (18) -
WEBrick
:: HTTPServer (6) -
WEBrick
:: HTTPServer :: MountTable (6) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (6) -
WIN32OLE
_ TYPELIB (6) -
Win32
:: Resolv (6) -
XMLRPC
:: Client (15) -
Zlib
:: GzipFile (6)
モジュール
-
CGI
:: QueryExtension (12) - Etc (275)
-
File
:: Constants (6) - FileTest (12)
- FileUtils (36)
- Gem (30)
-
Gem
:: QuickLoader (18) -
Gem
:: RequirePathsBuilder (6) -
Gem
:: Security (6) - IRB (6)
- Kernel (162)
-
OpenSSL
:: X509 (30) - OpenURI (12)
-
Socket
:: Constants (30) - Tk (15)
-
Tk
:: BWidget (12) -
Tk
:: Tcllib :: Tooltip (12) - TkComm (3)
- TkComposite (3)
- TkcTagAccess (3)
- URI (18)
-
WEBrick
:: Config (6) -
WEBrick
:: HTTPUtils (6)
オブジェクト
- ENV (6)
-
IRB
:: MagicFile (12)
キーワード
-
$ -I (6) -
$ : (6) -
$ LOAD _ PATH (6) - & (3)
- + (6)
-
/ (5) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (6) - <=> (12)
- == (6)
- === (6)
-
AUTO
_ PATH (3) - CSV (6)
-
CS
_ GNU _ LIBC _ VERSION (5) -
CS
_ GNU _ LIBPTHREAD _ VERSION (5) -
CS
_ PATH (5) -
CS
_ POSIX _ V6 _ ILP32 _ OFF32 _ CFLAGS (5) -
CS
_ POSIX _ V6 _ ILP32 _ OFF32 _ LDFLAGS (5) -
CS
_ POSIX _ V6 _ ILP32 _ OFF32 _ LIBS (5) -
CS
_ POSIX _ V6 _ ILP32 _ OFFBIG _ CFLAGS (5) -
CS
_ POSIX _ V6 _ ILP32 _ OFFBIG _ LDFLAGS (5) -
CS
_ POSIX _ V6 _ ILP32 _ OFFBIG _ LIBS (5) -
CS
_ POSIX _ V6 _ LP64 _ OFF64 _ CFLAGS (5) -
CS
_ POSIX _ V6 _ LP64 _ OFF64 _ LDFLAGS (5) -
CS
_ POSIX _ V6 _ LP64 _ OFF64 _ LIBS (5) -
CS
_ POSIX _ V6 _ LPBIG _ OFFBIG _ CFLAGS (5) -
CS
_ POSIX _ V6 _ LPBIG _ OFFBIG _ LDFLAGS (5) -
CS
_ POSIX _ V6 _ LPBIG _ OFFBIG _ LIBS (5) -
CS
_ POSIX _ V6 _ WIDTH _ RESTRICTED _ ENVS (5) -
CS
_ POSIX _ V7 _ ILP32 _ OFF32 _ CFLAGS (5) -
CS
_ POSIX _ V7 _ ILP32 _ OFF32 _ LDFLAGS (5) -
CS
_ POSIX _ V7 _ ILP32 _ OFF32 _ LIBS (5) -
CS
_ POSIX _ V7 _ ILP32 _ OFFBIG _ CFLAGS (5) -
CS
_ POSIX _ V7 _ ILP32 _ OFFBIG _ LDFLAGS (5) -
CS
_ POSIX _ V7 _ ILP32 _ OFFBIG _ LIBS (5) -
CS
_ POSIX _ V7 _ LP64 _ OFF64 _ CFLAGS (5) -
CS
_ POSIX _ V7 _ LP64 _ OFF64 _ LDFLAGS (5) -
CS
_ POSIX _ V7 _ LP64 _ OFF64 _ LIBS (5) -
CS
_ POSIX _ V7 _ LPBIG _ OFFBIG _ CFLAGS (5) -
CS
_ POSIX _ V7 _ LPBIG _ OFFBIG _ LDFLAGS (5) -
CS
_ POSIX _ V7 _ LPBIG _ OFFBIG _ LIBS (5) -
CS
_ POSIX _ V7 _ THREADS _ CFLAGS (5) -
CS
_ POSIX _ V7 _ THREADS _ LDFLAGS (5) -
CS
_ POSIX _ V7 _ WIDTH _ RESTRICTED _ ENVS (5) -
CS
_ V6 _ ENV (5) -
CS
_ V7 _ ENV (5) - Context (6)
- Cookie (6)
-
DEFAULT
_ CERT _ STORE (6) - DOSISH 対応 (6)
- ENV (6)
- ErrorData (6)
-
FNM
_ PATHNAME (6) - GemPathSearcher (6)
- GemPaths (6)
-
IFF
_ OVS _ DATAPATH (12) -
IPV6
_ PATHMTU (12) -
IPV6
_ RECVPATHMTU (12) -
IP
_ MTU _ DISCOVER (12) -
LIBRARY
_ PATH (3) -
MSG
_ CONFIRM (12) -
NEWS for Ruby 2
. 0 . 0 (6) -
NEWS for Ruby 2
. 1 . 0 (6) -
NEWS for Ruby 2
. 5 . 0 (2) - Options (6)
-
PACKAGE
_ PATH (3) -
PATH
_ SEPARATOR (12) -
PC
_ 2 _ SYMLINKS (5) -
PC
_ ALLOC _ SIZE _ MIN (5) -
PC
_ ASYNC _ IO (5) -
PC
_ CHOWN _ RESTRICTED (5) -
PC
_ FILESIZEBITS (5) -
PC
_ LINK _ MAX (5) -
PC
_ MAX _ CANON (5) -
PC
_ MAX _ INPUT (5) -
PC
_ NAME _ MAX (5) -
PC
_ NO _ TRUNC (5) -
PC
_ PATH _ MAX (5) -
PC
_ PIPE _ BUF (5) -
PC
_ PRIO _ IO (5) -
PC
_ REC _ INCR _ XFER _ SIZE (5) -
PC
_ REC _ MAX _ XFER _ SIZE (5) -
PC
_ REC _ MIN _ XFER _ SIZE (5) -
PC
_ REC _ XFER _ ALIGN (5) -
PC
_ SYMLINK _ MAX (5) -
PC
_ SYNC _ IO (5) -
PC
_ TIMESTAMP _ RESOLUTION (5) -
PC
_ VDISABLE (5) - Pathname (12)
- RequirePathsBuilder (6)
- Rubyの起動 (6)
-
SEPARATOR
_ PAT (6) - SSL (6)
-
TCL
_ LIBRARY _ PATH (3) -
TCL
_ PACKAGE _ PATH (3) -
TO
_ PATH (6) -
V
_ ERR _ DEPTH _ ZERO _ SELF _ SIGNED _ CERT (6) -
V
_ ERR _ PATH _ LENGTH _ EXCEEDED (6) -
V
_ ERR _ SELF _ SIGNED _ CERT _ IN _ CHAIN (6) -
V
_ ERR _ UNABLE _ TO _ GET _ ISSUER _ CERT (6) -
V
_ ERR _ UNABLE _ TO _ GET _ ISSUER _ CERT _ LOCALLY (6) - X509 (6)
- XPath (6)
- XPathParser (6)
- [] (6)
- absolute? (6)
-
absolute
_ path (18) -
add
_ path (9) - ascend (6)
- atime (6)
-
attribute
_ alias _ singular (6) - basename (6)
- binread (12)
- binwrite (12)
- birthtime (5)
- blockdev? (12)
- bodypath (6)
- build (54)
- build2 (12)
-
ca
_ file= (6) -
ca
_ path (12) -
ca
_ path= (12) -
call
_ font _ configure (3) - cd (12)
-
cert
_ store= (12) - certs (6)
- cgi (6)
- chardev? (12)
- chdir (30)
- children (10)
- chmod (6)
- chown (6)
- chroot (6)
- cleanpath (6)
- clear (6)
-
clear
_ glob (6) -
clear
_ paths (6) - close (6)
- close! (6)
- collect (6)
- compile (6)
-
compile
_ file (6) - component (6)
- confstr (5)
- convpath (6)
- copy (6)
- create (12)
-
create
_ makefile (6) - ctime (6)
-
current
_ path (6) -
def
_ system _ command (12) -
default
_ path (6) -
default
_ system _ path (6) -
default
_ system _ path= (6) - delete (24)
-
delete
_ all (6) - descend (6)
-
dir
_ config (6) - directory? (12)
- dirname (6)
-
drb
/ ssl (6) - each (12)
-
each
_ child (20) -
each
_ element (6) -
each
_ entry (6) -
each
_ filename (6) -
each
_ line (12) - editwinpath (6)
- empty? (9)
-
enable
_ ssl (12) - entries (18)
- entrypath (6)
- epath (6)
- eql? (6)
-
escape
_ path (6) - exec (24)
- executable? (12)
-
executable
_ real? (12) - execute (12)
- exist? (12)
- exists? (6)
- extensions= (6)
- extname (6)
-
extra
_ rdoc _ files= (6) -
family
_ addrinfo (12) -
fc
_ path (6) - fdatasync (6)
-
fetch
_ path (6) - file (12)
- file? (12)
- filename (6)
- find (24)
-
find
_ all (6) -
find
_ class _ path (6) -
find
_ executable (6) -
find
_ header (6) -
find
_ library (12) -
find
_ paths (6) - first (6)
- flush (24)
- fnmatch (12)
- fnmatch? (12)
- focus (3)
- foreach (66)
-
from
_ file _ by _ path (12) -
from
_ io (12) - ftype (6)
-
full
_ gem _ path (6) - gem (6)
-
gem
_ path (12) -
gem
_ path= (12) -
gem
_ paths (6) - get (24)
- get2 (12)
- get3dcolor (3)
- getTablelistPath (6)
-
get
_ elements (6) -
get
_ file _ uri _ path (6) -
get
_ hosts _ path (6) -
get
_ path (9) -
get
_ print (12) -
get
_ response (12) -
get
_ text (6) - getwd (6)
- glob (16)
- grab (3)
- grpowned? (12)
- hash (6)
- head (6)
- head2 (12)
- hierarchical? (6)
- home (12)
- imagelabelpath (6)
-
init
_ gemspecs (6) - inject (6)
- inspect (6)
-
install
_ system _ commands (6) -
installation
_ path (6) -
installed
_ spec _ directories (6) - irb (6)
-
irb
_ path (6) -
irb
_ path= (6) - itembind (3)
-
itembind
_ append (3) - join (12)
- labelpath (6)
- lchmod (6)
- lchown (6)
-
lib
_ dirs _ for (6) - libpathflag (6)
- libs (6)
- libs= (6)
-
link
_ command (6) -
loaded
_ from= (6) - lock (6)
- logger (6)
- lstat (6)
- make (6)
-
make
_ link (6) -
make
_ symlink (6) - match (6)
-
matching
_ file? (6) -
matching
_ files (6) - mkcol (6)
- mkdir (30)
- mkpath (12)
- mlsd (8)
- mlst (4)
- mountpoint? (6)
- move (6)
- mtime (6)
-
net
/ http (6) - new (198)
- new2 (9)
- new3 (3)
-
new
_ from _ hash (3) -
new
_ from _ uri (3) - open (138)
-
open
_ uri (12) -
open
_ uri _ or _ path (6) - opendir (12)
- owned? (12)
-
pack
_ sockaddr _ un (6) -
package
_ dir _ path (6) -
page
_ dir (6) - paranoid (6)
- parent (6)
- parse (12)
- patch (12)
- path= (30)
-
path
_ info (12) -
path
_ info= (6) -
path
_ ok? (6) -
path
_ translated (6) -
path
_ warning (6) -
path
_ warning= (6) - pathconf (5)
- pathmap (12)
-
pathmap
_ explode (6) -
pathmap
_ partial (6) -
pathmap
_ replace (6) - pathname (10)
- pipe? (12)
- place (3)
- post (12)
- post2 (12)
- propfind (6)
- proppatch (6)
-
push
_ all _ highest _ version _ gems _ on _ load _ path (6) -
push
_ gem _ version _ on _ load _ path (6) - pushd (6)
- pushdir (6)
- put (6)
- put2 (12)
- pwd (6)
-
rake
/ gempackagetask (6) -
rake
_ require (6) -
rb
_ class2name (6) -
rb
_ class _ path (6) -
rb
_ path2class (6) -
rb
_ set _ class _ path (6) - rdoc (6)
-
rdoc
/ generator / json _ index (6) - read (30)
-
read
_ body (12) - readable? (12)
-
readable
_ real? (12) - readlines (30)
- readlink (30)
- realdirpath (12)
- realpath (18)
- relative? (6)
-
relative
_ path _ from (6) -
remove
_ dir (6) -
remove
_ entry (6) -
remove
_ entry _ secure (6) -
remove
_ file (6) -
remove
_ leading _ dot _ dir (6) - rename (6)
- reopen (18)
-
request
_ get (12) -
request
_ head (12) -
request
_ post (12) -
request
_ put (12) -
request
_ uri (6) - require (6)
-
require
_ path (6) -
require
_ path= (6) -
require
_ paths (6) -
require
_ paths= (6) -
require
_ relative (6) - rmdir (30)
- rmtree (6)
- root (6)
- root? (6)
-
ruby 1
. 6 feature (6) -
ruby 1
. 8 . 3 feature (6) -
ruby 1
. 8 . 4 feature (6) -
ruby 1
. 8 . 5 feature (6) -
ruby 1
. 9 feature (6) - rubygems (6)
-
rubygems
/ commands / generate _ index _ command (6) -
rubygems
/ commands / mirror _ command (6) -
rubygems
/ gem _ path _ searcher (6) -
rubygems
/ require _ paths _ builder (6) -
rubygems
/ security (6) -
safeip
_ add _ to _ access _ path (3) -
safeip
_ find _ in _ access _ path (3) -
sanitize
_ path (6) - scan (6)
-
search
_ convpath (6) - select (6)
-
send
_ request (6) - separatorpath (6)
-
set
_ backtrace (6) -
set
_ default _ paths (6) -
set
_ params (6) -
set
_ path (6) -
set
_ paths (6) - setgid? (12)
- setuid? (12)
- size (12)
- size? (18)
-
sockaddr
_ un (6) - socket? (12)
-
source
_ index (6) -
source
_ location (6) - spawn (24)
-
spec
_ path (6) - split (36)
-
split
_ all (6) - start (6)
- stat (6)
-
static
_ path (6) -
static
_ path= (6) - sticky? (12)
- sub (12)
-
sub
_ ext (6) - symlink? (12)
- sysopen (12)
- system (24)
-
system
_ path (6) -
system
_ path= (6) - table (6)
-
test
/ unit (1) - text (6)
-
tkextlib
/ pkg _ checker (3) -
to
_ a (12) -
to
_ json (6) -
to
_ path (18) -
to
_ s (6) - trace (6)
- truncate (36)
-
trusted
_ cert _ path (6) -
try
_ file (6) - unix (18)
-
unix
_ path (6) -
unix
_ server _ loop (6) -
unix
_ server _ socket (12) - unlink (36)
- unlock (6)
-
used
_ on (3) - utime (6)
-
verify
_ gem _ file (6) -
verify
_ trust _ dir (6) -
webrick
/ cgi (6) - windowpath (6)
-
world
_ readable? (18) -
world
_ writable? (18) - writable? (12)
-
writable
_ real? (12) - write (18)
-
write
_ require _ paths _ file _ if _ needed (6) - xpath (12)
- zero? (12)
- セキュリティモデル (6)
- 変数と定数 (6)
- 環境変数 (6)
検索結果
先頭5件
-
pathname (26000.0)
-
パス名をオブジェクト指向らしく扱うためのライブラリです。
パス名をオブジェクト指向らしく扱うためのライブラリです。 -
File
. path(filename) -> String (18177.0) -
指定されたファイル名を文字列で返します。filename が文字列でない場合は、to_path メソッドを呼びます。
...は、to_path メソッドを呼びます。
@param filename ファイル名を表す文字列か to_path メソッドが定義されたオブジェクトを指定します。
例:
require 'pathname'
class MyPath
def initialize(path)
@path = path
end
def to_path
File.a......bsolute_path(@path)
end
end
File.path("/dev/null") # => "/dev/null"
File.path(Pathname("/tmp")) # => "/tmp"
File.path(MyPath.new(".")) # => "/Users/user/projects/txt"... -
URI
:: Generic # path -> String | nil (18147.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'... -
CSV
# path -> String (18123.0) -
IO#path に委譲します。
...IO#path に委譲します。
@see IO#path... -
File
# path -> String (18120.0) -
オープン時に使用したパスを文字列で返します。
...ション付きで作成されていたりする場合です。
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"......ている場合に発生します。
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 (18119.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... -
Net
:: HTTPGenericRequest # path -> String (18117.0) -
リクエストする path を文字列で返します。
...リクエストする path を文字列で返します。... -
Zlib
:: GzipFile # path -> String (18117.0) -
関連付けられている IO オブジェクトのパスを返します。 このメソッドは IO オブジェクトが path というメソッドを持つ場合のみ定義されます。
...関連付けられている IO オブジェクトのパスを返します。
このメソッドは IO オブジェクトが path というメソッドを持つ場合のみ定義されます。... -
Dir
# path -> String (18114.0) -
オープンしているディレクトリのパス名を文字列で返します。
...オープンしているディレクトリのパス名を文字列で返します。
例:
Dir.open("..") do |d|
d.path # => ".."
d.to_path # => ".."
end... -
Tempfile
# path -> String | nil (18113.0) -
テンポラリファイルのパス名を返します。
...pfile#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 (18113.0) -
self が表すフレームのファイル名を返します。
...ル名を返します。
例: Thread::Backtrace::Location の例1を用いた例
loc = c(0..1).first
loc.path # => "caller_locations.rb"
@see Thread::Backtrace::Location#absolute_path... -
LoadError
# path -> String | nil (18107.0) -
Kernel.#require や Kernel.#load に失敗したパスを返します。
...nel.#require や Kernel.#load に失敗したパスを返します。
begin
require 'this/file/does/not/exist'
rescue LoadError => e
e.path # => 'this/file/does/not/exist'
end
パスが定まらない場合は nil を返します。... -
UNIXSocket
# path -> String (18107.0) -
UNIX ソケットのパスを返します。
...アント側はパスを持たないため空文字列となります。
例:
require 'socket'
UNIXServer.open("/tmp/s") {|serv|
p serv.path #=> "/tmp/s"
}... -
WIN32OLE
_ TYPELIB # path -> String (18107.0) -
TypeLibのパス名を取得します。
...ypeLibの属性が読み取れない場合に通知します。
tlib = WIN32OLE_TYPELIB.new('Microsoft Excel 14.0 Object Library')
puts tlib.path # => 'C:\...\EXCEL.EXE'
TypeLibは拡張子TLB(まれにOLB)という独立したファイルの場合と、サーバの
DLLやEXE内にリソ... -
RSS
:: Rss :: Channel :: Cloud # path (18102.0) -
@todo
@todo -
WEBrick
:: Cookie # path -> String (18102.0) -
パス名を文字列で表すアクセサです。
パス名を文字列で表すアクセサです。
@param value パス名を文字列で指定します。 -
CGI
:: Cookie # path -> String (18101.0) -
クッキーを適用するパスを返します。
クッキーを適用するパスを返します。