種類
ライブラリ
- English (3)
- ビルトイン (306)
-
cgi
/ core (3) -
cgi
/ html (2) -
cgi
/ session (7) -
cgi
/ session / pstore (1) - coverage (1)
- csv (17)
- digest (1)
- erb (3)
- etc (2)
- fiddle (3)
- fileutils (52)
- find (2)
-
irb
/ cmd / load (3) -
irb
/ context (1) -
irb
/ ext / save-history (2) -
irb
/ extend-command (2) -
irb
/ frame (1) -
irb
/ input-method (12) -
irb
/ magic-file (4) - json (1)
- logger (3)
- mkmf (7)
-
net
/ ftp (23) -
net
/ http (10) -
net
/ pop (4) -
net
/ smtp (3) - nkf (1)
- objspace (1)
- open-uri (4)
- openssl (24)
- optparse (1)
- pathname (25)
- pstore (1)
- psych (7)
- pty (1)
- rake (63)
-
rake
/ gempackagetask (1) -
rake
/ loaders / makefile (2) -
rake
/ packagetask (6) -
rake
/ rdoctask (3) -
rake
/ testtask (2) - rbconfig (1)
- rdoc (1)
-
rdoc
/ code _ object (1) -
rdoc
/ context (3) -
rdoc
/ generator / json _ index (3) -
rdoc
/ parser (3) -
rdoc
/ parser / c (1) -
rdoc
/ parser / ruby (1) -
rdoc
/ parser / simple (1) -
rdoc
/ stats (2) -
rdoc
/ top _ level (7) - readline (5)
- resolv (2)
- ripper (3)
-
ripper
/ filter (2) -
ripper
/ lexer (2) -
ripper
/ sexp (2) -
rubygems
/ commands / build _ command (1) -
rubygems
/ config _ file (24) -
rubygems
/ exceptions (1) -
rubygems
/ format (3) -
rubygems
/ gem _ path _ searcher (2) -
rubygems
/ indexer (3) -
rubygems
/ installer (6) -
rubygems
/ old _ format (3) -
rubygems
/ package (2) -
rubygems
/ package / tar _ reader / entry (1) -
rubygems
/ package / tar _ writer (5) -
rubygems
/ remote _ fetcher (4) -
rubygems
/ require _ paths _ builder (1) -
rubygems
/ source _ index (1) -
rubygems
/ source _ info _ cache (13) -
rubygems
/ spec _ fetcher (1) -
rubygems
/ specification (8) -
rubygems
/ validator (1) - shellwords (2)
- socket (2)
- stringio (1)
- syslog (3)
- tempfile (10)
- tmpdir (2)
- tracer (8)
- un (4)
-
webrick
/ config (1) -
webrick
/ httpauth / digestauth (1) -
webrick
/ httprequest (1) -
webrick
/ httpresponse (4) -
webrick
/ httpservlet / filehandler (15) -
webrick
/ httputils (5) -
webrick
/ log (1) -
webrick
/ ssl (1) - win32ole (3)
-
yaml
/ store (2) - zlib (43)
クラス
-
ARGF
. class (12) - BasicObject (1)
- Binding (2)
-
CGI
:: Session (1) -
CGI
:: Session :: FileStore (5) -
CGI
:: Session :: PStore (1) - CSV (17)
- Class (1)
- Coverage (1)
-
Digest
:: Base (1) - Dir (25)
- ERB (3)
-
Errno
:: EXXX (2) -
Fiddle
:: Function (1) -
Fiddle
:: Pointer (2) - File (54)
-
File
:: Stat (29) -
Gem
:: Commands :: BuildCommand (1) -
Gem
:: ConfigFile (24) -
Gem
:: FileOperations (1) -
Gem
:: Format (3) -
Gem
:: GemPathSearcher (2) -
Gem
:: Indexer (3) -
Gem
:: Installer (6) -
Gem
:: OldFormat (3) -
Gem
:: Package :: TarReader :: Entry (1) -
Gem
:: Package :: TarWriter (4) -
Gem
:: RemoteFetcher (4) -
Gem
:: SourceIndex (1) -
Gem
:: SourceInfoCache (13) -
Gem
:: SpecFetcher (1) -
Gem
:: Specification (8) -
Gem
:: Validator (1) - IO (64)
-
IRB
:: Context (3) -
IRB
:: ExtendCommand :: Load (1) -
IRB
:: ExtendCommand :: Require (1) -
IRB
:: ExtendCommand :: Source (1) -
IRB
:: FileInputMethod (3) -
IRB
:: Frame (1) -
IRB
:: InputMethod (3) -
IRB
:: ReadlineInputMethod (2) -
IRB
:: StdioInputMethod (2) - LoadError (1)
- Logger (2)
-
Logger
:: LogDevice (1) - Method (3)
-
Net
:: FTP (20) -
Net
:: FTP :: MLSxEntry (3) -
Net
:: HTTP (6) -
Net
:: HTTPGenericRequest (2) -
Net
:: HTTPResponse (2) -
Net
:: POP3 (4) -
Net
:: SMTP (3) - Object (2)
-
OpenSSL
:: Config (1) -
OpenSSL
:: PKCS7 (1) -
OpenSSL
:: SSL :: SSLContext (4) -
OpenSSL
:: X509 :: ExtensionFactory (1) -
OpenSSL
:: X509 :: Store (1) - OptionParser (1)
- PStore (1)
- Pathname (25)
- Proc (2)
-
Psych
:: SyntaxError (1) -
RDoc
:: CodeObject (1) -
RDoc
:: Context (3) -
RDoc
:: Generator :: JsonIndex (3) -
RDoc
:: Options (4) -
RDoc
:: Parser (3) -
RDoc
:: Parser :: C (1) -
RDoc
:: Parser :: Ruby (1) -
RDoc
:: Parser :: Simple (1) -
RDoc
:: Stats (2) -
RDoc
:: TopLevel (7) -
Rake
:: Application (3) -
Rake
:: DefaultLoader (1) -
Rake
:: FileCreationTask (2) -
Rake
:: FileList (31) -
Rake
:: FileTask (3) -
Rake
:: GemPackageTask (1) -
Rake
:: MakefileLoader (1) -
Rake
:: PackageTask (6) -
Rake
:: RDocTask (3) -
Rake
:: TestTask (1) -
Resolv
:: Hosts (2) - Ripper (7)
-
Ripper
:: Filter (2) -
RubyVM
:: InstructionSequence (9) -
Socket
:: AncillaryData (1) - String (2)
- StringIO (1)
- SystemCallError (3)
- Tempfile (10)
- Tracer (8)
- UNIXSocket (1)
-
WEBrick
:: BasicLog (1) -
WEBrick
:: HTTPRequest (1) -
WEBrick
:: HTTPResponse (4) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (5) -
WEBrick
:: HTTPServlet :: FileHandler (8) -
WEBrick
:: HTTPUtils :: FormData (2) -
WIN32OLE
_ METHOD (2) -
WIN32OLE
_ TYPE (1) -
YAML
:: Store (2) -
Zlib
:: GzipFile (9) -
Zlib
:: GzipFile :: Error (2) -
Zlib
:: GzipReader (7) -
Zlib
:: GzipWriter (19)
モジュール
-
CGI
:: HtmlExtension (2) -
CGI
:: QueryExtension (3) - Enumerable (1)
- Etc (2)
-
File
:: Constants (29) - FileTest (14)
- FileUtils (53)
- Find (2)
-
GC
:: Profiler (8) -
Gem
:: RequirePathsBuilder (1) - IRB (1)
-
IRB
:: ContextExtender (1) -
IRB
:: ExtendCommandBundle (1) - JSON (1)
- Kernel (51)
- Marshal (2)
- ObjectSpace (1)
-
OpenSSL
:: ASN1 (1) -
OpenSSL
:: Random (4) -
OpenSSL
:: X509 (6) - OpenURI (2)
- PTY (1)
- Process (1)
- Psych (6)
- RDoc (1)
-
Rake
:: Cloneable (2) -
Rake
:: TaskManager (1) - RakeFileUtils (7)
- RbConfig (1)
- Readline (5)
-
RubyVM
:: AbstractSyntaxTree (1) - Shellwords (2)
- Syslog (3)
- URI (1)
-
WEBrick
:: Config (2) -
WEBrick
:: HTTPUtils (2)
オブジェクト
-
IRB
:: MagicFile (3)
キーワード
-
$ > (1) -
$ DEFAULT _ OUTPUT (1) -
$ FILENAME (1) -
$ INPUT _ LINE _ NUMBER (1) -
$ NR (1) -
$ stderr (1) -
$ stdin (1) -
$ stdout (1) - * (1)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (1) - << (4)
- <=> (1)
- == (1)
- >> (2)
-
ALT
_ SEPARATOR (1) - APPEND (1)
- ARGF (2)
-
ARRAY
_ METHODS (1) - BINARY (1)
- CRCError (1)
- CREAT (1)
- ConditionVariable (1)
-
DEFAULT
_ BACKTRACE (1) -
DEFAULT
_ BENCHMARK (1) -
DEFAULT
_ BULK _ THRESHOLD (1) -
DEFAULT
_ CERT _ FILE (1) -
DEFAULT
_ CERT _ FILE _ ENV (1) -
DEFAULT
_ CERT _ STORE (1) -
DEFAULT
_ CONFIG _ FILE (1) -
DEFAULT
_ IGNORE _ PATTERNS (1) -
DEFAULT
_ IGNORE _ PROCS (1) -
DEFAULT
_ RAKEFILES (1) -
DEFAULT
_ UPDATE _ SOURCES (1) -
DEFAULT
_ VERBOSITY (1) -
DELEGATING
_ METHODS (1) - DIRECT (1)
- DOSISH 対応 (1)
-
DOT
_ DOC _ FILENAME (1) - DSYNC (1)
- DefaultFileHandler (1)
- DefaultFileName (1)
- DigestAuth (1)
- DryRun (1)
- EMFILE (1)
-
ENCODING
_ SPEC _ RE (1) - ENFILE (1)
- EOFError (1)
- EXCL (1)
- EXXX (1)
- Error (1)
- ExtensionFactory (1)
-
FILENAME
_ COMPLETION _ PROC (1) -
FNM
_ CASEFOLD (1) -
FNM
_ DOTMATCH (1) -
FNM
_ EXTGLOB (1) -
FNM
_ NOESCAPE (1) -
FNM
_ PATHNAME (1) -
FNM
_ SYSCASE (1) - FileCreationTask (1)
- FileHandler (2)
- FileInputMethod (1)
- FileList (1)
- FileOperations (1)
- FileOverflow (1)
- FilePermissionError (1)
- FileStore (1)
- FileTask (1)
- FormData (1)
- GzipReader (1)
- GzipWriter (1)
- HandlerTable (1)
- IO (1)
-
LOCK
_ EX (1) -
LOCK
_ NB (1) -
LOCK
_ SH (1) -
LOCK
_ UN (1) - LengthError (1)
-
MAKEFILE
_ CONFIG (1) - METHODS (1)
-
MUST
_ DEFINE (1) -
MUST
_ NOT _ DEFINE (1) - MagicFile (1)
- MakefileLoader (1)
- Marshal フォーマット (1)
-
NEWS for Ruby 2
. 0 . 0 (1) -
NEWS for Ruby 2
. 1 . 0 (1) -
NEWS for Ruby 2
. 2 . 0 (1) -
NEWS for Ruby 2
. 3 . 0 (1) -
NEWS for Ruby 2
. 4 . 0 (1) -
NEWS for Ruby 2
. 5 . 0 (1) -
NEWS for Ruby 2
. 6 . 0 (1) -
NEWS for Ruby 2
. 7 . 0 (1) - NKF (1)
- NOATIME (1)
- NOCTTY (1)
- NOFOLLOW (1)
- NONBLOCK (1)
- NULL (1)
- NoWrite (1)
-
OPERATING
_ SYSTEM _ DEFAULTS (1) -
PATH
_ SEPARATOR (1) -
PC
_ FILESIZEBITS (1) -
PLATFORM
_ DEFAULTS (1) - Profiler (1)
- RDONLY (1)
- RDWR (1)
- RFILE (1)
-
RLIMIT
_ NOFILE (1) - RSA (1)
- RSYNC (1)
- RakeFileUtils (1)
- Random (1)
- Request (1)
- Ruby用語集 (1)
-
SC
_ MAPPED _ FILES (1) -
SEARCH
_ INDEX _ FILE (1) - SEPARATOR (1)
-
SHARE
_ DELETE (1) -
SPECIAL
_ RETURN (1) - SSL (1)
- SSLServer (1)
-
STDIN
_ FILE _ NAME (1) - SYNC (1)
-
SYSTEM
_ WIDE _ CONFIG _ FILE (1) - Separator (1)
- TMPFILE (1)
- TRUNC (1)
- Task (1)
- TestTask (1)
-
V
_ ERR _ DEPTH _ ZERO _ SELF _ SIGNED _ CERT (1) -
V
_ ERR _ SELF _ SIGNED _ CERT _ IN _ CHAIN (1) -
V
_ ERR _ UNABLE _ TO _ GET _ ISSUER _ CERT (1) -
V
_ ERR _ UNABLE _ TO _ GET _ ISSUER _ CERT _ LOCALLY (1) - Verbose (1)
- WRONLY (1)
- Win32ネイティブ版Rubyの互換性問題 (1)
- [] (3)
-
_ _ dir _ _ (1) -
absolute
_ path (2) -
add
_ file (3) -
add
_ file _ simple (2) -
add
_ filter (2) -
add
_ handler (1) -
add
_ row (1) -
all
_ one _ file (1) -
allocation
_ sourcefile (1) - args (1)
- ascend (1)
- backtrace (1)
- backtrace= (1)
-
base
_ label (1) - basename (1)
- benchmark (1)
- benchmark= (1)
- bigdecimal (1)
- birthtime (4)
- blksize (1)
- blocks (1)
-
body
_ stream (1) -
body
_ stream= (1) -
bulk
_ threshold (1) -
bulk
_ threshold= (1) -
ca
_ file (2) -
cache
_ file (1) - call (1)
- caller (3)
-
can
_ parse (1) - cd (2)
-
cert
_ store= (2) - certs (1)
- chardev? (3)
- chdir (2)
- chmod (4)
-
chmod
_ R (1) - chown (4)
-
chown
_ R (1) - chroot (1)
- chunk (1)
- cleanpath (1)
- clear (1)
-
clear
_ exclude (1) - clone (1)
- close (3)
- closed? (1)
-
collect
_ method (1) - commands (1)
- comment (1)
- comment= (1)
-
compare
_ file (1) -
compare
_ stream (1) - compile (2)
-
compile
_ file (1) -
compile
_ option= (1) - compress (1)
- config= (1)
-
config
_ file _ name (1) -
content
_ length (1) -
content
_ length= (1) - copy (1)
-
copy
_ entry (1) -
copy
_ file (1) -
copy
_ stream (1) - count (1)
- cp (1)
-
cp
_ lr (1) -
cp
_ r (1) -
cpp
_ command (1) - crc (1)
- create (2)
-
create
_ body (1) -
create
_ makefile (1) - debug (1)
- decode (1)
-
def
_ class (1) -
def
_ extend _ command (2) -
defined
_ in? (1) - delete (2)
- descend (1)
- dev (1)
-
dev
_ major (1) -
dev
_ minor (1) - directory? (3)
- dirname (2)
- disable (1)
-
do
_ GET (2) -
do
_ OPTIONS (1) -
do
_ POST (1) - download (1)
-
drb
/ extservm (1) -
drb
/ ssl (1) -
dummy
_ makefile (1) - dump (3)
- dup (1)
- each (6)
-
each
_ byte (1) -
each
_ char (2) -
each
_ child (4) -
each
_ codepoint (1) -
each
_ line (6) - egd (1)
-
egd
_ bytes (1) - egrep (1)
- enable (1)
- enabled? (1)
- encoding (1)
- entries (1)
- eof (1)
- eof? (3)
- eval (2)
-
eval
_ under (1) - exclude (1)
-
excluded
_ from _ list? (1) -
executable
_ real? (3) - execute (3)
- exist? (1)
- existing (1)
- existing! (1)
- exists? (1)
- ext (1)
-
external
_ encoding (1) - extname (2)
-
extra
_ rdoc _ files (1) -
extra
_ rdoc _ files= (1) -
extract
_ files (1) - facts (1)
- fail (3)
- fcntl (1)
- file? (2)
-
file
_ absolute _ name (1) -
file
_ absolute _ name= (1) -
file
_ create (1) -
file
_ entries (2) -
file
_ entries= (2) -
file
_ field (2) -
file
_ input? (1) -
file
_ name (2) -
file
_ relative _ name (1) -
file
_ relative _ name= (1) -
file
_ stat (1) -
file
_ stat= (1) -
file
_ uri? (1) - fileboxes (1)
- filename (7)
- filename= (3)
-
filename
_ quote _ characters (1) -
filename
_ quote _ characters= (1) - fileno (5)
- files (3)
- filter (3)
- find (2)
- finish (1)
- flock (2)
- flush (1)
- fnmatch (2)
- fnmatch? (2)
-
for
_ fd (1) - foreach (7)
-
formatted
_ program _ filename (1) - formatter (1)
-
from
_ file _ by _ path (2) - ftype (3)
-
gem
_ file (1) -
gem
_ file _ list (1) - generate (1)
-
generate
_ bin _ script (1) -
generate
_ bin _ symlink (1) -
generate
_ windows _ script (1) - get (4)
-
get
_ file _ uri _ path (1) -
get
_ line (1) - getbinaryfile (2)
- getbyte (2)
- getc (2)
- gets (5)
- gettextfile (2)
- getwd (1)
- gid (1)
- glob (2)
- grpowned? (3)
- gsub (1)
- gsub! (1)
- gzip (1)
-
handle
_ arguments (1) - helpfile (2)
- helpstring (1)
-
history
_ file (1) -
history
_ file= (1) - home (2)
- import (2)
-
in
_ files (1) - include (1)
-
inline
_ source (1) - ino (1)
-
inplace
_ mode= (1) - input (1)
- input= (1)
- inspect (1)
- install (1)
-
install
_ files (1) -
install
_ rb (1) -
instance
_ eval (1) -
internal
_ encoding (1) - irb (1)
-
irb
/ magic-file (1) -
is
_ a? (1) - join (1)
-
kind
_ of? (1) - label (1)
-
latest
_ cache _ file (1) -
latest
_ system _ cache _ file (2) -
latest
_ user _ cache _ file (2) - lchmod (2)
- lchown (2)
- length (1)
- level (1)
- lex (1)
-
lib
_ files (1) -
line
_ stub (1) - lineno (2)
- lineno= (1)
- link (1)
- ln (1)
-
ln
_ s (1) -
ln
_ sf (1) - load (4)
-
load
_ gemspecs (1) -
load
_ mime _ types (1) -
load
_ rakefile (1) -
load
_ random _ file (1) -
load
_ specification (1) -
load
_ specs (1) -
load
_ stream (2) - logger (1)
- lutime (1)
- main= (1)
-
make
_ partial _ content (1) - makedirs (1)
-
mark
_ source _ filename (1) - mask (1)
-
matching
_ file? (1) -
matching
_ files (1) - mdtm (1)
-
mime
_ type (1) - mkdir (2)
-
mkdir
_ p (1) - mkpath (1)
- mktmpdir (2)
- mlsd (2)
- mode (1)
- move (1)
- mtime= (1)
- mv (1)
- needed? (2)
- new (36)
- nlink (1)
-
not
_ modified? (1) - nowrite (1)
-
nowrite
_ flag (1) -
nowrite
_ flag= (1) -
num
_ files (1) -
num
_ files= (1) - of (1)
- open (25)
- open! (1)
-
open
_ uri (2) -
open
_ uri _ or _ path (1) - optparse (1)
-
orig
_ name (1) -
orig
_ name= (1) -
os
_ code (1) - output= (1)
-
package
_ files (1) -
package
_ files= (1) - parameters (1)
-
parent
_ file _ name (1) - parse (2)
-
parse
_ file (2) -
parse
_ files _ matching (1) -
parser
_ for (1) - path (8)
- pathmap (2)
- pipe? (1)
- pos (2)
- post (2)
- pread (1)
-
prepare
_ range (1) - print (1)
- printf (1)
- put (2)
- putbinaryfile (2)
- putc (1)
- puts (2)
- puttextfile (2)
- pwd (1)
- pwrite (1)
- query (1)
- raise (3)
- rake (1)
-
rake
/ loaders / makefile (1) - rakefile (1)
-
raw
_ data (1) -
rb
_ autoload (1) -
rb
_ autoload _ id (1) -
rb
_ compile _ error (1) -
rb
_ compile _ error _ with _ enc (1) -
rb
_ compile _ file (1) -
rb
_ f _ autoload (1) -
rb
_ source _ filename (1) - rdev (1)
-
rdev
_ major (1) -
rdev
_ minor (1) - rdoc (1)
-
rdoc
/ parser (1) -
rdoc
/ parser / c (1) -
rdoc
_ files (1) -
rdoc
_ files= (1) - read (6)
-
read
_ body (2) -
read
_ cache _ data (1) - readable? (3)
-
readable
_ atfer _ eof? (3) -
readable
_ real? (3) - readbyte (2)
- readchar (3)
- readline (5)
- readlines (7)
- readlink (2)
- realdirpath (1)
-
really
_ verbose (1) - realpath (3)
-
record
_ location (1) -
recv
_ io (1) - remove (1)
-
remove
_ dir (1) -
remove
_ entry (1) -
remove
_ entry _ secure (1) -
remove
_ file (1) -
remove
_ handler (1) - rename (2)
- reopen (4)
- report (1)
- require (1)
-
require
_ relative (1) -
reset
_ cache _ file (1) - resolve (1)
-
respond
_ to? (1) - restore (1)
- result (1)
- rewind (1)
- rm (2)
-
rm
_ f (2) -
rm
_ r (1) -
rm
_ rf (2) - rmdir (1)
- rmtree (1)
- rss (1)
- ruby (1)
-
ruby 1
. 6 feature (1) -
ruby 1
. 8 . 2 feature (1) -
ruby 1
. 8 . 3 feature (1) -
ruby 1
. 8 . 4 feature (1) -
ruby 1
. 8 . 5 feature (1) -
ruby 1
. 9 feature (1) -
rubygems
/ command _ manager (1) -
rubygems
/ commands / build _ command (1) -
rubygems
/ commands / cert _ command (1) -
rubygems
/ commands / check _ command (1) -
rubygems
/ commands / cleanup _ command (1) -
rubygems
/ commands / contents _ command (1) -
rubygems
/ commands / dependency _ command (1) -
rubygems
/ commands / environment _ command (1) -
rubygems
/ commands / fetch _ command (1) -
rubygems
/ commands / generate _ index _ command (1) -
rubygems
/ commands / help _ command (1) -
rubygems
/ commands / install _ command (1) -
rubygems
/ commands / list _ command (1) -
rubygems
/ commands / lock _ command (1) -
rubygems
/ commands / mirror _ command (1) -
rubygems
/ commands / outdated _ command (1) -
rubygems
/ commands / pristine _ command (1) -
rubygems
/ commands / query _ command (1) -
rubygems
/ commands / rdoc _ command (1) -
rubygems
/ commands / search _ command (1) -
rubygems
/ commands / server _ command (1) -
rubygems
/ commands / sources _ command (1) -
rubygems
/ commands / specification _ command (1) -
rubygems
/ commands / uninstall _ command (1) -
rubygems
/ commands / unpack _ command (1) -
rubygems
/ config _ file (1) -
safe
_ ln (1) -
safe
_ load (2) -
safe
_ unlink (1) -
scope
_ name (1) -
send
_ mail (1) - sendmail (1)
- service (1)
-
set
_ encoding (1) -
set
_ get _ line _ procs (3) -
set
_ params (1) -
set
_ trace _ func (1) - sexp (1)
-
sexp
_ raw (1) - sh (1)
- shebang (1)
- shellescape (1)
- shelljoin (1)
- size (6)
- size? (3)
-
source
_ location (1) - spawn (4)
- split (2)
-
split
_ all (1) - start (2)
- stdout= (1)
- storbinary (2)
- storlines (2)
- sub (1)
- sub! (1)
- superclass (1)
-
sweep
_ source _ filename (1) - symlink (1)
-
synthesize
_ file _ task (1) - sysread (1)
- sysseek (1)
- system (4)
-
system
_ cache _ file (2) - syswrite (1)
-
tar
_ bz2 _ file (1) -
tar
_ gz _ file (1) - tell (2)
- test (2)
-
test
_ file (1) -
test
_ files (1) -
test
_ files= (1) -
test
_ suite _ file (1) -
tgz
_ file (1) -
to
_ a (1) -
to
_ ary (1) -
to
_ i (3) -
to
_ io (1) -
to
_ path (2) -
to
_ ptr (1) -
to
_ s (2) - tokenize (1)
-
total
_ time (1) - touch (1)
-
trace
_ func (2) - tracer (1)
- truncate (4)
-
try
_ file (1) - tsort (1)
- type (1)
- uid (1)
- umask (2)
-
unescape
_ filename? (1) - ungetc (1)
-
unix
_ rights (1) - unlink (1)
- update (1)
-
update
_ sources (1) -
update
_ sources= (1) - uptodate? (1)
-
user
_ cache _ file (2) - utime (2)
- verbose (2)
- verbose= (1)
-
verbose
_ flag (1) -
verbose
_ flag= (1) -
verify
_ gem _ file (1) -
wait
_ writable (1) -
webrick
/ httpservlet / filehandler (1) -
when
_ writing (1) -
world
_ readable? (3) -
world
_ writable? (3) - wrap (5)
- writable? (3)
-
writable
_ real? (3) - write (3)
-
write
_ random _ file (1) -
write
_ require _ paths _ file _ if _ needed (1) -
write
_ smime (1) - zero? (3)
-
zip
_ file (1) - クラス/メソッドの定義 (1)
- セキュリティモデル (1)
- 制御構造 (1)
- 変数と定数 (1)
検索結果
先頭5件
-
NODE * rb
_ compile _ file(const char *f , VALUE file , int start) (96949.0) -
Ruby の IO オブジェクト file から文字列を読み込み、 それを Ruby プログラムとして構文木にコンパイルします。 作成した構文木は ruby_eval_tree と ruby_eval_tree_begin に 格納し、同時に ruby_eval_tree を返します。 またコンパイルするときにファイル f の line 行目からをコンパイル していると仮定します。
Ruby の IO オブジェクト file から文字列を読み込み、
それを Ruby プログラムとして構文木にコンパイルします。
作成した構文木は ruby_eval_tree と ruby_eval_tree_begin に
格納し、同時に ruby_eval_tree を返します。
またコンパイルするときにファイル f の line 行目からをコンパイル
していると仮定します。 -
char * rb
_ source _ filename(const char *f) (96901.0) -
-
rake
/ loaders / makefile (96001.0) -
Makefile をロードするためのライブラリです。
Makefile をロードするためのライブラリです。 -
rubygems
/ config _ file (96001.0) -
設定ファイルに書かれている gem コマンドのオプションを オブジェクトに保存するためのライブラリです。
設定ファイルに書かれている gem コマンドのオプションを
オブジェクトに保存するためのライブラリです。 -
VALUE rb
_ f _ autoload(VALUE obj , VALUE klass , VALUE file) (78601.0) -
-
static void rb
_ autoload _ id(ID id , const char *filename) (78601.0) -
-
void rb
_ autoload(const char *klass , const char *filename) (78601.0) -
この関数は 2.3.0 以降で deprecated です。rb_funcall を使用してください。
この関数は 2.3.0 以降で deprecated です。rb_funcall を使用してください。 -
void rb
_ compile _ error(const char *file , int line , const char *fmt , . . . ) (78601.0) -
この関数は Ruby 2.3.0 から deprecated です。公開関数ですが内部利用のみを想 定しています。外部のライブラリで使用すべきではありません。
この関数は Ruby 2.3.0 から deprecated です。公開関数ですが内部利用のみを想
定しています。外部のライブラリで使用すべきではありません。 -
void rb
_ compile _ error _ with _ enc(const char *file , int line , void *enc , const char *fmt , . . . ) (78601.0) -
この関数は Ruby 2.3.0 から deprecated です。公開関数ですが内部利用のみを想 定しています。外部のライブラリで使用すべきではありません。
この関数は Ruby 2.3.0 から deprecated です。公開関数ですが内部利用のみを想
定しています。外部のライブラリで使用すべきではありません。 -
rake (78091.0)
-
Rake というコマンドラインツールを扱うライブラリです。
Rake というコマンドラインツールを扱うライブラリです。
=== Rake とは
Rake は Make によく似た機能を持つ Ruby で書かれたシンプルなビルドツールです。
Rake は以下のような特徴を持っています。
* Rakefile (Rake における Makefile) は標準的な Ruby の文法で書くことができます。
XML ファイルを編集する必要はありませんし、Makefile の風変わりな文法 (タブだっけ?スペースだっけ?) に頭を悩ませる必要もありません。
* ユーザは必須条件をタスクに指定できます。
* Rake は暗黙のタスクを合成... -
rdoc
/ parser (78073.0) -
rdoc で解析できるファイルの種類を追加するためのサブライブラリです。
rdoc で解析できるファイルの種類を追加するためのサブライブラリです。
以下のメソッドを定義したクラスを作成する事で、新しいパーサクラスを作成
する事ができます。
* #initialize(top_level, file_name, body, options, stats)
* #scan
initialize メソッドは以下の引数を受け取ります。
* top_level RDoc::TopLevel オブジェクトを指定します。
* file_name: file_name ファイル名を文字列で指定します。
* body: ソースコードの内容を文字列で指定します。
*... -
rubygems
/ commands / build _ command (78073.0) -
Gem パッケージをビルドするためのライブラリです。
Gem パッケージをビルドするためのライブラリです。
Usage: gem build GEMSPEC_FILE [options]
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を詳細にします
-q, --quiet 静かに実行します
--config-file FILE 指定された設定ファイルを使用します... -
rubygems
/ commands / dependency _ command (78073.0) -
インストールされている Gem パッケージの依存関係を表示するためのライブラリです。
インストールされている Gem パッケージの依存関係を表示するためのライブラリです。
Usage: gem dependency GEMNAME [options]
Options:
-v, --version VERSION 指定したバージョンの依存関係を表示します
--platform PLATFORM 指定したプラットフォームの依存関係を表示します
-R, --[no-]reverse-dependencies この Gem を使用している Gem を表示します
-p, --p... -
rubygems
/ commands / generate _ index _ command (78073.0) -
ある Gem サーバに対するインデックスを作成するためのライブラリです。
ある Gem サーバに対するインデックスを作成するためのライブラリです。
Usage: gem generate_index [options]
Options:
-d, --directory=DIRNAME repository base dir containing gems subdir
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を詳細にします
... -
rdoc (78055.0)
-
RDoc は Ruby のドキュメント生成を行うためのライブラリです。rdoc という ドキュメント生成のためのコマンドも含んでいます。
RDoc は Ruby のドキュメント生成を行うためのライブラリです。rdoc という
ドキュメント生成のためのコマンドも含んでいます。
このパッケージは RDoc と Markup というふたつのコンポーネントを含
んでいます。 RDoc とは Ruby のソースファイルに対するドキュメントを生成
するアプリケーションです。 JavaDoc と同様に、ソースを解析し、クラス、モ
ジュール、メソッドの定義を抜き出してきます(include,require もです)。そ
してこれらの内容とその直前に書かれたコメントを併合し、ドキュメントを出
力します(現在は HTML しか出力できませんが、こ... -
rss (78055.0)
-
RSS を扱うためのライブラリです。
RSS を扱うためのライブラリです。
=== 参考
* RSS 0.91 http://backend.userland.com/rss091
* RSS 1.0 http://purl.org/rss/1.0/spec
* RSS 2.0 http://www.rssboard.org/rss-specification
* Atom 1.0 https://www.ietf.org/rfc/rfc4287.txt
=== 注意
RSS ParserはRSS 0.9x/1.0/2.0, Atom 1.0 をサポートしていますが,RSS 0.90
はサポートしてませ... -
rubygems
/ commands / cert _ command (78055.0) -
Gem パッケージの証明書や署名の設定を管理するためのライブラリです。
Gem パッケージの証明書や署名の設定を管理するためのライブラリです。
Usage: gem cert [options]
Options:
-a, --add CERT 信頼された証明書を追加します
-l, --list 信頼されている証明書の一覧を表示します
-r, --remove STRING STRING を含む証明書を削除します
-b, --build EMAIL_ADDR EMAIL_ADDR ... -
rubygems
/ commands / check _ command (78055.0) -
インストールされている Gem パッケージを検証するためのライブラリです。
インストールされている Gem パッケージを検証するためのライブラリです。
Usage: gem check [options]
Options:
--verify FILE 内部のチェックサムにより Gem パッケージを検証します
-a, --alien 管理されていないパッケージを報告します
-t, --test Gem パッケージのユニットテストを実行します
-v, --version VERSION ... -
rubygems
/ commands / install _ command (78055.0) -
Gem パッケージをローカルリポジトリにインストールするためのライブラリです。
Gem パッケージをローカルリポジトリにインストールするためのライブラリです。
Usage: gem install GEMNAME [GEMNAME ...] [options] -- --build-flags [options]
Options:
--platform PLATFORM 指定されたプラットフォームの Gem パッケージをインストールします
-v, --version VERSION 指定されたバージョンの Gem パッケージをインストールします
Install/Update Op... -
rubygems
/ commands / list _ command (78055.0) -
Gem パッケージの名前を前方一致で検索するためのライブラリです。
Gem パッケージの名前を前方一致で検索するためのライブラリです。
Usage: gem list [STRING] [options]
Options:
-i, --[no-]installed Check for installed gem
-v, --version VERSION 指定されたバージョンの一覧を出力します
-d, --[no-]details Gem パッケージの詳細も表示します
--[no-]versions ... -
rubygems
/ commands / outdated _ command (78055.0) -
更新が必要な Gem パッケージの一覧を出力するためのライブラリです。
更新が必要な Gem パッケージの一覧を出力するためのライブラリです。
Usage: gem outdated [options]
Options:
--platform PLATFORM 指定されたプラットフォームに関する情報を表示します
Local/Remote Options:
-l, --local 操作をローカルに限定します
-r, --remote 操作をリモートに限定します
-b, --both ... -
rubygems
/ commands / query _ command (78055.0) -
Gem パッケージの情報を検索するためのライブラリです。
Gem パッケージの情報を検索するためのライブラリです。
Usage: gem query [options]
Options:
-i, --[no-]installed Check for installed gem
-v, --version VERSION Specify version of gem to query
-n, --name-matches REGEXP 与えられた正規表現にマッチする Gem パッケージを
検... -
rubygems
/ commands / search _ command (78055.0) -
指定された文字列を含む Gem パッケージを全て表示するためのライブラリです。
指定された文字列を含む Gem パッケージを全て表示するためのライブラリです。
Usage: gem search [STRING] [options]
Options:
-i, --[no-]installed Check for installed gem
-v, --version VERSION Specify version of gem to search
-d, --[no-]details Display detailed information of g... -
rubygems
/ commands / sources _ command (78055.0) -
Gem パッケージの取得元の情報を管理するためのライブラリです。
Gem パッケージの取得元の情報を管理するためのライブラリです。
Usage: gem sources [options]
Options:
-a, --add SOURCE_URI 取得元を追加します
-l, --list 取得元一覧を表示します
-r, --remove SOURCE_URI 取得元を削除します
-u, --update 取得元のキャッシュを更新します
-c, --clear-... -
rubygems
/ commands / specification _ command (78055.0) -
指定された Gem パッケージの gemspec の情報を YAML 形式で表示するためのライブラリです。
指定された Gem パッケージの gemspec の情報を YAML 形式で表示するためのライブラリです。
Usage: gem specification [GEMFILE] [options]
Options:
-v, --version VERSION Specify version of gem to examine
--platform PLATFORM Specify the platform of gem to specification
--all ... -
rubygems
/ command _ manager (78037.0) -
gem コマンドによってサポートされているサブコマンドを管理するライブラリです。
gem コマンドによってサポートされているサブコマンドを管理するライブラリです。
Extra commands can be provided by writing a rubygems_plugin.rb
file in an installed gem. You should register your command against the
Gem::CommandManager instance, like this:
# file rubygems_plugin.rb
require 'rubygems/command_manager'
class Gem::Co... -
rubygems
/ commands / cleanup _ command (78037.0) -
ローカルにインストールされている古い Gem を削除するライブラリです。
ローカルにインストールされている古い Gem を削除するライブラリです。
Usage: gem cleanup [GEMNAME ...] [options]
Options:
-d, --dryrun
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を詳細にします
-q, --quiet 静かに実行します
--... -
rubygems
/ commands / contents _ command (78037.0) -
インストールされている Gem パッケージに含まれているファイルリストを表示するためのライブラリです。
インストールされている Gem パッケージに含まれているファイルリストを表示するためのライブラリです。
Usage: gem contents GEMNAME [options]
Options:
-v, --version VERSION 指定されたバージョンの Gem パッケージの内容を表示します
-s, --spec-dir a,b,c 指定されたパス以下にある Gem パッケージを検索します
-l, --[no-]lib-only Gem パッケージの lib ディ... -
rubygems
/ commands / environment _ command (78037.0) -
RubyGems の環境に関する情報を表示するためのライブラリです。
RubyGems の環境に関する情報を表示するためのライブラリです。
Usage: gem environment [arg] [options]
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を詳細にします
-q, --quiet 静かに実行します
--config-file FILE 指定された設定ファイル... -
rubygems
/ commands / fetch _ command (78037.0) -
Gem パッケージをダウンロードしてカレントディレクトリに保存するためのライブラリです。
Gem パッケージをダウンロードしてカレントディレクトリに保存するためのライブラリです。
Usage: gem fetch GEMNAME [GEMNAME ...] [options]
Options:
-v, --version VERSION 指定されたバージョンの Gem を取得します
--platform PLATFORM 指定されたプラットフォームの Gem を取得します
Local/Remote Options:
-B, --bulk-threshold COUNT ... -
rubygems
/ commands / help _ command (78037.0) -
Gem コマンドに関するヘルプを提供するためのライブラリです。
Gem コマンドに関するヘルプを提供するためのライブラリです。
Usage: gem help ARGUMENT [options]
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を詳細にします
-q, --quiet 静かに実行します
--config-file FILE 指定された設定ファイルを使用します
... -
rubygems
/ commands / lock _ command (78037.0) -
指定された特定のバージョンの Gem パッケージに依存する Gem を使用するために 必要な Kernel#gem メソッドの呼び出し方法を文字列で出力します。
指定された特定のバージョンの Gem パッケージに依存する Gem を使用するために
必要な Kernel#gem メソッドの呼び出し方法を文字列で出力します。
Usage: gem lock GEMNAME-VERSION [GEMNAME-VERSION ...] [options]
Options:
-s, --[no-]strict 依存関係を満たせない場合に失敗します
Common Options:
-h, --help このコマンドのヘルプを表示します
... -
rubygems
/ commands / mirror _ command (78037.0) -
リモートリポジトリをローカルリポジトリにミラーするためのライブラリです。
リモートリポジトリをローカルリポジトリにミラーするためのライブラリです。
Usage: gem mirror [options]
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を詳細にします
-q, --quiet 静かに実行します
--config-file FILE 指定された設定ファイルを使用します
... -
rubygems
/ commands / pristine _ command (78037.0) -
インストールされている Gem パッケージを初期状態にするためのライブラリです。
インストールされている Gem パッケージを初期状態にするためのライブラリです。
Usage: gem pristine [args] [options]
Options:
--all インストールされている全ての Gem パッケージを
初期状態に戻します
-v, --version VERSION 指定したバージョンの Gem パッケージを
... -
rubygems
/ commands / rdoc _ command (78037.0) -
RDoc と ri のライブラリを生成するためのライブラリです。
RDoc と ri のライブラリを生成するためのライブラリです。
Usage: gem rdoc [args] [options]
Options:
--all インストールされている全ての Gem パッケージの
RDoc/RI ドキュメントを生成します。
--[no-]rdoc RDoc を含めます
--[no-]ri RI ... -
rubygems
/ commands / server _ command (78037.0) -
ローカルにインストールされている Gem パッケージとそのドキュメントを HTTP サーバに 載せて公開するためのライブラリです。
ローカルにインストールされている Gem パッケージとそのドキュメントを HTTP サーバに
載せて公開するためのライブラリです。
Usage: gem server [options]
Options:
-p, --port=PORT port to listen on
-d, --dir=GEMDIR directory from which to serve gems
--[no-]daemon run as a daemon
... -
rubygems
/ commands / uninstall _ command (78037.0) -
Gem パッケージをアンインストールするためのライブラリです。
Gem パッケージをアンインストールするためのライブラリです。
Usage: gem uninstall GEMNAME [GEMNAME ...] [options]
Options:
-a, --[no-]all Uninstall all matching versions
-I, --[no-]ignore-dependencies Ignore dependency requirements while
uninstalling
-x, --... -
rubygems
/ commands / unpack _ command (78037.0) -
指定された Gem パッケージをカレントディレクトリに展開するためのライブラリです。
指定された Gem パッケージをカレントディレクトリに展開するためのライブラリです。
Usage: gem unpack GEMNAME [options]
Options:
--target 展開先のディレクトリを指定します
-v, --version VERSION 展開する Gem パッケージのバージョンを指定します
Common Options:
-h, --help このコマンドのヘルプを表示します
-... -
rdoc
/ parser / c (78019.0) -
C 言語で記述されたソースコードから組み込みクラス/モジュールのドキュメン トを解析するためのサブライブラリです。
C 言語で記述されたソースコードから組み込みクラス/モジュールのドキュメン
トを解析するためのサブライブラリです。
C 言語で記述された拡張ライブラリなどを解析するのに使用します。
rb_define_class や rb_define_method などで定義されたものに
対応する C 言語の関数のコメントを解析します。
例: Array#flatten の場合。rb_ary_flatten のコメントが解析されます。
/*
* Returns a new array that is a one-dimensional flattening of this
* arra... -
Kernel
# file(*args) { . . . } -> Rake :: FileTask (63922.0) -
ファイルタスクを定義します。
ファイルタスクを定義します。
@param args ファイル名と依存ファイル名を指定します。
例:
file "config.cfg" => ["config.template"] do
open("config.cfg", "w") do |outfile|
open("config.template") do |infile|
while line = infile.gets
outfile.puts line
end
end
end
end
@see Rake:... -
Psych
:: SyntaxError # file -> String|nil (63622.0) -
エラーが生じたファイルの名前を返します。
エラーが生じたファイルの名前を返します。
Psych.load_file で指定したファイルの名前や
Psych.load の第2引数で指定した名前が返されます。
パース時にファイル名を指定しなかった場合は nil が返されます。 -
Gem
:: RequirePathsBuilder # write _ require _ paths _ file _ if _ needed(spec = @spec , gem _ home = @gem _ home) (63604.0) -
必要であれば、'.require_paths' というファイルを Gem ごとに作成します。
必要であれば、'.require_paths' というファイルを Gem ごとに作成します。 -
File
. readable _ real?(path) -> bool (63601.0) -
FileTest.#readable_real? と同じです。
FileTest.#readable_real? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。 -
ARGF
. class # file -> IO (63424.0) -
現在開いている処理対象の File オブジェクト(または IO オブジェ クト)を返します。
現在開いている処理対象の File オブジェクト(または IO オブジェ
クト)を返します。
$ echo "foo" > foo
$ echo "bar" > bar
$ ruby argf.rb foo bar
ARGF.file # => #<File:foo>
ARGF.read(5) # => "foo\nb"
ARGF.file # => #<File:bar>
ARGFが現在開いている処理対象が標準入力の場合、$stdin を返します。 -
CGI
:: Session :: FileStore # restore -> Hash (54601.0) -
セッションの状態をファイルから復元したハッシュを返します。
セッションの状態をファイルから復元したハッシュを返します。 -
Digest
:: Base . file(path) -> object (54388.0) -
新しいダイジェストオブジェクトを生成し、 ファイル名 file で指定したファイルの内容を読み込み、 そのダイジェストオブジェクトを返します。
新しいダイジェストオブジェクトを生成し、
ファイル名 file で指定したファイルの内容を読み込み、
そのダイジェストオブジェクトを返します。
@param path 読み込み対象のファイル名です。
@return ダイジェストオブジェクトを返します。
使用例(SHA256の場合)
require 'digest'
digest = Digest::SHA256.file("X11R6.8.2-src.tar.bz2")
digest.hexdigest
# => "f02e3c85572dc9ad7cb77c2a638e... -
FileTest
. # readable _ real?(file) -> bool (45922.0) -
ファイルがカレントプロセスの実ユーザか実グループによって読み込み可能な時に真を 返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
ファイルがカレントプロセスの実ユーザか実グループによって読み込み可能な時に真を
返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
@param file ファイル名を表す文字列を指定します。
@see FileTest.#readable? -
OpenSSL
:: Random . # load _ random _ file(filename) -> true (45922.0) -
ファイルを読み込み、その内容をエントロピー源として 乱数生成器に渡します。
ファイルを読み込み、その内容をエントロピー源として
乱数生成器に渡します。
エントロピーの推定量はファイルのバイト数と同じであると見なします。
OpenSSL::Random.seed(File.read(filename)) と同じです。
@param filename 読み込むファイル名
@raise OpenSSL::Random::RandomError ファイルの読み込みに失敗した場合に発生します
@raise OpenSSL::Random::RandomError -
OpenSSL
:: Random . # write _ random _ file(filename) -> true (45904.0) -
乱数生成器で生成された 1024 バイトのランダムなバイト列を ファイルに書き込みます。
乱数生成器で生成された 1024 バイトのランダムなバイト列を
ファイルに書き込みます。
これで出力したランダムなバイト列はあとで乱数生成器を初期化するの
に使えます。リブート直後などシステムからのエントロピーが少ない場合に
利用できます。
このファイルは利用者以外には読めないように保存しなければなりません。
部外者がこのファイルを読めることはセキュリティ上の問題を引き起します。
@param filename 書き込むファイルの名前
@raise OpenSSL::Random::RandomError ファイルの書き出しに失敗した場合に発生します -
Rake
:: Application :: DEFAULT _ RAKEFILES -> Array (45901.0) -
デフォルトで Rakefile として扱うファイル名の配列を返します。
デフォルトで Rakefile として扱うファイル名の配列を返します。
'rakefile', 'Rakefile', 'rakefile.rb', 'Rakefile.rb' が指定されています。 -
File
. dirname(filename) -> String (45763.0) -
filename の一番後ろのスラッシュより前を文 字列として返します。スラッシュを含まないファイル名に対しては "."(カレントディレクトリ)を返します。
filename の一番後ろのスラッシュより前を文
字列として返します。スラッシュを含まないファイル名に対しては
"."(カレントディレクトリ)を返します。
//emlist[例][ruby]{
p File.dirname("dir/file.ext") # => "dir"
p File.dirname("file.ext") # => "."
//}
File.dirname の動作は dirname(3)
に従います。
//emlist[例][ruby]{
p File.dirname("foo/bar/") # => "foo"
p File.di... -
FileUtils
. # remove _ entry _ secure(path , force = false) -> () (45637.0) -
ファイル path を削除します。path がディレクトリなら再帰的に削除します。
ファイル path を削除します。path がディレクトリなら再帰的に削除します。
FileUtils.#rm_r および FileUtils.#remove_entry には
TOCTTOU (time-of-check to time-of-use)脆弱性が存在します。
このメソッドはそれを防ぐために新設されました。
FileUtils.#rm_r および FileUtils.#remove_entry は以下の条件が
満たされるときにはセキュリティホールになりえます。
* 親ディレクトリが全ユーザから書き込み可能 (/tmp を含む)
* path 以下のいずれかのディレク... -
File
. birthtime(filename) -> Time (45619.0) -
作成された時刻を返します。
作成された時刻を返します。
@param filename ファイル名を表す文字列か IO オブジェクトを指定します。
@raise Errno::EXXX ファイルの時刻の取得に失敗した場合に発生します。
@raise NotImplementedError Windows のような birthtime のない環境で発生します。
//emlist[例][ruby]{
File.birthtime("testfile") #=> Wed Apr 09 08:53:13 CDT 2003
//} -
File
:: Stat # readable _ real? -> bool (45619.0) -
実ユーザ/実グループによって読み込み可能な時に真を返します。
実ユーザ/実グループによって読み込み可能な時に真を返します。
//emlist[][ruby]{
p File::Stat.new($0).readable_real? #=> true
//} -
FileUtils
. # remove _ file(path , force = false) -> () (45604.0) -
ファイル path を削除します。
ファイル path を削除します。
@param path 削除するファイル。
@param force 真のときは削除中に発生した StandardError を無視します。 -
FileUtils
. # compare _ stream(io _ a , io _ b) -> bool (45601.0) -
IO オブジェクト io_a と io_b の内容が同じなら真を返します。
IO オブジェクト io_a と io_b の内容が同じなら真を返します。
@param io_a IO オブジェクト。
@param io_b IO オブジェクト。 -
Rake
:: Application # load _ rakefile (45601.0) -
Rakefile を探してロードします。
Rakefile を探してロードします。 -
Rake
:: Application # rakefile -> String (45601.0) -
実際に使用されている Rakefile の名前を返します。
実際に使用されている Rakefile の名前を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.rakefile # => "Rakefile"
end
//} -
File
# birthtime -> Time (45391.0) -
作成された時刻を Time オブジェクトとして返します。
作成された時刻を Time オブジェクトとして返します。
@raise IOError 自身が close されている場合に発生します。
@raise Errno::EXXX ファイルの時刻の取得に失敗した場合に発生します。
@raise NotImplementedError Windows のような birthtime のない環境で発生します。
File.new("testfile").birthtime #=> Wed Apr 09 08:53:14 CDT 2003
@see File#lstat, File#atime, File#ctime, File#mti... -
File
. realpath(pathname , basedir = nil) -> String (45373.0) -
与えられた pathname に対応する絶対パスを返します。
与えられた pathname に対応する絶対パスを返します。
pathname の全てのコンポーネントは存在しなければなりません。
@param pathname ファイル名を指定します。
@param basedir ベースディレクトリを指定します。省略するとカレントディレクトリを使用します。
@raise Errno::ENOENT ファイルが存在しない場合に発生します。
//emlist[例][ruby]{
ENV["HOME"] # => "/home/matz"
File.symlink("testfile", "testlink"... -
File
. rename(from , to) -> 0 (45373.0) -
ファイルの名前を変更します。ディレクトリが異なる場合には移動も行い ます。rename(2) を参照してください。移動先のファ イルが存在する時には上書きされます。
ファイルの名前を変更します。ディレクトリが異なる場合には移動も行い
ます。rename(2) を参照してください。移動先のファ
イルが存在する時には上書きされます。
ファイルの移動に成功した場合 0 を返します。失敗した場合は例外
Errno::EXXX が発生します。
@param from ファイルの名前を文字列で与えます。
@param to 新しいファイル名を文字列で与えます。
@raise Errno::EXXX 失敗した場合に発生します。
//emlist[例][ruby]{
begin
File.rename("testfile", "testfile.bak")... -
File
. readlink(path) -> String (45337.0) -
シンボリックリンクのリンク先のパスを文字列で返します。
シンボリックリンクのリンク先のパスを文字列で返します。
@param path シンボリックリンクを表す文字列を指定します。
@raise Errno::EXXX 指定された path がシンボリックリンクでない場合や、リンクの読み取りに失敗した場合に発生します。
//emlist[例:][ruby]{
IO.write("testfile", "test")
File.symlink("testfile", "testlink") # => 0
File.readlink("testlink") # => "testfile"
//} -
File
. truncate(path , length) -> 0 (45337.0) -
path で指定されたファイルのサイズを最大 length バイト にします。
path で指定されたファイルのサイズを最大 length バイト
にします。
サイズの変更に成功すれば 0 を返します。失敗した場合は例外
Errno::EXXX が発生します。
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@raise Errno::EXXX 失敗した場合に発生します。
//emlist[例][ruby]{
IO.write("testfile", "1234567890")
File.truncate("testfile", 5) # => 0
File.size("testfil... -
File
# truncate(length) -> 0 (45319.0) -
ファイルのサイズを最大 length バイトにします。
ファイルのサイズを最大 length バイトにします。
サイズの変更に成功すれば 0 を返します。失敗した場合は例外
Errno::EXXX が発生します。
@raise IOError 自身が書き込み用にオープンされていなければ発生します。
@raise Errno::EXXX サイズの変更に失敗した場合に発生します。
//emlist[例][ruby]{
IO.write("testfile", "1234567890")
File.open("testfile", "a") do |f|
f.truncate(5) # => 0
f.size # => 5... -
File
. world _ readable?(path) -> Integer | nil (45319.0) -
path が全てのユーザから読めるならばそのファイルのパーミッションを表す 整数を返します。そうでない場合は nil を返します。
path が全てのユーザから読めるならばそのファイルのパーミッションを表す
整数を返します。そうでない場合は nil を返します。
整数の意味はプラットフォームに依存します。
@param path パスを表す文字列か IO オブジェクトを指定します。
//emlist[例][ruby]{
m = File.world_readable?("/etc/passwd")
"%o" % m # => "644"
//} -
File
. world _ writable?(path) -> bool (45319.0) -
path が全てのユーザから書き込めるならば、そのファイルのパーミッションを表す 整数を返します。そうでない場合は nil を返します。
path が全てのユーザから書き込めるならば、そのファイルのパーミッションを表す
整数を返します。そうでない場合は nil を返します。
整数の意味はプラットフォームに依存します。
@param path パスを表す文字列か IO オブジェクトを指定します。
//emlist[例][ruby]{
m = File.world_writable?("/tmp")
"%o" % m #=> "777"
//} -
File
. chardev?(path) -> bool (45301.0) -
FileTest.#chardev? と同じです。
FileTest.#chardev? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。 -
File
. directory?(path) -> bool (45301.0) -
FileTest.#directory? と同じです。
FileTest.#directory? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。 -
File
. executable _ real?(path) -> bool (45301.0) -
FileTest.#executable_real? と同じです。
FileTest.#executable_real? と同じです。
@param path パスを表す文字列を指定します。 -
File
. grpowned?(path) -> bool (45301.0) -
FileTest.#grpowned? と同じです。
FileTest.#grpowned? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。 -
File
. readable?(path) -> bool (45301.0) -
FileTest.#readable? と同じです。
FileTest.#readable? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。 -
File
. realdirpath(pathname , basedir = nil) -> String (45301.0) -
与えられた pathname に対応する絶対パスを返します。
与えられた pathname に対応する絶対パスを返します。
pathname の最後のコンポーネントは存在していなくても例外は発生しません。
@param pathname ファイル名を指定します。
@param basedir ベースディレクトリを指定します。省略するとカレントディレクトリを使用します。
@raise Errno::ENOENT ファイルが存在しない場合に発生します。 -
File
. writable?(path) -> bool (45301.0) -
FileTest.#writable? と同じです。
FileTest.#writable? と同じです。
@param path パスを表す文字列を指定します。 -
File
. writable _ real?(path) -> bool (45301.0) -
FileTest.#writable_real? と同じです。
FileTest.#writable_real? と同じです。
@param path パスを表す文字列を指定します。 -
File
:: ALT _ SEPARATOR -> "\\" | nil (45301.0) -
システムのファイルパスのセパレータが SEPARATOR と異なる場合 に設定されます。MS-DOS などでは "\\" です。UNIX や Cygwin などでは nil です。
システムのファイルパスのセパレータが SEPARATOR と異なる場合
に設定されます。MS-DOS などでは "\\" です。UNIX や Cygwin などでは nil です。 -
File
:: PATH _ SEPARATOR -> ";" | ":" (45301.0) -
PATH 環境変数の要素のセパレータです。UNIX では ":" MS-DOS な どでは ";" です。
PATH 環境変数の要素のセパレータです。UNIX では ":" MS-DOS な
どでは ";" です。 -
File
:: SEPARATOR -> " / " (45301.0) -
ファイルパスのセパレータです。ファイルを扱うメソッドにパス名を渡す 場合などスクリプト内のパス名は環境によらずこのセパレータで統一され ます。値は "/" です。
ファイルパスのセパレータです。ファイルを扱うメソッドにパス名を渡す
場合などスクリプト内のパス名は環境によらずこのセパレータで統一され
ます。値は "/" です。 -
File
:: Separator -> " / " (45301.0) -
ファイルパスのセパレータです。ファイルを扱うメソッドにパス名を渡す 場合などスクリプト内のパス名は環境によらずこのセパレータで統一され ます。値は "/" です。
ファイルパスのセパレータです。ファイルを扱うメソッドにパス名を渡す
場合などスクリプト内のパス名は環境によらずこのセパレータで統一され
ます。値は "/" です。 -
Net
:: FTP # getbinaryfile(remotefile , localfile = File . basename(remotefile) , blocksize = DEFAULT _ BLOCKSIZE) -> nil (37807.0) -
サーバ上のファイルをバイナリモードで取得します。
サーバ上のファイルをバイナリモードで取得します。
サーバー上にある remotefile という名前のファイルを取得し、
ローカルの localfile という名前のファイルに保存します。
localfile が nil である場合には保存はしません。
データの転送は blocksize バイト毎に行なわれます。
ブロックが指定された場合は
データを blocksize バイト受信するごとに、そのデータを
ブロックに渡します。
@param remotefile 取得対象のリモートのファイル名を与えます。
@param localfile 取得したデータを格納するローカルのファイル... -
Net
:: FTP # getbinaryfile(remotefile , localfile = File . basename(remotefile) , blocksize = DEFAULT _ BLOCKSIZE) {|data| . . . } -> nil (37807.0) -
サーバ上のファイルをバイナリモードで取得します。
サーバ上のファイルをバイナリモードで取得します。
サーバー上にある remotefile という名前のファイルを取得し、
ローカルの localfile という名前のファイルに保存します。
localfile が nil である場合には保存はしません。
データの転送は blocksize バイト毎に行なわれます。
ブロックが指定された場合は
データを blocksize バイト受信するごとに、そのデータを
ブロックに渡します。
@param remotefile 取得対象のリモートのファイル名を与えます。
@param localfile 取得したデータを格納するローカルのファイル... -
Net
:: FTP # putbinaryfile(localfile , remotefile = File . basename(localfile) , blocksize = DEFAULT _ BLOCKSIZE) -> nil (37807.0) -
サーバにファイルをバイナリモードで転送します。
サーバにファイルをバイナリモードで転送します。
ローカルの localfile という名前のファイルを読みだし、
サーバー上の remotefile という名前のファイルに保存します。
データの転送は blocksize バイト毎に行なわれます。
ブロックが指定された場合は
データを blocksize バイト転送するごとに、そのデータを
ブロックに渡します。
@param localfile 転送するローカルのファイル名を与えます。
@param remotefile 転送データを保存するリモートのファイル名を与えます。
@param blocksize データ転送の単位をバイト単... -
Net
:: FTP # putbinaryfile(localfile , remotefile = File . basename(localfile) , blocksize = DEFAULT _ BLOCKSIZE) {|data| . . . } -> nil (37807.0) -
サーバにファイルをバイナリモードで転送します。
サーバにファイルをバイナリモードで転送します。
ローカルの localfile という名前のファイルを読みだし、
サーバー上の remotefile という名前のファイルに保存します。
データの転送は blocksize バイト毎に行なわれます。
ブロックが指定された場合は
データを blocksize バイト転送するごとに、そのデータを
ブロックに渡します。
@param localfile 転送するローカルのファイル名を与えます。
@param remotefile 転送データを保存するリモートのファイル名を与えます。
@param blocksize データ転送の単位をバイト単... -
Kernel
. # require _ relative(relative _ feature) -> bool (37555.0) -
現在のファイルからの相対パスで require します。
現在のファイルからの相対パスで require します。
require File.expand_path(relative_feature, File.dirname(__FILE__))
とほぼ同じです。
Kernel.#eval などで文字列を評価した場合に、そこから
require_relative を呼出すと必ず失敗します。
@param relative_feature ファイル名の文字列です。
@raise LoadError ロードに失敗した場合に発生します。
@see Kernel.#require
=== require と load のスコープ
ローカル変数... -
RubyVM
:: InstructionSequence . compile _ file(file , options = nil) -> RubyVM :: InstructionSequence (37309.0) -
引数 file で指定した Ruby のソースコードを元にコンパイル済みの RubyVM::InstructionSequence オブジェクトを作成して返します。
引数 file で指定した Ruby のソースコードを元にコンパイル済みの
RubyVM::InstructionSequence オブジェクトを作成して返します。
RubyVM::InstructionSequence.compile とは異なり、file、path などの
メタデータは自動的に取得します。
@param file ファイル名を文字列で指定します。
@param options コンパイル時のオプションを true、false、Hash オブ
ジェクトのいずれかで指定します。詳細は
RubyVM::Instr... -
Gem
:: RemoteFetcher # get _ file _ uri _ path(uri) -> String (37252.0) -
与えられた URI から "file://" を取り除いた文字列を返します。
与えられた URI から "file://" を取り除いた文字列を返します。
@param uri URI を表す文字列を指定します。 -
Gem
:: Format # file _ entries=(file _ entries) (37225.0) -
Gem パッケージに含まれるファイルの配列をセットします。
Gem パッケージに含まれるファイルの配列をセットします。
@param file_entries -
Gem
:: OldFormat # file _ entries=(file _ entries) (37225.0) -
Gem パッケージに含まれるファイルの配列をセットします。
Gem パッケージに含まれるファイルの配列をセットします。
@param file_entries -
Kernel
# file _ create(*args) { . . . } -> Rake :: FileCreationTask (37204.0) -
ファイルを作成するタスクを定義します。
ファイルを作成するタスクを定義します。
主に Kernel.#directory を定義するために使用します。 -
Gem
:: RemoteFetcher # file _ uri?(uri) -> bool (36952.0) -
"file://" で始まる文字列である場合は真を返します。そうでない場合は偽を返します。
"file://" で始まる文字列である場合は真を返します。そうでない場合は偽を返します。
@param uri URI を表す文字列を指定します。 -
Gem
:: Format . from _ file _ by _ path(file _ path , security _ policy = nil) -> Gem :: Format (36925.0) -
@todo security_policy
@todo security_policy
Gem ファイルのパスからデータを読み込んで、自身を初期化して返します。
@param file_path Gem ファイルへのパスを指定します。
@param security_policy ??? -
Gem
:: OldFormat . from _ file _ by _ path(file _ path) -> Gem :: OldFormat (36925.0) -
Gem ファイルのパスからデータを読み込んで、自身を初期化して返します。
Gem ファイルのパスからデータを読み込んで、自身を初期化して返します。
@param file_path Gem ファイルへのパスを指定します。 -
Psych
. parse _ file(filename) -> Psych :: Nodes :: Document (36904.0) -
filename で指定したファイルをパースして YAML の AST を返します。
filename で指定したファイルをパースして YAML の AST を返します。
@param filename パースするファイルの名前
@raise Psych::SyntaxError YAMLドキュメントに文法エラーが発見されたときに発生します -
Gem
:: Installer # formatted _ program _ filename(filename) -> String (36901.0) -
Ruby のコマンドと同じプレフィックスとサフィックスを付けたファイル名を返します。
Ruby のコマンドと同じプレフィックスとサフィックスを付けたファイル名を返します。
@param filename 実行ファイルのファイル名を指定します。 -
Kernel
# create _ makefile(target , srcprefix = nil) -> true (36901.0) -
@todo
@todo
Kernel#have_library などの各種検査の結果を元に、拡張ライブラリを
ビルドするための Makefile を生成します。
extconf.rb は普通このメソッドの呼び出しで終ります。
@param target ターゲットとなる拡張ライブラリの名前を指定します。
例えば、拡張ライブラリで "Init_foo" という関数を定義して
いる場合は、"foo" を指定します。
'/' を含む場合は、最後のスラッシュ以降のみをターゲット名
として使用します... -
Rake
:: RDocTask # rdoc _ files -> Rake :: FileList (36901.0) -
RDoc の生成に使用するファイルリストを返します。 デフォルトは空です。
RDoc の生成に使用するファイルリストを返します。
デフォルトは空です。 -
Rake
:: RDocTask # rdoc _ files=(filelist) (36901.0) -
RDoc の生成に使用するファイルリストをセットします。
RDoc の生成に使用するファイルリストをセットします。
@param filelist ファイルリストを指定します。 -
Readline
:: FILENAME _ COMPLETION _ PROC -> Proc (36901.0) -
GNU Readline で定義されている関数を使用してファイル名の補完を行うための Proc オブジェクトです。 Readline.completion_proc= で使用します。
GNU Readline で定義されている関数を使用してファイル名の補完を行うための
Proc オブジェクトです。
Readline.completion_proc= で使用します。
@see Readline.completion_proc= -
WEBrick
:: HTTPServlet :: DefaultFileHandler # prepare _ range(range , filesize) -> [Integer , Integer] (36901.0) -
WEBrick::HTTPServlet::DefaultFileHandler#make_partial_content で利用する範囲情報を生成して返します。
WEBrick::HTTPServlet::DefaultFileHandler#make_partial_content で利用する範囲情報を生成して返します。
@param range 2 要素の配列を指定します。
@param filesize ファイルサイズを指定します。 -
struct RFile * RFILE(VALUE obj) (36901.0)
-
-
RubyVM
:: AbstractSyntaxTree . parse _ file(pathname) -> RubyVM :: AbstractSyntaxTree :: Node (36658.0) -
pathname のファイルを読み込み、その内容を抽象構文木にパースし、その木の根ノードを返します。
pathname のファイルを読み込み、その内容を抽象構文木にパースし、その木の根ノードを返します。
@param pathname パースする対象のファイルパスを指定します
@raise SyntaxError pathname から取得された文字列が Ruby のコードとして正しくない場合に発生します。
//emlist[][ruby]{
pp RubyVM::AbstractSyntaxTree.parse_file(__FILE__)
# => (SCOPE@1:0-1:50
# tbl: []
# args: nil
# body:
# (F...