種類
ライブラリ
- English (33)
- ビルトイン (3224)
-
cgi
/ core (33) -
cgi
/ html (22) -
cgi
/ session (22) - coverage (6)
- csv (143)
- digest (33)
- erb (22)
- etc (11)
- fiddle (33)
- fileutils (325)
- find (11)
-
irb
/ cmd / load (33) -
irb
/ extend-command (22) -
irb
/ frame (11) -
irb
/ input-method (88) -
irb
/ magic-file (44) - logger (33)
- mkmf (55)
-
net
/ ftp (225) -
net
/ http (99) -
net
/ pop (44) -
net
/ smtp (33) - objspace (11)
- open-uri (37)
- openssl (209)
- optparse (11)
- pathname (340)
- profiler (6)
- pstore (11)
- psych (97)
- pty (11)
- rake (660)
-
rake
/ gempackagetask (11) -
rake
/ loaders / makefile (22) -
rake
/ packagetask (66) -
rake
/ rdoctask (33) -
rake
/ testtask (11) - rbconfig (11)
- rdoc (11)
-
rdoc
/ code _ object (11) -
rdoc
/ context (11) -
rdoc
/ generator / json _ index (33) -
rdoc
/ parser (33) -
rdoc
/ parser / c (11) -
rdoc
/ parser / ruby (11) -
rdoc
/ parser / simple (11) -
rdoc
/ stats (22) -
rdoc
/ top _ level (77) - readline (55)
- 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 (253) -
rubygems
/ format (33) -
rubygems
/ gem _ path _ searcher (22) -
rubygems
/ indexer (33) -
rubygems
/ installer (66) -
rubygems
/ old _ format (33) -
rubygems
/ package (33) -
rubygems
/ package / tar _ reader / entry (11) -
rubygems
/ package / tar _ writer (55) -
rubygems
/ remote _ fetcher (33) -
rubygems
/ require _ paths _ builder (11) -
rubygems
/ source _ index (11) -
rubygems
/ source _ info _ cache (143) -
rubygems
/ spec _ fetcher (11) -
rubygems
/ specification (143) -
rubygems
/ validator (11) - shell (198)
-
shell
/ builtin-command (42) -
shell
/ command-processor (312) -
shell
/ filter (204) - shellwords (22)
- socket (22)
- syslog (44)
- tempfile (77)
-
test
/ unit (1) - thread (2)
- timeout (19)
- tracer (77)
- un (11)
-
webrick
/ config (11) -
webrick
/ httpauth / digestauth (11) -
webrick
/ httprequest (11) -
webrick
/ httpresponse (22) -
webrick
/ httpservlet / filehandler (165) -
webrick
/ httputils (55) -
webrick
/ log (11) -
webrick
/ ssl (11) - win32ole (11)
-
yaml
/ store (19) - zlib (231)
クラス
-
ARGF
. class (132) - BasicObject (22)
- Binding (17)
-
CGI
:: Session :: FileStore (22) - CSV (143)
- Class (11)
- Coverage (6)
-
Digest
:: Base (22) - Dir (202)
- ERB (22)
-
Fiddle
:: Function (11) -
Fiddle
:: Pointer (22) - File (796)
-
File
:: Stat (473) -
Gem
:: Commands :: BuildCommand (22) -
Gem
:: ConfigFile (253) -
Gem
:: FileOperations (11) -
Gem
:: Format (33) -
Gem
:: GemPathSearcher (22) -
Gem
:: Indexer (33) -
Gem
:: Installer (66) -
Gem
:: OldFormat (33) -
Gem
:: Package :: TarReader :: Entry (11) -
Gem
:: Package :: TarWriter (44) -
Gem
:: RemoteFetcher (33) -
Gem
:: SourceIndex (11) -
Gem
:: SourceInfoCache (143) -
Gem
:: SpecFetcher (11) -
Gem
:: Specification (143) -
Gem
:: Validator (11) - IO (599)
-
IRB
:: ExtendCommand :: Load (11) -
IRB
:: ExtendCommand :: Require (11) -
IRB
:: ExtendCommand :: Source (11) -
IRB
:: FileInputMethod (11) -
IRB
:: Frame (11) -
IRB
:: InputMethod (33) -
IRB
:: ReadlineInputMethod (22) -
IRB
:: StdioInputMethod (11) - LoadError (11)
- Logger (22)
-
Logger
:: LogDevice (11) -
Net
:: FTP (216) -
Net
:: FTP :: MLSxEntry (9) -
Net
:: HTTP (66) -
Net
:: HTTPGenericRequest (22) -
Net
:: HTTPResponse (11) -
Net
:: POP3 (44) -
Net
:: SMTP (33) - Object (22)
-
OpenSSL
:: Config (44) -
OpenSSL
:: PKCS7 (11) -
OpenSSL
:: SSL :: SSLContext (22) -
OpenSSL
:: X509 :: ExtensionFactory (11) -
OpenSSL
:: X509 :: Store (11) - OptionParser (11)
- PStore (11)
- Pathname (340)
-
Psych
:: SyntaxError (11) -
RDoc
:: CodeObject (11) -
RDoc
:: Context (11) -
RDoc
:: Generator :: JsonIndex (33) -
RDoc
:: Options (11) -
RDoc
:: Parser (33) -
RDoc
:: Parser :: C (11) -
RDoc
:: Parser :: Ruby (11) -
RDoc
:: Parser :: Simple (11) -
RDoc
:: Stats (22) -
RDoc
:: TopLevel (77) -
Rake
:: Application (33) -
Rake
:: DefaultLoader (11) -
Rake
:: FileCreationTask (22) -
Rake
:: FileList (341) -
Rake
:: FileTask (33) -
Rake
:: GemPackageTask (11) -
Rake
:: MakefileLoader (11) -
Rake
:: PackageTask (66) -
Rake
:: RDocTask (33) -
Rake
:: TestTask (11) -
Resolv
:: Hosts (22) - Ripper (77)
-
Ripper
:: Filter (22) -
RubyVM
:: InstructionSequence (77) - Shell (198)
-
Shell
:: AppendFile (12) -
Shell
:: AppendIO (6) -
Shell
:: Cat (6) -
Shell
:: CommandProcessor (312) -
Shell
:: Filter (204) -
Shell
:: Glob (6) -
Shell
:: Tee (6) -
Socket
:: AncillaryData (11) - String (22)
- Tempfile (77)
- Tracer (77)
- UNIXSocket (11)
-
WEBrick
:: BasicLog (11) -
WEBrick
:: HTTPRequest (11) -
WEBrick
:: HTTPResponse (22) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (55) -
WEBrick
:: HTTPServlet :: FileHandler (88) -
WEBrick
:: HTTPUtils :: FormData (22) -
WIN32OLE
_ METHOD (11) -
YAML
:: Store (19) -
Zlib
:: GzipFile (66) -
Zlib
:: GzipReader (77) -
Zlib
:: GzipWriter (77)
モジュール
-
CGI
:: HtmlExtension (22) -
CGI
:: QueryExtension (33) - Etc (11)
-
File
:: Constants (315) - FileTest (110)
- FileUtils (358)
- Find (11)
-
GC
:: Profiler (77) -
Gem
:: RequirePathsBuilder (11) - IRB (11)
-
IRB
:: ContextExtender (11) -
IRB
:: ExtendCommandBundle (11) - Kernel (406)
- Marshal (22)
- ObjectSpace (11)
-
OpenSSL
:: Random (44) -
OpenSSL
:: X509 (55) - OpenURI (22)
- PTY (11)
-
Profiler
_ _ (6) - Psych (86)
- RDoc (11)
-
Rake
:: TaskManager (11) - RakeFileUtils (77)
- RbConfig (11)
- Readline (55)
-
RubyVM
:: AbstractSyntaxTree (8) - Shellwords (22)
- Syslog (44)
-
Test
:: Unit (1) - Timeout (19)
- URI (7)
-
WEBrick
:: Config (22) -
WEBrick
:: HTTPUtils (22)
オブジェクト
-
IRB
:: MagicFile (33)
キーワード
-
$ DEFAULT _ OUTPUT (11) -
$ FILENAME (11) -
$ INPUT _ LINE _ NUMBER (11) -
$ NR (11) - * (11)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - <=> (11)
- == (11)
-
ALT
_ SEPARATOR (11) - APPEND (11)
- ARGF (11)
-
ARRAY
_ METHODS (11) - AppendFile (6)
- BINARY (11)
- Base (11)
- CREAT (11)
- ConditionVariable (11)
- Constants (11)
- DATA (11)
-
DEFAULT
_ BACKTRACE (11) -
DEFAULT
_ BENCHMARK (11) -
DEFAULT
_ BULK _ THRESHOLD (11) -
DEFAULT
_ CERT _ FILE (11) -
DEFAULT
_ CERT _ FILE _ ENV (11) -
DEFAULT
_ CONFIG _ FILE (11) -
DEFAULT
_ IGNORE _ PATTERNS (11) -
DEFAULT
_ IGNORE _ PROCS (11) -
DEFAULT
_ RAKEFILES (11) -
DEFAULT
_ UPDATE _ SOURCES (11) -
DEFAULT
_ VERBOSITY (11) -
DELEGATING
_ METHODS (11) - DIRECT (11)
- DOSISH 対応 (11)
-
DOT
_ DOC _ FILENAME (11) - DSYNC (11)
- DefaultFileHandler (11)
- DefaultFileName (11)
- DigestAuth (11)
-
ENCODING
_ SPEC _ RE (11) - EXCL (11)
- ExtensionFactory (11)
-
FILENAME
_ COMPLETION _ PROC (11) -
FNM
_ CASEFOLD (11) -
FNM
_ DOTMATCH (11) -
FNM
_ EXTGLOB (11) -
FNM
_ NOESCAPE (11) -
FNM
_ PATHNAME (11) -
FNM
_ SYSCASE (11) - FileCreationTask (11)
- FileHandler (22)
- FileList (11)
- FileOperations (11)
- FileOverflow (11)
- FileTask (11)
- FileUtils (11)
- FormData (11)
- GzipReader (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) - MagicFile (11)
- MakefileLoader (11)
- Marshal フォーマット (11)
-
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) - NOATIME (11)
- NOCTTY (11)
- NOFOLLOW (11)
- NONBLOCK (11)
- NULL (11)
-
OPERATING
_ SYSTEM _ DEFAULTS (11) -
OPT
_ TABLE (11) -
PATH
_ SEPARATOR (11) -
PLATFORM
_ DEFAULTS (11) - RDONLY (11)
- RDWR (11)
- RFILE (11)
- RSYNC (11)
- RakeFileUtils (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)
- Separator (11)
- Stat (11)
- TMPFILE (9)
- TRUNC (11)
- TooLongFileName (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)
- [] (51)
- []= (11)
-
absolute
_ path (22) -
absolute
_ path? (5) -
add
_ file (33) -
add
_ file _ simple (22) -
add
_ filter (22) -
add
_ handler (11) - advise (11)
-
all
_ one _ file (11) -
allocation
_ sourcefile (11) - append (18)
- args (11)
- ascend (11)
- atime (62)
- backtrace (11)
- backtrace= (11)
-
base
_ label (11) - basename (40)
- benchmark (11)
- benchmark= (11)
- bigdecimal (11)
- birthtime (31)
- blksize (11)
- blockdev? (28)
- blocks (11)
-
body
_ stream (11) -
body
_ stream= (11) -
ca
_ file (22) -
ca
_ file= (22) -
cache
_ file (11) - call (11)
- caller (33)
-
can
_ parse (11) - cat (18)
-
cgi
/ session (11) - chardev? (51)
- chmod (51)
-
chmod
_ R (11) - chown (51)
-
chown
_ R (11) - chroot (11)
- cleanpath (11)
- clear (11)
-
clear
_ exclude (11) - close (11)
- cmp (11)
-
collect
_ method (11) - commands (11)
-
compare
_ file (11) -
compare
_ stream (11) - compile (22)
- compress (11)
- config= (11)
-
config
_ file _ name (11) -
copy
_ entry (11) -
copy
_ file (11) -
copy
_ stream (11) - count (11)
-
cp
_ lr (6) -
cpp
_ command (11) - create (22)
-
create
_ body (11) -
create
_ makefile (11) - ctime (51)
-
def
_ extend _ command (22) - delete (40)
-
delete
_ all (11) - descend (11)
- dev (11)
-
dev
_ major (11) -
dev
_ minor (11) - directory? (28)
- dirname (40)
- disable (11)
-
do
_ GET (22) -
do
_ OPTIONS (11) -
do
_ POST (11) - download (11)
-
dummy
_ makefile (11) - dump (22)
- each (94)
-
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) - egrep (11)
- empty? (8)
- enable (11)
- enabled? (11)
- entries (11)
- eof (11)
- eof? (22)
- eval (22)
-
eval
_ under (11) - exclude (11)
-
excluded
_ from _ list? (11) - executable? (51)
-
executable
_ real? (51) - execute (33)
- exist? (28)
- existing (11)
- existing! (11)
- exists? (24)
- ext (11)
-
external
_ encoding (11) - extname (22)
-
extra
_ rdoc _ files (11) -
extra
_ rdoc _ files= (11) -
extract
_ files (11) - facts (9)
- fail (33)
- fcntl (11)
- fdatasync (11)
- file? (50)
-
file
_ absolute _ name (11) -
file
_ absolute _ name= (11) -
file
_ create (11) -
file
_ entries (22) -
file
_ entries= (22) -
file
_ field (22) -
file
_ name (22) -
file
_ relative _ name (11) -
file
_ relative _ name= (11) -
file
_ stat (11) -
file
_ stat= (11) - filename (77)
- filename= (33)
-
filename
_ quote _ characters (11) -
filename
_ quote _ characters= (11) - fileno (11)
- files (22)
- files= (11)
- filter (33)
- find (11)
- flock (22)
- fnmatch (11)
- fnmatch? (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)
-
generate
_ bin _ script (11) -
generate
_ bin _ symlink (11) -
generate
_ windows _ script (11) - get (44)
-
get
_ file _ uri _ path (11) -
get
_ line (11) - getbinaryfile (22)
- getbyte (11)
- getc (11)
- gets (24)
- gettextfile (22)
- gid (11)
- glob (40)
- grpowned? (28)
- gsub (11)
- gsub! (11)
- gzip (11)
-
handle
_ arguments (11) - hash (11)
-
have
_ option? (11) - helpstring (11)
- identical? (33)
- import (22)
- include (11)
- ino (11)
-
inplace
_ mode= (11) - input= (17)
- 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 (17)
-
kind
_ of? (11) - label (11)
-
latest
_ cache _ file (11) -
latest
_ system _ cache _ file (22) -
latest
_ user _ cache _ file (22) - lchmod (22)
- lchown (22)
- lex (11)
-
lib
_ files (11) -
line
_ stub (6) - lineno (11)
- link (6)
- load (80)
-
load
_ file (22) -
load
_ gemspecs (11) -
load
_ mime _ types (11) -
load
_ rakefile (11) -
load
_ random _ file (11) -
load
_ specification (11) -
load
_ specs (11) -
load
_ stream (22) - logger (11)
- lstat (51)
- lutime (7)
- main= (11)
-
make
_ link (11) -
make
_ partial _ content (11) -
make
_ symlink (11) - makedirs (11)
-
mark
_ source _ filename (11) - mask (11)
- mask= (11)
-
matching
_ file? (11) -
matching
_ files (11) - mdtm (11)
-
mime
_ type (11) - mkdir (11)
-
mkdir
_ p (11) - mkfifo (9)
- mkpath (11)
- mlsd (18)
- mode (11)
- mtime (62)
- needed? (22)
- new (340)
- nlink (11)
-
not
_ modified? (11) - nowrite (11)
-
nowrite
_ flag (11) -
nowrite
_ flag= (11) -
num
_ files (11) -
num
_ files= (11) - of (11)
- open (275)
- open! (11)
-
open
_ uri (22) -
open
_ uri _ or _ path (11) - optparse (11)
-
orig
_ name (11) -
orig
_ name= (11) - output= (11)
- owned? (28)
-
package
_ files (11) -
package
_ files= (11) -
parent
_ file _ name (11) - parse (22)
-
parse
_ file (19) -
parse
_ files _ matching (11) -
parser
_ for (11) - path (88)
- path= (11)
- pathmap (22)
- pipe? (28)
- post (22)
- pread (7)
-
prepare
_ range (11) - printf (11)
- put (22)
- putbinaryfile (22)
- puttextfile (22)
- query (11)
- raise (33)
- rake (11)
-
rake
/ loaders / makefile (11) - rakefile (11)
-
raw
_ data (11) -
rb
_ autoload (11) -
rb
_ autoload _ id (11) -
rb
_ compile _ error (11) -
rb
_ compile _ error _ with _ enc (11) -
rb
_ compile _ file (11) -
rb
_ f _ autoload (11) -
rb
_ read _ check (1) -
rb
_ source _ filename (11) - rdev (11)
-
rdev
_ major (11) -
rdev
_ minor (11) - rdoc (11)
-
rdoc
_ files (11) -
rdoc
_ files= (11) - read (66)
-
read
_ body (11) -
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)
-
record
_ location (11) -
recv
_ io (11) -
remove
_ dir (11) -
remove
_ entry (11) -
remove
_ entry _ secure (11) -
remove
_ file (11) -
remove
_ handler (11) - rename (17)
- reopen (44)
- require (11)
-
require
_ relative (11) -
reset
_ cache _ file (11) - resolve (11)
-
respond
_ to? (11) - restore (11)
- result (11)
- rm (18)
- ruby (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
. 9 feature (11) -
rubygems
/ commands / build _ command (11) -
rubygems
/ commands / environment _ command (11) -
rubygems
/ commands / generate _ index _ command (11) -
rubygems
/ commands / install _ command (11) -
rubygems
/ commands / list _ command (11) -
rubygems
/ commands / mirror _ command (11) -
rubygems
/ commands / pristine _ command (11) -
rubygems
/ commands / query _ command (11) -
rubygems
/ commands / search _ command (11) -
rubygems
/ commands / specification _ command (11) -
rubygems
/ commands / uninstall _ command (11) -
safe
_ ln (11) -
safe
_ load (17) -
safe
_ unlink (11) -
scope
_ name (11) -
send
_ mail (11) - sendmail (11)
- service (11)
-
set
_ encoding (33) -
set
_ get _ line _ procs (33) - setgid? (28)
- setuid? (28)
-
setup
_ argv (1) - sexp (11)
-
sexp
_ raw (11) - sh (11)
- shebang (11)
- shellescape (11)
- shelljoin (11)
- size (39)
- size? (28)
- socket? (28)
-
source
_ location (6) - spawn (44)
- split (40)
-
split
_ all (11) - start (22)
-
start
_ profile (6) - stat (62)
- sticky? (28)
- storbinary (22)
- sub (11)
- sub! (11)
- superclass (11)
-
sweep
_ source _ filename (11) - symlink (6)
- symlink? (28)
- sync= (11)
-
synthesize
_ file _ task (11) - sysread (11)
- system (24)
-
system
_ cache _ file (22) -
tar
_ bz2 _ file (11) -
tar
_ gz _ file (11) - tee (18)
- test (40)
-
test
_ file (11) -
test
_ file= (11) -
test
_ files (11) -
test
_ files= (22) -
test
_ suite _ file (11) -
test
_ suite _ file= (11) -
tgz
_ file (11) - timeout (19)
-
to
_ a (11) -
to
_ ary (11) -
to
_ i (11) -
to
_ io (11) -
to
_ path (22) -
to
_ ptr (11) -
to
_ s (22) - tokenize (11)
-
total
_ time (11) -
trace
_ func (22) - tracer (11)
- truncate (28)
-
try
_ file (11) - tty? (11)
- uid (11)
- umask (22)
-
unescape
_ filename? (11) - ungetc (11)
-
unix
_ rights (11) - unlink (29)
- update (11)
-
update
_ sources (11) -
update
_ sources= (11) - uptodate? (11)
-
user
_ cache _ file (22) - utime (40)
- verbose (11)
-
verbose
_ flag (11) -
verbose
_ flag= (11) -
verify
_ gem _ file (11) -
wait
_ writable (11) -
webrick
/ httpservlet / filehandler (11) -
when
_ writing (11) -
world
_ readable? (33) -
world
_ writable? (33) - wrap (55)
- writable? (51)
-
writable
_ real? (51) - write (7)
-
write
_ random _ file (11) -
write
_ require _ paths _ file _ if _ needed (11) -
write
_ smime (11) - yaml? (11)
- zero? (28)
-
zip
_ file (11) - セキュリティモデル (11)
- 制御構造 (11)
- 変数と定数 (11)
- 字句構造 (11)
検索結果
先頭5件
-
IRB
:: STDIN _ FILE _ NAME -> "(line)" (38401.0) -
標準入力を使用する際のファイル名を文字列で返します。
標準入力を使用する際のファイル名を文字列で返します。 -
IRB
:: InputMethod # file _ name -> String (38301.0) -
ファイル名を文字列で返します。
ファイル名を文字列で返します。 -
IRB
:: MagicFile (38000.0) -
irb が扱う入力やファイル中のマジックコメントを正しく扱うためのクラスです。
...irb が扱う入力やファイル中のマジックコメントを正しく扱うためのクラスです。... -
IO
# internal _ encoding -> Encoding | nil (35406.0) -
IO の内部エンコーディングを返します。 内部エンコーディングが指定されていない場合は nil を返します。
...
IO の内部エンコーディングを返します。
内部エンコーディングが指定されていない場合は nil を返します。
//emlist[例][ruby]{
IO.write("testfile", "abcde")
File.open("testfile") do |f|
p f.internal_encoding # => nil
f.set_encoding("ASCII-8BIT", "EUC-JP"......)
p f.internal_encoding # => #<Encoding:EUC-JP>
end
//}... -
IRB
:: ExtendCommandBundle . def _ extend _ command(cmd _ name , cmd _ class , load _ file = nil , *aliases) -> object (32407.0) -
irb に cmd_name で指定したメソッドが実行できるように拡張します。
...
irb に cmd_name で指定したメソッドが実行できるように拡張します。
@param cmd_name メソッド名を Symbol か文字列で指定します。
cmd_class で指定するクラスの execute メソッドとして定
義してある必要があ......@param cmd_class 指定した拡張が定義されたクラス名を Symbol、
String、Class のいずれかで指定します。
なお、このクラスは IRB::ExtendCommand 以下で定義
する必要があります。
@param load_file 指......require されます。
@param aliases cmd_name の別名を Symbol とフラグの配列で指定しま
す。複数指定する事ができます。フラグは
IRB::ExtendCommandBundle::NO_OVERRIDE、
IRB::ExtendCommandBundle::OVERRIDE_PRIVATE_ONLY... -
IO
# readlines(limit , chomp: false) -> [String] (32330.0) -
データを全て読み込んで、その各行を要素としてもつ配列を返します。 既に EOF に達していれば空配列 [] を返します。
...として動作します。
limit で最大読み込みバイト数を指定します。ただしマルチバイト文字が途中で
切れないように余分に読み込む場合があります。
@param rs 行の区切りを文字列で指定します。rs に nil を指定すると行区切......@param limit 最大の読み込みバイト数
@param chomp true を指定すると各行の末尾から rs を取り除きます。
@raise IOError 自身が読み込み用にオープンされていなければ発生します。
//emlist[例][ruby]{
IO.write("testfile", "line1,\nline2,\nline3,\n......")
File.open("testfile") { |f| p f.readlines } # => ["line1,\n", "line2,\n", "line3,\n"]
File.open("testfile") { |f| p f.readlines(3) } # => ["lin", "e1,", "\n", "lin", "e2,", "\n", "lin", "e3,", "\n"]
File.open("testfile") { |f| p f.readlines(",") } # => ["line1,", "\nline2,", "\nline3,", "\... -
IO
# readlines(rs = $ / , chomp: false) -> [String] (32330.0) -
データを全て読み込んで、その各行を要素としてもつ配列を返します。 既に EOF に達していれば空配列 [] を返します。
...として動作します。
limit で最大読み込みバイト数を指定します。ただしマルチバイト文字が途中で
切れないように余分に読み込む場合があります。
@param rs 行の区切りを文字列で指定します。rs に nil を指定すると行区切......@param limit 最大の読み込みバイト数
@param chomp true を指定すると各行の末尾から rs を取り除きます。
@raise IOError 自身が読み込み用にオープンされていなければ発生します。
//emlist[例][ruby]{
IO.write("testfile", "line1,\nline2,\nline3,\n......")
File.open("testfile") { |f| p f.readlines } # => ["line1,\n", "line2,\n", "line3,\n"]
File.open("testfile") { |f| p f.readlines(3) } # => ["lin", "e1,", "\n", "lin", "e2,", "\n", "lin", "e3,", "\n"]
File.open("testfile") { |f| p f.readlines(",") } # => ["line1,", "\nline2,", "\nline3,", "\... -
IO
# readlines(rs , limit , chomp: false) -> [String] (32330.0) -
データを全て読み込んで、その各行を要素としてもつ配列を返します。 既に EOF に達していれば空配列 [] を返します。
...として動作します。
limit で最大読み込みバイト数を指定します。ただしマルチバイト文字が途中で
切れないように余分に読み込む場合があります。
@param rs 行の区切りを文字列で指定します。rs に nil を指定すると行区切......@param limit 最大の読み込みバイト数
@param chomp true を指定すると各行の末尾から rs を取り除きます。
@raise IOError 自身が読み込み用にオープンされていなければ発生します。
//emlist[例][ruby]{
IO.write("testfile", "line1,\nline2,\nline3,\n......")
File.open("testfile") { |f| p f.readlines } # => ["line1,\n", "line2,\n", "line3,\n"]
File.open("testfile") { |f| p f.readlines(3) } # => ["lin", "e1,", "\n", "lin", "e2,", "\n", "lin", "e3,", "\n"]
File.open("testfile") { |f| p f.readlines(",") } # => ["line1,", "\nline2,", "\nline3,", "\... -
IO
# each _ line(limit , chomp: false) {|line| . . . } -> self (32318.0) -
IO の現在位置から 1 行ずつ文字列として読み込み、それを引数として 与えられたブロックを実行します。
...
IO の現在位置から 1 行ずつ文字列として読み込み、それを引数として
与えられたブロックを実行します。
ブロックが与えられなかった場合は、自身から生成した
Enumerator オブジェクトを返します。
テキスト読み込みメソ......として動作します。
limit で最大読み込みバイト数を指定します。ただしマルチバイト文字が途中で
切れないように余分に読み込む場合があります。
@param rs 行の区切りを文字列で指定します。rs に nil を指定すると行区切......@param chomp true を指定すると各行の末尾から "\n", "\r", または "\r\n" を取り除きます。
@raise IOError 自身が読み込み用にオープンされていなければ発生します。
//emlist[例: 引数なし][ruby]{
IO.write("testfile", "This is line one,\nThis is line... -
IO
# each _ line(rs = $ / , chomp: false) {|line| . . . } -> self (32318.0) -
IO の現在位置から 1 行ずつ文字列として読み込み、それを引数として 与えられたブロックを実行します。
...
IO の現在位置から 1 行ずつ文字列として読み込み、それを引数として
与えられたブロックを実行します。
ブロックが与えられなかった場合は、自身から生成した
Enumerator オブジェクトを返します。
テキスト読み込みメソ......として動作します。
limit で最大読み込みバイト数を指定します。ただしマルチバイト文字が途中で
切れないように余分に読み込む場合があります。
@param rs 行の区切りを文字列で指定します。rs に nil を指定すると行区切......@param chomp true を指定すると各行の末尾から "\n", "\r", または "\r\n" を取り除きます。
@raise IOError 自身が読み込み用にオープンされていなければ発生します。
//emlist[例: 引数なし][ruby]{
IO.write("testfile", "This is line one,\nThis is line... -
IO
# each _ line(rs , limit , chomp: false) {|line| . . . } -> self (32318.0) -
IO の現在位置から 1 行ずつ文字列として読み込み、それを引数として 与えられたブロックを実行します。
...
IO の現在位置から 1 行ずつ文字列として読み込み、それを引数として
与えられたブロックを実行します。
ブロックが与えられなかった場合は、自身から生成した
Enumerator オブジェクトを返します。
テキスト読み込みメソ......として動作します。
limit で最大読み込みバイト数を指定します。ただしマルチバイト文字が途中で
切れないように余分に読み込む場合があります。
@param rs 行の区切りを文字列で指定します。rs に nil を指定すると行区切......@param chomp true を指定すると各行の末尾から "\n", "\r", または "\r\n" を取り除きます。
@raise IOError 自身が読み込み用にオープンされていなければ発生します。
//emlist[例: 引数なし][ruby]{
IO.write("testfile", "This is line one,\nThis is line...