種類
ライブラリ
- English (33)
- ビルトイン (4036)
-
cgi
/ core (33) -
cgi
/ html (22) -
cgi
/ session (66) -
cgi
/ session / pstore (11) - coverage (6)
- csv (187)
- digest (33)
- erb (33)
- etc (22)
- fiddle (33)
- fileutils (583)
- find (22)
-
io
/ console (11) -
irb
/ cmd / load (33) -
irb
/ context (11) -
irb
/ ext / save-history (11) -
irb
/ extend-command (22) -
irb
/ frame (11) -
irb
/ input-method (121) -
irb
/ magic-file (33) - json (11)
- logger (33)
- mkmf (77)
-
net
/ ftp (265) -
net
/ http (99) -
net
/ pop (66) -
net
/ smtp (33) - nkf (11)
- objspace (11)
- open-uri (37)
- open3 (11)
- openssl (220)
- optparse (11)
- pathname (417)
- profiler (24)
- pstore (11)
- psych (94)
- pty (22)
- rake (495)
-
rake
/ gempackagetask (11) -
rake
/ packagetask (55) -
rake
/ rdoctask (11) - rbconfig (11)
- rdoc (11)
-
rdoc
/ code _ object (11) -
rdoc
/ generator / json _ index (33) -
rdoc
/ parser (33) -
rdoc
/ parser / c (11) -
rdoc
/ parser / ruby (11) -
rdoc
/ parser / simple (11) -
rdoc
/ stats (11) -
rdoc
/ top _ level (44) - readline (22)
- resolv (22)
- ripper (33)
-
ripper
/ filter (22) -
ripper
/ lexer (22) -
ripper
/ sexp (22) -
rubygems
/ commands / build _ command (22) -
rubygems
/ commands / which _ command (11) -
rubygems
/ config _ file (231) -
rubygems
/ format (22) -
rubygems
/ gem _ path _ searcher (22) -
rubygems
/ indexer (11) -
rubygems
/ installer (22) -
rubygems
/ old _ format (22) -
rubygems
/ package (11) -
rubygems
/ package / tar _ reader / entry (11) -
rubygems
/ package / tar _ writer (44) -
rubygems
/ remote _ fetcher (44) -
rubygems
/ source _ index (11) -
rubygems
/ source _ info _ cache (143) -
rubygems
/ spec _ fetcher (11) -
rubygems
/ specification (88) -
rubygems
/ validator (11) - shell (330)
-
shell
/ command-processor (330) -
shell
/ filter (336) - shellwords (22)
- socket (22)
- stringio (11)
- syslog (33)
- tempfile (143)
-
test
/ unit (1) - thread (2)
- timeout (19)
- tmpdir (22)
- tracer (44)
- un (44)
-
webrick
/ config (11) -
webrick
/ httprequest (11) -
webrick
/ httpresponse (33) -
webrick
/ httpservlet / filehandler (110) -
webrick
/ httputils (44) -
webrick
/ log (11) -
webrick
/ ssl (11) - win32ole (44)
-
yaml
/ store (19) - zlib (440)
クラス
-
ARGF
. class (132) - BasicObject (22)
- Binding (17)
-
CGI
:: Session (11) -
CGI
:: Session :: FileStore (55) -
CGI
:: Session :: PStore (11) - CSV (176)
- Class (11)
- Coverage (6)
-
Digest
:: Base (22) - Dir (256)
- ERB (33)
-
Errno
:: EXXX (22) -
Fiddle
:: Function (11) -
Fiddle
:: Pointer (22) - File (883)
-
File
:: Stat (473) -
Gem
:: Commands :: BuildCommand (22) -
Gem
:: ConfigFile (231) -
Gem
:: FileOperations (11) -
Gem
:: Format (22) -
Gem
:: GemPathSearcher (22) -
Gem
:: Indexer (11) -
Gem
:: Installer (22) -
Gem
:: OldFormat (22) -
Gem
:: Package :: TarReader :: Entry (11) -
Gem
:: Package :: TarWriter (44) -
Gem
:: RemoteFetcher (44) -
Gem
:: SourceIndex (11) -
Gem
:: SourceInfoCache (143) -
Gem
:: SpecFetcher (11) -
Gem
:: Specification (88) -
Gem
:: Validator (11) - IO (888)
-
IRB
:: Context (22) -
IRB
:: ExtendCommand :: Load (11) -
IRB
:: ExtendCommand :: Require (11) -
IRB
:: ExtendCommand :: Source (11) -
IRB
:: FileInputMethod (33) -
IRB
:: Frame (11) -
IRB
:: InputMethod (33) -
IRB
:: ReadlineInputMethod (22) -
IRB
:: StdioInputMethod (22) - LoadError (11)
- Logger (22)
-
Logger
:: LogDevice (11) - Method (23)
-
Net
:: FTP (238) -
Net
:: FTP :: MLSxEntry (27) -
Net
:: HTTP (55) -
Net
:: HTTPGenericRequest (22) -
Net
:: HTTPResponse (22) -
Net
:: POP3 (66) -
Net
:: SMTP (33) - Object (33)
-
OpenSSL
:: Config (44) -
OpenSSL
:: PKCS7 (11) -
OpenSSL
:: SSL :: SSLContext (33) -
OpenSSL
:: X509 :: Store (11) - OptionParser (11)
- PStore (11)
- Pathname (417)
- Proc (12)
-
Psych
:: SyntaxError (11) -
RDoc
:: CodeObject (11) -
RDoc
:: Generator :: JsonIndex (33) -
RDoc
:: Options (44) -
RDoc
:: Parser (33) -
RDoc
:: Parser :: C (11) -
RDoc
:: Parser :: Ruby (11) -
RDoc
:: Parser :: Simple (11) -
RDoc
:: Stats (11) -
RDoc
:: TopLevel (44) -
Rake
:: Application (22) -
Rake
:: FileCreationTask (22) -
Rake
:: FileList (308) -
Rake
:: FileTask (33) -
Rake
:: GemPackageTask (11) -
Rake
:: PackageTask (55) -
Rake
:: RDocTask (11) -
Resolv
:: Hosts (22) - Ripper (77)
-
Ripper
:: Filter (22) -
RubyVM
:: InstructionSequence (88) - Shell (330)
-
Shell
:: CommandProcessor (330) -
Shell
:: Filter (336) -
Socket
:: AncillaryData (11) - String (22)
- StringIO (11)
- SystemCallError (33)
- Tempfile (143)
- Tracer (44)
- UNIXSocket (11)
-
WEBrick
:: BasicLog (11) -
WEBrick
:: HTTPRequest (11) -
WEBrick
:: HTTPResponse (33) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (44) -
WEBrick
:: HTTPServlet :: FileHandler (66) -
WEBrick
:: HTTPUtils :: FormData (11) - WIN32OLE (11)
-
WIN32OLE
_ METHOD (22) -
WIN32OLE
_ TYPE (11) -
YAML
:: Store (19) -
Zlib
:: GzipFile (165) -
Zlib
:: GzipFile :: Error (22) -
Zlib
:: GzipReader (77) -
Zlib
:: GzipWriter (176)
モジュール
-
CGI
:: HtmlExtension (22) -
CGI
:: QueryExtension (33) - Enumerable (11)
- Etc (22)
-
File
:: Constants (315) - FileTest (292)
- FileUtils (605)
- Find (22)
-
GC
:: Profiler (88) - IRB (11)
-
IRB
:: ContextExtender (11) -
IRB
:: ExtendCommandBundle (11) - JSON (11)
- Kernel (527)
- Marshal (22)
- ObjectSpace (11)
-
OpenSSL
:: ASN1 (11) -
OpenSSL
:: Random (44) -
OpenSSL
:: X509 (66) - OpenURI (22)
- PTY (22)
- Process (11)
-
Profiler
_ _ (24) - Psych (83)
- RDoc (11)
-
Rake
:: Cloneable (22) -
Rake
:: TaskManager (11) - RakeFileUtils (22)
- RbConfig (11)
- Readline (22)
-
RubyVM
:: AbstractSyntaxTree (8) - Shellwords (22)
- Syslog (33)
-
Test
:: Unit (1) - Timeout (19)
- URI (7)
-
WEBrick
:: Config (22) -
WEBrick
:: HTTPUtils (22)
オブジェクト
-
IRB
:: MagicFile (33)
キーワード
-
$ > (11) -
$ DEFAULT _ OUTPUT (11) -
$ FILENAME (11) -
$ INPUT _ LINE _ NUMBER (11) -
$ NR (11) -
$ stderr (11) -
$ stdin (11) -
$ stdout (11) - * (11)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - << (34)
- <=> (11)
- == (11)
- > (6)
- >> (18)
-
ALT
_ SEPARATOR (11) - APPEND (11)
- ARGF (22)
-
ARRAY
_ METHODS (11) - BINARY (11)
- Base (11)
- CREAT (11)
- CSV (11)
- ConditionVariable (11)
- DATA (11)
-
DEFAULT
_ BACKTRACE (11) -
DEFAULT
_ BENCHMARK (11) -
DEFAULT
_ BULK _ THRESHOLD (11) -
DEFAULT
_ CERT _ FILE (11) -
DEFAULT
_ CERT _ FILE _ ENV (11) -
DEFAULT
_ CERT _ STORE (11) -
DEFAULT
_ CONFIG _ FILE (11) -
DEFAULT
_ IGNORE _ PATTERNS (11) -
DEFAULT
_ RAKEFILES (11) -
DEFAULT
_ UPDATE _ SOURCES (11) -
DEFAULT
_ VERBOSITY (11) -
DELEGATING
_ METHODS (11) - DIRECT (11)
- DOSISH 対応 (11)
-
DOT
_ DOC _ FILENAME (11) - DSYNC (11)
- DefaultFileName (11)
-
ENCODING
_ SPEC _ RE (11) - EXCL (11)
- EXXX (11)
-
FILENAME
_ COMPLETION _ PROC (11) -
FNM
_ CASEFOLD (11) -
FNM
_ DOTMATCH (11) -
FNM
_ EXTGLOB (11) -
FNM
_ NOESCAPE (11) -
FNM
_ PATHNAME (11) -
FNM
_ SYSCASE (11) - FileHandler (11)
- FormData (11)
- HandlerTable (11)
- IO (11)
-
LOCK
_ EX (11) -
LOCK
_ NB (11) -
LOCK
_ SH (11) -
LOCK
_ UN (11) -
MAKEFILE
_ CONFIG (11) - METHODS (11)
-
MUST
_ DEFINE (11) -
MUST
_ NOT _ DEFINE (11) - Marshal フォーマット (11)
-
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 2 . 0 (10) -
NEWS for Ruby 2
. 3 . 0 (9) -
NEWS for Ruby 2
. 4 . 0 (8) -
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 2
. 6 . 0 (6) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) -
NEWS for Ruby 3
. 1 . 0 (3) - NKF (11)
- NOATIME (11)
- NOCTTY (11)
- NOFOLLOW (11)
- NONBLOCK (11)
- NULL (11)
-
OPERATING
_ SYSTEM _ DEFAULTS (11) -
OPT
_ TABLE (11) - Open3 (11)
-
PATH
_ SEPARATOR (11) -
PC
_ FILESIZEBITS (11) -
PLATFORM
_ DEFAULTS (11) -
PROFILE
_ PROC (6) - RDONLY (11)
- RDWR (11)
-
RLIMIT
_ NOFILE (11) - RSYNC (11)
- Ruby用語集 (11)
-
SC
_ MAPPED _ FILES (11) -
SEARCH
_ INDEX _ FILE (11) - SEPARATOR (11)
-
SHARE
_ DELETE (9) -
SPECIAL
_ RETURN (11) - SSL (11)
-
STDIN
_ FILE _ NAME (11) - SYNC (11)
-
SYSTEM
_ WIDE _ CONFIG _ FILE (11) - Separator (11)
- Stat (11)
- TMPFILE (9)
- TRUNC (11)
- Time (11)
-
V
_ ERR _ DEPTH _ ZERO _ SELF _ SIGNED _ CERT (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) - WRONLY (11)
- WhichCommand (11)
- Win32ネイティブ版Rubyの互換性問題 (11)
- [] (62)
-
_ _ dir _ _ (11) -
absolute
_ path (22) -
absolute
_ path? (5) -
add
_ file (33) -
add
_ file _ simple (22) -
add
_ filter (22) -
add
_ row (11) - advise (11)
-
all
_ one _ file (11) -
allocation
_ sourcefile (11) - append (18)
- args (11)
- ascend (22)
- atime (62)
- backtrace (11)
-
base
_ label (11) - basename (40)
- benchmark (11)
- bigdecimal (11)
- birthtime (41)
- blksize (11)
- blockdev? (51)
- blocks (11)
-
body
_ stream (11) -
body
_ stream= (11) -
bulk
_ threshold (11) -
ca
_ file (22) -
cache
_ file (11) - call (11)
- caller (33)
-
can
_ parse (11) - cat (18)
- cd (22)
- certs (11)
-
cgi
/ session (11) - chardev? (51)
- chdir (22)
- chmod (73)
-
chmod
_ R (11) - chown (62)
-
chown
_ R (11) - chroot (11)
- chunk (11)
- cleanpath (11)
- clear (11)
-
clear
_ exclude (11) - clone (22)
- close (55)
- close! (11)
-
close
_ on _ exec= (11) - closed? (22)
- cmp (11)
-
collect
_ method (11) - commands (11)
- comment (11)
-
compare
_ file (11) -
compare
_ stream (11) - compile (11)
-
compile
_ file (11) -
config
_ file _ name (11) - console (11)
-
content
_ length (11) -
content
_ length= (11) - copy (11)
-
copy
_ entry (11) -
copy
_ file (11) -
copy
_ stream (11) - count (11)
- cp (11)
-
cp
_ r (11) -
cpp
_ command (11) - crc (11)
- create (22)
-
create
_ body (11) -
create
_ makefile (11) - ctime (62)
- debug (11)
- decode (11)
-
def
_ class (11) -
def
_ extend _ command (22) - delete (62)
-
delete
_ all (22) - descend (22)
- dev (11)
-
dev
_ major (11) -
dev
_ minor (11) - directory? (51)
- dirname (40)
- disable (11)
-
do
_ GET (22) -
do
_ OPTIONS (11) -
do
_ POST (11) - download (11)
-
dummy
_ makefile (11) - dump (33)
- dup (22)
- each (88)
-
each
_ byte (22) -
each
_ char (22) -
each
_ child (28) -
each
_ codepoint (22) -
each
_ filename (11) -
each
_ line (66) - echo (18)
- egd (11)
-
egd
_ bytes (11) - empty? (16)
- enable (11)
- enabled? (11)
- encoding (11)
- entries (11)
- eof (11)
- eof? (33)
- eval (11)
- exclude (11)
-
excluded
_ from _ list? (11) - executable? (51)
-
executable
_ real? (51) - execute (33)
- exist? (51)
- existing (11)
- existing! (11)
- exists? (45)
- ext (11)
-
external
_ encoding (11) - extname (22)
-
extra
_ rdoc _ files (11) - facts (9)
- fail (33)
- fcntl (11)
- fdatasync (11)
- file? (82)
-
file
_ absolute _ name (11) -
file
_ create (11) -
file
_ entries (22) -
file
_ field (22) -
file
_ input? (11) -
file
_ name (22) -
file
_ relative _ name (11) -
file
_ stat (11) -
file
_ uri? (11) - fileboxes (11)
- filename (77)
- filename= (11)
-
filename
_ quote _ characters (11) - fileno (54)
- files (33)
- find (22)
- finish (22)
- flock (22)
- flush (22)
- fnmatch (22)
- fnmatch? (22)
-
for
_ fd (11) - foreach (84)
-
formatted
_ program _ filename (11) - formatter (11)
-
from
_ file _ by _ path (22) - ftype (51)
-
gem
_ file (11) -
gem
_ file _ list (11) - generate (11)
- get (44)
-
get
_ file _ uri _ path (11) -
get
_ line (11) - getbinaryfile (22)
- getbyte (22)
- getc (22)
- gets (55)
- gettextfile (22)
- getwd (11)
- gid (11)
- glob (40)
- grpowned? (51)
- gsub (11)
- gsub! (11)
- hash (11)
-
have
_ option? (11) - helpfile (22)
- helpstring (11)
-
history
_ file (11) - home (22)
- identical? (33)
- import (11)
- include (11)
-
inline
_ source (11) - ino (11)
-
inplace
_ mode= (11) - input (11)
- inspect (11)
- install (11)
-
install
_ files (11) -
install
_ rb (11) -
instance
_ eval (22) -
internal
_ encoding (11) - irb (11)
-
irb
/ magic-file (11) -
is
_ a? (11) - isatty (11)
- join (29)
-
kind
_ of? (11) - label (11)
-
latest
_ cache _ file (11) -
latest
_ system _ cache _ file (22) -
latest
_ user _ cache _ file (22) - lchmod (22)
- lchown (22)
- length (11)
- level (11)
- lex (11)
-
lib
_ files (11) -
line
_ stub (6) - lineno (22)
- link (40)
- ln (11)
-
ln
_ s (11) -
ln
_ sf (11) - load (55)
-
load
_ file (22) -
load
_ gemspecs (11) -
load
_ mime _ types (11) -
load
_ random _ file (11) -
load
_ specification (11) -
load
_ specs (11) -
load
_ stream (22) - logger (11)
- lstat (51)
- lutime (7)
-
make
_ link (11) -
make
_ symlink (11) - makedirs (11)
- mask (11)
-
matching
_ file? (11) -
matching
_ files (11) - mdtm (11)
-
mime
_ type (11) - mkdir (22)
-
mkdir
_ p (11) - mkfifo (9)
- mkpath (11)
- mktmpdir (22)
- mlsd (18)
- mode (11)
- move (11)
- mtime (84)
- mv (11)
- needed? (22)
-
net
/ smtp (11) - new (404)
- nlink (11)
-
not
_ modified? (11) -
nowrite
_ flag (11) -
num
_ files (11) - of (11)
-
ole
_ show _ help (11) - open (319)
- open! (11)
-
open
_ uri (22) -
open
_ uri _ or _ path (11) - optparse (11)
-
orig
_ name (11) -
os
_ code (11) - out (18)
- owned? (51)
-
package
_ files (11) - parameters (11)
-
parent
_ file _ name (11) - parse (22)
-
parse
_ file (19) -
parse
_ files _ matching (11) -
parser
_ for (11) - path (88)
- pathmap (22)
- pipe? (51)
- pos (22)
- post (22)
- pread (7)
-
prepare
_ range (11) - print (11)
-
print
_ profile (6) - printf (11)
- profile (6)
- put (22)
- putbinaryfile (22)
- putc (11)
- puts (22)
- puttextfile (22)
- pwd (11)
- pwrite (7)
- query (11)
- raise (33)
- rake (11)
- rakefile (11)
-
raw
_ data (11) - rdev (11)
-
rdev
_ major (11) -
rdev
_ minor (11) - rdoc (11)
-
rdoc
/ parser / c (11) -
rdoc
_ files (11) - read (66)
-
read
_ body (22) -
read
_ cache _ data (11) - readable? (51)
-
readable
_ atfer _ eof? (33) -
readable
_ real? (51) - readbyte (22)
- readchar (33)
- readline (55)
- readlines (77)
- readlink (40)
- realdirpath (11)
-
really
_ verbose (11) - realpath (33)
-
recv
_ io (11) - remove (11)
-
remove
_ dir (11) -
remove
_ entry (11) -
remove
_ entry _ secure (11) -
remove
_ file (11) -
remove
_ handler (11) - rename (40)
- reopen (44)
- report (11)
- require (11)
-
require
_ relative (11) -
reset
_ cache _ file (11) - resolve (11)
-
respond
_ to? (11) - restore (11)
- result (11)
- rewind (11)
- rm (40)
-
rm
_ f (22) -
rm
_ r (11) -
rm
_ rf (22) - rmdir (11)
- rmtree (11)
- rss (11)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 8 . 5 feature (11) -
ruby 1
. 9 feature (11) -
rubygems
/ commands / build _ command (11) -
rubygems
/ commands / cert _ command (11) -
rubygems
/ commands / check _ command (11) -
rubygems
/ commands / cleanup _ command (11) -
rubygems
/ commands / contents _ command (11) -
rubygems
/ commands / dependency _ command (11) -
rubygems
/ commands / environment _ command (11) -
rubygems
/ commands / fetch _ command (11) -
rubygems
/ commands / generate _ index _ command (11) -
rubygems
/ commands / help _ command (11) -
rubygems
/ commands / install _ command (11) -
rubygems
/ commands / list _ command (11) -
rubygems
/ commands / lock _ command (11) -
rubygems
/ commands / mirror _ command (11) -
rubygems
/ commands / outdated _ command (11) -
rubygems
/ commands / pristine _ command (11) -
rubygems
/ commands / query _ command (11) -
rubygems
/ commands / rdoc _ command (11) -
rubygems
/ commands / search _ command (11) -
rubygems
/ commands / server _ command (11) -
rubygems
/ commands / sources _ command (11) -
rubygems
/ commands / specification _ command (11) -
rubygems
/ commands / uninstall _ command (11) -
rubygems
/ commands / unpack _ command (11) -
safe
_ load (17) -
safe
_ unlink (11) -
scope
_ name (11) - seek (11)
-
send
_ mail (11) - sendmail (11)
- service (11)
-
set
_ encoding (33) -
set
_ encoding _ by _ bom (5) -
set
_ params (11) -
set
_ trace _ func (11) - setgid? (51)
- setuid? (51)
-
setup
_ argv (1) - sexp (11)
-
sexp
_ raw (11) - sh (11)
- shebang (11)
- shellescape (11)
- shelljoin (11)
- size (84)
- size? (51)
- socket? (51)
-
source
_ location (6) - spawn (44)
- split (40)
-
split
_ all (11) - start (22)
-
start
_ profile (6) - stat (62)
- sticky? (51)
-
stop
_ profile (6) - storbinary (22)
- storlines (22)
- sub (11)
- sub! (11)
- superclass (11)
- symlink (40)
- symlink? (51)
- sync (22)
-
synthesize
_ file _ task (11) - sysread (11)
- sysseek (11)
- system (24)
-
system
_ cache _ file (22) - syswrite (11)
-
tar
_ bz2 _ file (11) -
tar
_ gz _ file (11) - tee (18)
- tell (22)
- tempfile (11)
- test (40)
-
test
/ unit (1) -
test
_ file (11) -
test
_ files (11) -
test
_ suite _ file (11) -
tgz
_ file (11) - timeout (19)
-
to
_ a (11) -
to
_ ary (11) -
to
_ i (33) -
to
_ io (22) -
to
_ path (22) -
to
_ ptr (11) -
to
_ s (22) - tokenize (11)
-
total
_ time (11) - touch (22)
-
trace
_ func (22) - tracer (11)
- truncate (62)
-
try
_ file (11) - tsort (11)
- tty? (11)
- type (9)
- uid (11)
- umask (22)
- un (11)
-
unescape
_ filename? (11) - ungetbyte (11)
- ungetc (11)
-
unix
_ rights (11) - unlink (40)
- update (11)
-
update
_ sources (11) - uptodate? (11)
-
user
_ cache _ file (22) - utime (40)
- verbose (11)
-
verbose
_ flag (11) -
verify
_ gem _ file (11) -
wait
_ writable (11) -
world
_ readable? (33) -
world
_ writable? (33) - wrap (55)
- writable? (51)
-
writable
_ real? (51) - write (22)
-
write
_ random _ file (11) -
write
_ smime (11) - yaml? (11)
- zero? (51)
-
zip
_ file (11) - クラス/メソッドの定義 (11)
- セキュリティモデル (11)
- 制御構造 (11)
- 変数と定数 (11)
検索結果
先頭5件
-
Kernel
# file(*args) { . . . } -> Rake :: FileTask (18307.0) -
ファイルタスクを定義します。
...ル名と依存ファイル名を指定します。
例:
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 R... -
ARGF
. class # file -> IO (18241.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が現在開いて... -
Digest
:: Base # file(path) -> self (18235.0) -
ファイル名 file で指定したファイルの内容を読み込んでダイジェストを更新し、 オブジェクト自身を返します。
...ファイル名 file で指定したファイルの内容を読み込んでダイジェストを更新し、
オブジェクト自身を返します。
@param path 読み込み対象のファイル名です。
@return ダイジェストオブジェクトを返します。
例(MD5の場合)
req......uire 'digest/md5'
digest = Digest::MD5.new
digest.file("/path/to/file") # => Digest::MD5のインスタンス
digest.hexdigest # => "/path/to/file"のMD5値... -
Digest
:: Base . file(path) -> object (18229.0) -
新しいダイジェストオブジェクトを生成し、 ファイル名 file で指定したファイルの内容を読み込み、 そのダイジェストオブジェクトを返します。
...新しいダイジェストオブジェクトを生成し、
ファイル名 file で指定したファイルの内容を読み込み、
そのダイジェストオブジェクトを返します。
@param path 読み込み対象のファイル名です。
@return ダイジェストオブジェク......トを返します。
使用例(SHA256の場合)
require 'digest'
digest = Digest::SHA256.file("X11R6.8.2-src.tar.bz2")
digest.hexdigest
# => "f02e3c85572dc9ad7cb77c2a638e3be24cc1b5bea9fdbb0b0299c9668475c534"... -
Psych
:: SyntaxError # file -> String|nil (18207.0) -
エラーが生じたファイルの名前を返します。
...エラーが生じたファイルの名前を返します。
Psych.load_file で指定したファイルの名前や
Psych.load の第2引数で指定した名前が返されます。
パース時にファイル名を指定しなかった場合は nil が返されます。... -
File
. file?(path) -> bool (15217.0) -
FileTest.#file? と同じです。
...
FileTest.#file? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。... -
irb
/ magic-file (12000.0) -
irb が扱う入力やファイル中のマジックコメントを正しく扱うためのサブライ ブラリです。
irb が扱う入力やファイル中のマジックコメントを正しく扱うためのサブライ
ブラリです。
ユーザが直接使用するものではありません。 -
File
. lstat(filename) -> File :: Stat (9379.0) -
File.statと同様ですが、シンボリックリンクに関してリンクそのものの 情報を File::Stat として返します。lstat(2) を実装していないシステムでは、File.stat と同じです。
...
File.statと同様ですが、シンボリックリンクに関してリンクそのものの
情報を File::Stat として返します。lstat(2) を実装していないシステムでは、File.stat と同じです。
@param filename ファイル名を表す文字列を指定します。
@ra......ise Errno::EXXX 情報の取得に失敗した場合に発生します。
//emlist[例][ruby]{
# link.rb は t.rb のシンボリックリンク
File.lstat("link.rb") == File.stat("t.rb") # => false
File.stat("link.rb") == File.stat("t.rb") # => true
//}
@see IO#stat, File#lstat... -
File
. stat(filename) -> File :: Stat (9353.0) -
filename の情報を含む File::Stat オブジェクトを生成し て返します。
...
filename の情報を含む File::Stat オブジェクトを生成し
て返します。
@param filename ファイル名を表す文字列を指定します。
@raise Errno::EXXX 情報の取得に失敗した場合に発生します。
//emlist[例][ruby]{
File.stat("testfile").class # => Fi......le::Stat
File.stat("testfile").mtime # => 2017-12-10 01:13:56 +0900
//}
@see IO#stat, File#lstat... -
Profiler
_ _ . # print _ profile(file) -> () (9345.0) -
stop_profile を実行し、プロファイルの結果を file に出力します。 file には printf メソッドが定義されていなければいけません。
...stop_profile を実行し、プロファイルの結果を file に出力します。
file には printf メソッドが定義されていなければいけません。
@param file File のインスタンスを指定します。...