5107件ヒット
[1-100件を表示]
(0.146秒)
ライブラリ
- ビルトイン (1258)
-
cgi
/ core (11) - csv (99)
- digest (22)
- etc (616)
- fileutils (55)
- irb (11)
-
irb
/ cmd / load (22) -
irb
/ input-method (11) -
irb
/ magic-file (22) - logger (11)
- mkmf (88)
-
net
/ ftp (36) -
net
/ http (418) -
net
/ pop (33) - open-uri (22)
- openssl (110)
- pathname (858)
- rake (110)
-
rake
/ testtask (11) -
rdoc
/ markup / to _ html _ crossref (11) -
rexml
/ document (154) - rubygems (33)
-
rubygems
/ commands / lock _ command (11) -
rubygems
/ commands / unpack _ command (11) -
rubygems
/ config _ file (11) -
rubygems
/ custom _ require (11) -
rubygems
/ defaults (11) -
rubygems
/ ext / configure _ builder (11) -
rubygems
/ ext / ext _ conf _ builder (11) -
rubygems
/ ext / rake _ builder (11) -
rubygems
/ format (22) -
rubygems
/ gem _ path _ searcher (55) -
rubygems
/ installer (11) -
rubygems
/ old _ format (44) -
rubygems
/ remote _ fetcher (33) -
rubygems
/ security (11) -
rubygems
/ source _ index (11) -
rubygems
/ source _ info _ cache (11) -
rubygems
/ specification (33) -
rubygems
/ uninstaller (11) -
rubygems
/ validator (22) - shell (108)
-
shell
/ command-processor (60) -
shell
/ filter (48) - socket (33)
- tempfile (110)
- uri (209)
-
webrick
/ httpauth / htdigest (11) -
webrick
/ httpauth / htgroup (11) -
webrick
/ httpserver (22) -
webrick
/ httpservlet / filehandler (11) -
webrick
/ httputils (11) -
webrick
/ ssl (11) -
win32
/ resolv (11) - win32ole (11)
- zlib (11)
クラス
-
ARGF
. class (22) - Addrinfo (22)
-
CGI
:: Cookie (11) - CSV (99)
-
Digest
:: Base (22) - Dir (182)
- Exception (11)
- File (473)
-
File
:: Stat (33) -
Gem
:: Commands :: LockCommand (11) -
Gem
:: Commands :: UnpackCommand (11) -
Gem
:: ConfigFile (11) -
Gem
:: Ext :: ConfigureBuilder (11) -
Gem
:: Ext :: ExtConfBuilder (11) -
Gem
:: Ext :: RakeBuilder (11) -
Gem
:: Format (22) -
Gem
:: GemPathSearcher (55) -
Gem
:: Installer (11) -
Gem
:: OldFormat (44) -
Gem
:: RemoteFetcher (33) -
Gem
:: Security :: Policy (11) -
Gem
:: SourceIndex (11) -
Gem
:: SourceInfoCache (11) -
Gem
:: Specification (33) -
Gem
:: Uninstaller (11) -
Gem
:: Validator (22) - IO (177)
-
IRB
:: ExtendCommand :: Load (11) -
IRB
:: ExtendCommand :: Source (11) -
IRB
:: FileInputMethod (11) - LoadError (11)
- Logger (11)
-
Net
:: FTP (27) -
Net
:: FTP :: MLSxEntry (9) -
Net
:: HTTP (396) -
Net
:: HTTPRequest (11) -
Net
:: HTTPResponse (11) -
Net
:: POP3 (33) -
OpenSSL
:: SSL :: SSLContext (33) -
OpenSSL
:: X509 :: Store (22) - Pathname (847)
- Proc (11)
-
RDoc
:: Markup :: ToHtmlCrossref (11) -
RDoc
:: Options (11) -
REXML
:: Attribute (11) -
REXML
:: Element (55) -
REXML
:: Elements (55) -
REXML
:: XPath (33) -
Rake
:: Application (11) -
Rake
:: FileList (11) -
Rake
:: TestTask (11) -
RubyVM
:: InstructionSequence (44) - Shell (108)
-
Shell
:: CommandProcessor (60) -
Shell
:: Filter (48) - Socket (11)
- String (44)
- Tempfile (110)
- Thread (22)
-
Thread
:: Backtrace :: Location (44) -
URI
:: FTP (44) -
URI
:: Generic (99) -
URI
:: HTTP (33) -
URI
:: LDAP (11) -
URI
:: MailTo (11) -
WEBrick
:: HTTPAuth :: Htdigest (11) -
WEBrick
:: HTTPAuth :: Htgroup (11) -
WEBrick
:: HTTPServer (11) -
WEBrick
:: HTTPServer :: MountTable (11) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (11) -
WIN32OLE
_ TYPELIB (11) -
Win32
:: Resolv (11) -
Zlib
:: GzipFile (11)
モジュール
-
CGI
:: QueryExtension (11) - Etc (605)
-
File
:: Constants (11) - FileTest (22)
- FileUtils (66)
- Gem (22)
-
Gem
:: QuickLoader (11) - IRB (11)
- Kernel (319)
-
OpenSSL
:: X509 (55) - OpenURI (22)
- Rake (33)
-
RubyVM
:: AbstractSyntaxTree (8) - URI (11)
-
WEBrick
:: Config (11) -
WEBrick
:: HTTPUtils (11)
オブジェクト
-
IRB
:: MagicFile (22)
キーワード
-
$ -I (11) -
$ : (11) -
$ LOAD _ PATH (11) - <=> (22)
- == (11)
- === (11)
-
CS
_ GNU _ LIBC _ VERSION (11) -
CS
_ GNU _ LIBPTHREAD _ VERSION (11) -
CS
_ PATH (11) -
CS
_ POSIX _ V6 _ ILP32 _ OFF32 _ CFLAGS (11) -
CS
_ POSIX _ V6 _ ILP32 _ OFF32 _ LDFLAGS (11) -
CS
_ POSIX _ V6 _ ILP32 _ OFF32 _ LIBS (11) -
CS
_ POSIX _ V6 _ ILP32 _ OFFBIG _ CFLAGS (11) -
CS
_ POSIX _ V6 _ ILP32 _ OFFBIG _ LDFLAGS (11) -
CS
_ POSIX _ V6 _ ILP32 _ OFFBIG _ LIBS (11) -
CS
_ POSIX _ V6 _ LP64 _ OFF64 _ CFLAGS (11) -
CS
_ POSIX _ V6 _ LP64 _ OFF64 _ LDFLAGS (11) -
CS
_ POSIX _ V6 _ LP64 _ OFF64 _ LIBS (11) -
CS
_ POSIX _ V6 _ LPBIG _ OFFBIG _ CFLAGS (11) -
CS
_ POSIX _ V6 _ LPBIG _ OFFBIG _ LDFLAGS (11) -
CS
_ POSIX _ V6 _ LPBIG _ OFFBIG _ LIBS (11) -
CS
_ POSIX _ V6 _ WIDTH _ RESTRICTED _ ENVS (11) -
CS
_ POSIX _ V7 _ ILP32 _ OFF32 _ CFLAGS (11) -
CS
_ POSIX _ V7 _ ILP32 _ OFF32 _ LDFLAGS (11) -
CS
_ POSIX _ V7 _ ILP32 _ OFF32 _ LIBS (11) -
CS
_ POSIX _ V7 _ ILP32 _ OFFBIG _ CFLAGS (11) -
CS
_ POSIX _ V7 _ ILP32 _ OFFBIG _ LDFLAGS (11) -
CS
_ POSIX _ V7 _ ILP32 _ OFFBIG _ LIBS (11) -
CS
_ POSIX _ V7 _ LP64 _ OFF64 _ CFLAGS (11) -
CS
_ POSIX _ V7 _ LP64 _ OFF64 _ LDFLAGS (11) -
CS
_ POSIX _ V7 _ LP64 _ OFF64 _ LIBS (11) -
CS
_ POSIX _ V7 _ LPBIG _ OFFBIG _ CFLAGS (11) -
CS
_ POSIX _ V7 _ LPBIG _ OFFBIG _ LDFLAGS (11) -
CS
_ POSIX _ V7 _ LPBIG _ OFFBIG _ LIBS (11) -
CS
_ POSIX _ V7 _ THREADS _ CFLAGS (11) -
CS
_ POSIX _ V7 _ THREADS _ LDFLAGS (11) -
CS
_ POSIX _ V7 _ WIDTH _ RESTRICTED _ ENVS (11) -
CS
_ V6 _ ENV (11) -
CS
_ V7 _ ENV (11) -
DEFAULT
_ CERT _ STORE (11) -
FNM
_ PATHNAME (11) - GemPaths (11)
-
PATH
_ SEPARATOR (11) -
PC
_ 2 _ SYMLINKS (11) -
PC
_ ALLOC _ SIZE _ MIN (11) -
PC
_ ASYNC _ IO (11) -
PC
_ CHOWN _ RESTRICTED (11) -
PC
_ FILESIZEBITS (11) -
PC
_ LINK _ MAX (11) -
PC
_ MAX _ CANON (11) -
PC
_ MAX _ INPUT (11) -
PC
_ NAME _ MAX (11) -
PC
_ NO _ TRUNC (11) -
PC
_ PATH _ MAX (11) -
PC
_ PIPE _ BUF (11) -
PC
_ PRIO _ IO (11) -
PC
_ REC _ INCR _ XFER _ SIZE (11) -
PC
_ REC _ MAX _ XFER _ SIZE (11) -
PC
_ REC _ MIN _ XFER _ SIZE (11) -
PC
_ REC _ XFER _ ALIGN (11) -
PC
_ SYMLINK _ MAX (11) -
PC
_ SYNC _ IO (11) -
PC
_ TIMESTAMP _ RESOLUTION (11) -
PC
_ VDISABLE (11) - Pathname (11)
- Rubyの起動 (11)
- SSL (11)
-
TO
_ PATH (11) -
V
_ ERR _ DEPTH _ ZERO _ SELF _ SIGNED _ CERT (11) -
V
_ ERR _ PATH _ LENGTH _ EXCEEDED (11) -
V
_ ERR _ SELF _ SIGNED _ CERT _ IN _ CHAIN (11) -
V
_ ERR _ UNABLE _ TO _ GET _ ISSUER _ CERT (11) -
V
_ ERR _ UNABLE _ TO _ GET _ ISSUER _ CERT _ LOCALLY (11) - absolute? (11)
-
absolute
_ path (33) -
absolute
_ path? (5) -
add
_ path (11) - application (11)
- application= (11)
- ascend (11)
-
attribute
_ alias _ singular (11) -
backtrace
_ locations (22) - binread (22)
- binwrite (22)
- blockdev? (22)
- build (99)
- build2 (22)
-
ca
_ path (22) -
caller
_ locations (22) - cd (12)
- certs (11)
- chardev? (22)
- chdir (6)
- children (25)
- cleanpath (11)
-
clear
_ paths (11) - close (11)
- close! (11)
- collect (11)
- compile (11)
-
compile
_ file (11) - component (11)
- confstr (11)
- copy (11)
- create (22)
-
create
_ makefile (11) -
def
_ system _ command (12) -
default
_ path (11) -
default
_ system _ path (6) - delete (44)
-
delete
_ all (11) - descend (11)
-
dir
_ config (11) - directory? (22)
- each (22)
-
each
_ child (50) -
each
_ element (11) -
each
_ entry (11) -
each
_ filename (11) -
each
_ line (22) - empty? (24)
-
enable
_ ssl (22) - entries (11)
- eql? (11)
-
escape
_ path (11) - exec (44)
- executable? (22)
-
executable
_ real? (22) - execute (22)
- exist? (22)
- exists? (9)
-
family
_ addrinfo (22) -
fetch
_ path (11) - file (22)
- file? (22)
- filename (11)
- find (22)
-
find
_ all (11) -
find
_ executable (11) -
find
_ header (11) -
find
_ library (22) - first (11)
- flush (33)
- fnmatch (22)
- fnmatch? (22)
- foreach (81)
- formatter (11)
-
from
_ file _ by _ path (22) -
from
_ io (22) -
full
_ gem _ path (11) - gem (11)
-
gem
_ path (11) - get (22)
- get2 (22)
-
get
_ elements (11) -
get
_ file _ uri _ path (11) -
get
_ hosts _ path (11) -
get
_ path (11) -
get
_ response (11) -
get
_ text (11) - glob (36)
- grpowned? (22)
- head (11)
- head2 (22)
- hierarchical? (11)
- home (22)
- inject (11)
- inspect (11)
-
install
_ system _ commands (6) -
installation
_ path (11) -
installed
_ spec _ directories (11) - irb (11)
- join (11)
- lchmod (11)
- lchown (11)
-
lib
_ dirs _ for (11) - libpathflag (11)
- libs (11)
-
link
_ command (11) - lock (11)
- lstat (11)
-
make
_ link (11) -
make
_ symlink (11) - match (11)
-
matching
_ file? (11) -
matching
_ files (11) - mkcol (11)
- mkdir (18)
- mkpath (22)
- mlsd (18)
- mlst (9)
- mountpoint? (11)
- move (11)
- new (187)
- new2 (11)
- open (172)
-
open
_ uri (22) -
open
_ uri _ or _ path (11) - opendir (11)
-
original
_ dir (22) - owned? (22)
-
page
_ dir (11) -
parse
_ file (8) - patch (22)
-
path
_ ok? (11) -
path
_ translated (11) -
path
_ warning (11) - pathconf (11)
- pathmap (22)
-
pathmap
_ explode (11) -
pathmap
_ partial (11) -
pathmap
_ replace (11) - pathname (9)
- pipe? (22)
- post (22)
- post2 (22)
- proppatch (11)
- pushd (6)
- pushdir (6)
- put (11)
- put2 (22)
-
rb
_ class _ path (11) - read (55)
-
read
_ body (11) - readable? (22)
-
readable
_ real? (22) - readlines (55)
- readlink (40)
- realdirpath (22)
- realpath (33)
- relative? (11)
-
relative
_ path _ from (11) -
remove
_ dir (11) -
remove
_ entry (11) -
remove
_ entry _ secure (11) -
remove
_ file (11) -
remove
_ leading _ dot _ dir (11) - reopen (33)
-
request
_ get (22) -
request
_ head (22) -
request
_ post (22) -
request
_ put (22) - require (11)
-
require
_ relative (11) - rmdir (29)
- rmtree (11)
- root? (11)
- scan (11)
- select (11)
-
send
_ request (11) -
set
_ backtrace (11) -
set
_ default _ paths (11) -
set
_ params (11) - setgid? (22)
- setuid? (22)
- size (11)
- size? (33)
- socket? (22)
-
source
_ location (11) - spawn (44)
-
spec
_ path (11) - split (51)
-
split
_ all (11) - start (11)
- stat (11)
- sticky? (22)
- sub (11)
-
sub
_ ext (11) - symlink? (22)
- system (44)
-
system
_ path (6) - table (11)
- text (11)
-
to
_ a (11) -
to
_ path (13) -
to
_ s (11) - trace (11)
- truncate (51)
-
trusted
_ cert _ path (11) -
try
_ file (11) -
unix
_ server _ loop (11) - unlink (51)
- unlock (11)
-
verify
_ gem _ file (11) -
world
_ readable? (33) -
world
_ writable? (33) - writable? (22)
-
writable
_ real? (22) - write (22)
- xpath (22)
- zero? (22)
検索結果
先頭5件
-
File
. path(filename) -> String (21377.0) -
指定されたファイル名を文字列で返します。filename が文字列でない場合は、to_path メソッドを呼びます。
...ilename が文字列でない場合は、to_path メソッドを呼びます。
@param filename ファイル名を表す文字列か to_path メソッドが定義されたオブジェクトを指定します。
//emlist[例][ruby]{
require 'pathname'
class MyPath
def initialize(path)
@path......= path
end
def to_path
File.absolute_path(@path)
end
end
File.path("/dev/null") # => "/dev/null"
File.path(Pathname("/tmp")) # => "/tmp"
File.path(MyPath.new(".")) # => "/Users/user/projects/txt"
//}... -
Tempfile
# path -> String | nil (21313.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 (21307.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 (21220.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 (21217.0) -
関連付けられている IO オブジェクトのパスを返します。 このメソッドは IO オブジェクトが path というメソッドを持つ場合のみ定義されます。
...関連付けられている IO オブジェクトのパスを返します。
このメソッドは IO オブジェクトが path というメソッドを持つ場合のみ定義されます。... -
Thread
:: Backtrace :: Location # path -> String (21213.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 (21207.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... -
Gem
:: ConfigFile # path -> String (21201.0) -
Gem を探索するパスを返します。
Gem を探索するパスを返します。 -
URI
:: Generic # path -> String | nil (18347.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 (18326.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"
//}...