別のキーワード
ライブラリ
- ビルトイン (436)
- benchmark (3)
-
bigdecimal
/ util (1) -
cgi
/ core (14) -
cgi
/ html (47) -
cgi
/ session (6) -
cgi
/ session / pstore (1) - continuation (2)
- csv (48)
- date (1)
- e2mmap (13)
- etc (1)
- expect (2)
- fcntl (1)
- fiddle (11)
-
fiddle
/ import (4) - fileutils (36)
- getoptlong (2)
-
io
/ console (10) -
io
/ console / size (1) -
io
/ nonblock (2) -
io
/ wait (4) - irb (1)
-
irb
/ input-method (1) -
irb
/ magic-file (2) -
irb
/ output-method (1) - json (14)
-
json
/ add / exception (2) -
json
/ add / rational (2) - logger (4)
- mathn (1)
- matrix (14)
- mkmf (5)
- monitor (5)
-
net
/ ftp (4) -
net
/ http (11) -
net
/ imap (9) -
net
/ pop (9) -
net
/ smtp (2) - nkf (1)
- objspace (4)
- open-uri (7)
- open3 (12)
- openssl (118)
- optparse (70)
- pathname (9)
- pp (2)
- prime (6)
- pstore (1)
- psych (23)
- pty (4)
- rake (19)
-
rake
/ loaders / makefile (1) -
rake
/ packagetask (4) -
rake
/ rdoctask (1) -
rake
/ testtask (2) -
rdoc
/ code _ object (1) -
rdoc
/ context (4) -
rdoc
/ generator / darkfish (1) -
rdoc
/ generator / json _ index (1) -
rdoc
/ generator / ri (1) -
rdoc
/ markdown (3) -
rdoc
/ parser (2) -
rdoc
/ parser / c (2) -
rdoc
/ parser / ruby (1) -
rdoc
/ parser / simple (1) -
rdoc
/ top _ level (1) - readline (8)
- resolv (1)
-
rexml
/ document (36) -
rexml
/ parsers / pullparser (1) -
rexml
/ parsers / sax2parser (1) -
rexml
/ parsers / streamparser (1) -
rexml
/ parsers / ultralightparser (1) -
rexml
/ sax2listener (4) -
rexml
/ streamlistener (3) -
rinda
/ tuplespace (1) - ripper (2)
-
ripper
/ filter (1) -
ripper
/ lexer (3) -
ripper
/ sexp (2) - rss (46)
- rubygems (3)
-
rubygems
/ command (8) -
rubygems
/ commands / unpack _ command (1) -
rubygems
/ dependency (1) -
rubygems
/ dependency _ installer (3) -
rubygems
/ dependency _ list (2) -
rubygems
/ ext / configure _ builder (1) -
rubygems
/ ext / ext _ conf _ builder (1) -
rubygems
/ ext / rake _ builder (1) -
rubygems
/ format (1) -
rubygems
/ gem _ path _ searcher (2) -
rubygems
/ indexer (3) -
rubygems
/ installer (3) -
rubygems
/ old _ format (1) -
rubygems
/ package (2) -
rubygems
/ package / tar _ header (1) -
rubygems
/ package / tar _ input (4) -
rubygems
/ package / tar _ output (2) -
rubygems
/ package / tar _ reader (2) -
rubygems
/ package / tar _ writer (11) -
rubygems
/ platform (1) -
rubygems
/ remote _ fetcher (3) -
rubygems
/ requirement (3) -
rubygems
/ security (6) -
rubygems
/ server (1) -
rubygems
/ source _ index (6) -
rubygems
/ source _ info _ cache (2) -
rubygems
/ spec _ fetcher (1) -
rubygems
/ specification (59) -
rubygems
/ uninstaller (1) -
rubygems
/ user _ interaction (20) -
rubygems
/ version (7) -
rubygems
/ version _ option (2) - scanf (6)
- set (2)
- shell (14)
-
shell
/ builtin-command (2) -
shell
/ command-processor (15) -
shell
/ filter (17) -
shell
/ process-controller (1) - socket (42)
- stringio (63)
- syslog (7)
- tempfile (5)
- time (2)
- timeout (3)
- tracer (2)
- uri (1)
-
webrick
/ cgi (2) -
webrick
/ httpresponse (4) -
webrick
/ https (1) -
webrick
/ httpserver (2) -
webrick
/ httpservlet / abstract (3) -
webrick
/ httpservlet / filehandler (2) -
webrick
/ httpservlet / prochandler (1) -
webrick
/ httpversion (7) -
webrick
/ log (1) -
webrick
/ utils (2) -
win32
/ registry (16) - win32ole (6)
- zlib (39)
クラス
-
ARGF
. class (40) - Array (11)
- BasicSocket (4)
-
Benchmark
:: Tms (1) - CGI (2)
-
CGI
:: Session (3) -
CGI
:: Session :: FileStore (1) -
CGI
:: Session :: MemoryStore (1) -
CGI
:: Session :: NullStore (1) -
CGI
:: Session :: PStore (1) - CSV (46)
- Complex (3)
- Continuation (2)
- Date (1)
- Dir (2)
- Encoding (1)
-
Encoding
:: Converter (8) -
Encoding
:: InvalidByteSequenceError (2) -
Encoding
:: UndefinedConversionError (4) - Enumerator (2)
- Exception (10)
-
Fiddle
:: Closure (1) -
Fiddle
:: Closure :: BlockCaller (1) -
Fiddle
:: Function (7) -
Fiddle
:: Pointer (2) - File (47)
- Float (2)
-
Gem
:: Command (8) -
Gem
:: Commands :: UnpackCommand (1) -
Gem
:: Dependency (1) -
Gem
:: DependencyInstaller (3) -
Gem
:: DependencyList (2) -
Gem
:: Ext :: ConfigureBuilder (1) -
Gem
:: Ext :: ExtConfBuilder (1) -
Gem
:: Ext :: RakeBuilder (1) -
Gem
:: FileOperations (1) -
Gem
:: Format (1) -
Gem
:: GemPathSearcher (2) -
Gem
:: Indexer (3) -
Gem
:: Installer (3) -
Gem
:: LoadError (2) -
Gem
:: OldFormat (1) -
Gem
:: Package :: TarHeader (1) -
Gem
:: Package :: TarInput (4) -
Gem
:: Package :: TarOutput (2) -
Gem
:: Package :: TarReader (2) -
Gem
:: Package :: TarWriter (7) -
Gem
:: Package :: TarWriter :: BoundedStream (2) -
Gem
:: Package :: TarWriter :: RestrictedStream (2) -
Gem
:: Platform (1) -
Gem
:: RemoteFetcher (3) -
Gem
:: Requirement (3) -
Gem
:: Security :: Policy (2) -
Gem
:: Server (1) -
Gem
:: SourceIndex (6) -
Gem
:: SourceInfoCache (2) -
Gem
:: SpecFetcher (1) -
Gem
:: Specification (59) -
Gem
:: StreamUI (7) -
Gem
:: Uninstaller (1) -
Gem
:: Version (7) - GetoptLong (2)
- IO (160)
-
IRB
:: StdioInputMethod (1) -
IRB
:: StdioOutputMethod (1) - Integer (4)
-
JSON
:: Parser (1) -
JSON
:: State (4) - Logger (1)
-
Logger
:: LogDevice (3) - Matrix (10)
-
Matrix
:: LUPDecomposition (4) - Method (1)
- Module (2)
-
MonitorMixin
:: ConditionVariable (5) -
Net
:: FTP (4) -
Net
:: HTTP (9) -
Net
:: HTTPGenericRequest (2) -
Net
:: IMAP (2) -
Net
:: IMAP :: BodyTypeBasic (2) -
Net
:: IMAP :: BodyTypeMessage (2) -
Net
:: IMAP :: BodyTypeMultipart (1) -
Net
:: IMAP :: BodyTypeText (2) -
Net
:: POPMail (9) -
Net
:: SMTP (2) - NilClass (2)
- Numeric (1)
- Object (3)
-
OpenSSL
:: Config (4) -
OpenSSL
:: OCSP :: BasicResponse (1) -
OpenSSL
:: PKCS12 (1) -
OpenSSL
:: PKCS7 (3) -
OpenSSL
:: PKey :: DH (3) -
OpenSSL
:: PKey :: DSA (4) -
OpenSSL
:: PKey :: EC :: Group (2) -
OpenSSL
:: PKey :: RSA (5) -
OpenSSL
:: SSL :: SSLContext (20) -
OpenSSL
:: SSL :: SSLSocket (10) -
OpenSSL
:: SSL :: Session (8) -
OpenSSL
:: X509 :: CRL (6) -
OpenSSL
:: X509 :: Certificate (5) -
OpenSSL
:: X509 :: Extension (9) -
OpenSSL
:: X509 :: ExtensionFactory (12) -
OpenSSL
:: X509 :: Request (4) -
OpenSSL
:: X509 :: Revoked (2) - OptionParser (54)
-
OptionParser
:: ParseError (10) - PP (2)
- PStore (1)
- Pathname (9)
- Prime (4)
- Proc (1)
-
Psych
:: Emitter (3) -
Psych
:: Handler (1) -
Psych
:: Nodes :: Document (3) -
Psych
:: Nodes :: Node (2) -
Psych
:: Stream (1) -
Psych
:: Visitors :: YAMLTree (1) -
RDoc
:: CodeObject (1) -
RDoc
:: Context (1) -
RDoc
:: Context :: Section (3) -
RDoc
:: Generator :: Darkfish (1) -
RDoc
:: Generator :: JsonIndex (1) -
RDoc
:: Generator :: RI (1) -
RDoc
:: Markdown (3) -
RDoc
:: Options (23) -
RDoc
:: Parser (2) -
RDoc
:: Parser :: C (2) -
RDoc
:: Parser :: Ruby (1) -
RDoc
:: Parser :: Simple (1) -
RDoc
:: TopLevel (1) -
REXML
:: AttlistDecl (1) -
REXML
:: Attribute (1) -
REXML
:: Child (2) -
REXML
:: Declaration (1) -
REXML
:: DocType (2) -
REXML
:: Document (8) -
REXML
:: Element (1) -
REXML
:: Entity (1) -
REXML
:: ExternalEntity (1) -
REXML
:: Formatters :: Default (1) -
REXML
:: Formatters :: Pretty (1) -
REXML
:: Formatters :: Transitive (1) -
REXML
:: Instruction (4) -
REXML
:: NotationDecl (4) -
REXML
:: Parsers :: PullParser (1) -
REXML
:: Parsers :: SAX2Parser (1) -
REXML
:: Parsers :: StreamParser (1) -
REXML
:: Parsers :: UltraLightParser (1) -
REXML
:: XMLDecl (3) -
RSS
:: Maker :: ChannelBase (2) -
RSS
:: Maker :: ImageBase (2) -
RSS
:: Maker :: ItemsBase :: ItemBase (2) -
RSS
:: Maker :: RSSBase (3) -
RSS
:: Maker :: TextinputBase (2) -
RSS
:: RDF (4) -
RSS
:: RDF :: Channel (2) -
RSS
:: RDF :: Item (2) -
RSS
:: RDF :: Textinput (2) -
RSS
:: Rss (4) -
RSS
:: Rss :: Channel (2) -
RSS
:: Rss :: Channel :: Image (2) -
RSS
:: Rss :: Channel :: Item (2) -
RSS
:: Rss :: Channel :: TextInput (2) -
Rake
:: Application (2) -
Rake
:: FileCreationTask (2) -
Rake
:: FileList (4) -
Rake
:: InvocationChain (4) -
Rake
:: InvocationChain :: EmptyInvocationChain (1) -
Rake
:: MakefileLoader (1) -
Rake
:: PackageTask (4) -
Rake
:: RDocTask (1) -
Rake
:: Task (1) -
Rake
:: TestTask (2) - Rational (31)
- Regexp (3)
-
Resolv
:: DNS :: Resource :: IN :: SRV (1) -
Rinda
:: TupleSpace (1) - Ripper (7)
-
Ripper
:: Filter (1) - RubyVM (1)
-
RubyVM
:: InstructionSequence (18) -
Scanf
:: FormatSpecifier (1) - Set (2)
- Shell (14)
-
Shell
:: AppendIO (2) -
Shell
:: CommandProcessor (15) -
Shell
:: Filter (17) -
Shell
:: ProcessController (1) - SignalException (3)
- Socket (17)
-
Socket
:: AncillaryData (2) -
Socket
:: Option (7) - String (19)
- StringIO (63)
- Symbol (4)
- Tempfile (5)
- Thread (12)
-
Thread
:: Backtrace :: Location (6) -
Thread
:: ConditionVariable (3) - Time (2)
- TracePoint (1)
- Tracer (2)
- UDPSocket (1)
- UNIXServer (1)
- UNIXSocket (2)
-
URI
:: LDAP (1) - UnboundMethod (1)
-
WEBrick
:: BasicLog (1) -
WEBrick
:: CGI (2) -
WEBrick
:: Cookie (2) -
WEBrick
:: HTTPRequest (1) -
WEBrick
:: HTTPResponse (4) -
WEBrick
:: HTTPServer (2) -
WEBrick
:: HTTPServlet :: AbstractServlet (3) -
WEBrick
:: HTTPServlet :: FileHandler (2) -
WEBrick
:: HTTPServlet :: ProcHandler (1) -
WEBrick
:: HTTPVersion (7) -
WIN32OLE
_ PARAM (1) -
WIN32OLE
_ TYPE (2) -
WIN32OLE
_ TYPELIB (3) -
Win32
:: Registry (9) -
Zlib
:: Deflate (3) -
Zlib
:: GzipFile (4) -
Zlib
:: GzipReader (19) -
Zlib
:: GzipWriter (11) -
Zlib
:: Inflate (1)
モジュール
- Benchmark (2)
-
CGI
:: HtmlExtension (47) -
CGI
:: QueryExtension (6) -
CGI
:: QueryExtension :: Value (6) - DublinCoreModel (6)
- Enumerable (3)
- Exception2MessageMapper (13)
-
Fiddle
:: Importer (4) - FileTest (21)
- FileUtils (36)
-
Gem
:: DefaultUserInteraction (5) -
Gem
:: Package (1) -
Gem
:: Security (4) -
Gem
:: UserInteraction (8) -
Gem
:: VersionOption (2) - IRB (1)
- JSON (8)
- Kernel (42)
- Marshal (4)
- ObjectSpace (4)
- Open3 (12)
-
OpenSSL
:: Buffering (16) -
OpenSSL
:: SSL (1) -
OpenSSL
:: SSL :: SocketForwarder (1) -
OpenSSL
:: X509 (1) - OpenURI (2)
-
OpenURI
:: OpenRead (3) -
OptionParser
:: Arguable (6) - PTY (4)
- Process (2)
- Psych (10)
-
REXML
:: SAX2Listener (4) -
REXML
:: Security (4) -
REXML
:: StreamListener (3) -
RSS
:: Maker (1) -
RSS
:: SyndicationModel (6) - Rake (2)
-
Rake
:: TaskManager (1) - Readline (8)
-
Socket
:: Constants (8) - Syslog (5)
-
Syslog
:: Macros (2) - Timeout (2)
-
WEBrick
:: Utils (2) -
Win32
:: Registry :: Constants (7) - Zlib (1)
オブジェクト
-
IRB
:: MagicFile (2)
キーワード
-
$ > (1) -
$ stdout (1) - * (1)
- ** (2)
- + (1)
- - (2)
- -@ (1)
-
/ (1) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (1) - < (1)
- << (4)
- <=> (3)
- == (4)
- === (1)
- =~ (1)
- > (1)
- >> (1)
-
AF
_ NETBIOS (2) - CAPTION (2)
- ConditionVariable (1)
- DEFAULT (1)
- Encoding (1)
-
FILENAME
_ COMPLETION _ PROC (1) - Fail (2)
- Fcntl (1)
-
INSTRUCTION
_ NAMES (1) -
IP
_ OPTIONS (2) -
IP
_ PKTOPTIONS (2) - JSON (1)
-
LOG
_ MASK (1) -
LOG
_ UPTO (1) - Location (1)
-
MARSHAL
_ FIELDS (1) - NKF (1)
-
OP
_ NO _ COMPRESSION (1) -
PF
_ NETBIOS (2) -
REG
_ LEGAL _ OPTION (1) -
REG
_ OPTION _ BACKUP _ RESTORE (1) -
REG
_ OPTION _ CREATE _ LINK (1) -
REG
_ OPTION _ NON _ VOLATILE (1) -
REG
_ OPTION _ OPEN _ LINK (1) -
REG
_ OPTION _ RESERVED (1) -
REG
_ OPTION _ VOLATILE (1) - Raise (2)
- Rational (1)
-
SO
_ PRIORITY (2) -
SO
_ SECURITY _ AUTHENTICATION (2) -
SO
_ SECURITY _ ENCRYPTION _ NETWORK (2) -
SO
_ SECURITY _ ENCRYPTION _ TRANSPORT (2) - STDCALL (1)
- Scanf (1)
- Thread (1)
-
USERNAME
_ COMPLETION _ PROC (1) -
V
_ ERR _ APPLICATION _ VERIFICATION (1) - [] (7)
- []= (1)
-
_ dump (1) -
_ load (1) - a (2)
- abbreviate (1)
- abi (1)
-
abort
_ on _ exception (2) -
abort
_ on _ exception= (2) -
absolute
_ path (2) - accept (2)
-
accept
_ nonblock (2) -
add
_ bindir (1) -
add
_ class _ or _ module (2) -
add
_ common _ option (1) -
add
_ dependency (1) -
add
_ development _ dependency (1) -
add
_ extension (3) -
add
_ file (2) -
add
_ file _ simple (2) -
add
_ loader (1) -
add
_ option (1) -
add
_ platform _ option (1) -
add
_ runtime _ dependency (1) -
add
_ spec (1) -
add
_ trusted _ cert (1) -
add
_ value (1) -
add
_ version _ option (1) - advise (1)
- alert (2)
-
alert
_ error (2) -
alert
_ warning (2) -
alias
_ extension (1) - all (3)
-
allocation
_ sourcefile (1) -
allocation
_ sourceline (1) - append (6)
- application (1)
- application= (2)
- args (1)
-
array
_ attribute (1) -
array
_ attributes (1) - ask (2)
-
ask
_ yes _ no (2) - atime (5)
-
attribute
_ alias _ singular (1) -
attribute
_ defaults (1) - attributes (1)
- autoclose= (1)
- autoclose? (1)
- backtrace (1)
-
backtrace
_ locations (3) - base (1)
-
base
_ label (2) - benchmark (1)
- bind (2)
- bindir= (1)
- binmode (3)
- binmode? (3)
- binread (2)
- binwrite (2)
- birthtime (1)
- blockdev? (5)
- blockquote (2)
- body= (1)
-
body
_ stream (1) -
body
_ stream= (1) - bool (2)
- broadcast (2)
- build (3)
-
build
_ cert (1) -
build
_ self _ signed _ cert (1) - bytes (4)
- call (2)
-
caller
_ locations (2) - capitalize (2)
- capitalize! (1)
- cd (2)
- ceil (1)
-
cert
_ chain (1) -
cert
_ chain= (1) -
cgi
/ session (1) - chardev? (5)
- chars (4)
- chdir (2)
-
check
_ closed (1) - checkbox (2)
-
checkbox
_ group (2) - chmod (1)
-
chmod
_ R (1) -
choose
_ from _ list (2) - chown (2)
-
chown
_ R (1) - chr (1)
- chunk (1)
- clone (1)
- close (4)
-
close
_ on _ exec= (1) -
close
_ on _ exec? (1) -
close
_ read (3) -
close
_ write (3) - closed? (4)
- codepoints (4)
- coerce (1)
- cofactor (1)
-
cofactor
_ expansion (1) - combination (2)
-
compare
_ stream (1) - compile (2)
-
compile
_ file (1) -
compile
_ option (1) -
compile
_ option= (1) -
completion
_ append _ character (1) -
completion
_ append _ character= (1) -
completion
_ case _ fold (1) -
completion
_ case _ fold= (1) -
completion
_ proc (1) -
completion
_ proc= (1) - compress (1)
- config= (1)
- configure (1)
-
connect
_ nonblock (2) -
connection
_ for (1) -
console
_ size (1) - content= (1)
-
content
_ length (1) -
content
_ length= (1) - conversion (1)
- convert (2)
- cooked (1)
- cooked! (1)
- copy (1)
-
copy
_ stream (2) - correct? (1)
-
coverage
_ report= (1) - cp (1)
-
cp
_ r (1) - create (6)
-
create
_ ext (1) -
create
_ ext _ from _ array (1) -
create
_ ext _ from _ hash (1) -
create
_ ext _ from _ string (1) -
create
_ extension (2) - critical= (1)
- critical? (1)
- crl= (1)
- ctime (6)
- date= (1)
-
dc
_ description (1) -
dc
_ description= (1) -
dc
_ descriptions (1) -
dc
_ relation (1) -
dc
_ relation= (1) -
dc
_ relations (1) -
debug
_ output= (1) -
def
_ builtin _ commands (1) -
def
_ exception (2) -
default
_ argv (1) -
default
_ argv= (1) -
default
_ executable= (1) -
default
_ internal (1) -
default
_ value (1) - deflate (2)
- delete (1)
- denominator (1)
- dependencies (1)
- desc (1)
- description (14)
- description= (12)
-
destination
_ encoding (3) -
destination
_ encoding _ name (2) - det (1)
- determinant (1)
- directory? (5)
- disasm (2)
- disassemble (2)
- display (1)
- disposition (5)
-
do
_ OPTIONS (2) - downcase (2)
- downcase! (1)
-
dry
_ run= (1) - dump (5)
- dup (1)
- each (15)
-
each
_ byte (8) -
each
_ char (6) -
each
_ codepoint (2) -
each
_ line (17) -
each
_ option (1) - echo= (1)
- egrep (1)
- eigen (1)
- eigensystem (1)
- email= (1)
- empty? (3)
- encode (3)
- encode! (2)
- encoding= (1)
-
entity
_ expansion _ limit (2) -
entity
_ expansion _ limit= (2) -
entity
_ expansion _ text _ limit (2) -
entity
_ expansion _ text _ limit= (2) - environment (1)
- eof (3)
- eof? (3)
- exception (3)
- exclude= (1)
-
excluded
_ from _ list? (1) - exec (4)
- executable= (1)
-
executable
_ real? (1) - executables= (1)
- exist? (5)
- exists? (3)
- expect (2)
- ext (1)
-
extend
_ object (1) - extension (1)
- extension? (1)
- extensions= (5)
- extern (1)
-
external
_ encoding (1) -
extra
_ rdoc _ files= (1) - fail (1)
- fcntl (2)
- fdatasync (1)
- fdiv (1)
- file? (5)
-
file
_ field (2) - fileno (2)
- files= (1)
- filter (3)
-
filter
_ backtrace (1) - find (1)
-
find
_ all (1) -
find
_ name (2) -
find
_ spec _ by _ name _ and _ version (1) - first (1)
- flock (1)
- floor (1)
- flush (1)
-
flush
_ sessions (1) - fnmatch (1)
- fnmatch? (1)
-
for
_ fd (1) -
force
_ output= (1) - foreach (3)
- fork (2)
- form (4)
- from (1)
-
from
_ io (2) -
from
_ prime _ division (1) -
from
_ state (1) -
from
_ yaml (1) - fsync (1)
- gem (1)
- generate (1)
-
generate
_ line (1) - generator= (1)
-
get
_ instance (2) -
get
_ one _ optional _ argument (1) -
get
_ path (1) -
get
_ value (1) - getbyte (1)
- getc (3)
- getopts (5)
- getpriority (1)
- getpty (2)
- gets (10)
- getsockopt (1)
- grpowned? (5)
-
has
_ key? (1) -
has
_ rdoc? (1) - hash (1)
-
have
_ option? (1) - header (1)
- hidden (2)
- homepage= (1)
- html (2)
-
hyperlink
_ all= (1) - identical? (2)
- iflush (1)
- img (2)
- import (1)
- include? (1)
- indentation (1)
- indentation= (1)
- init (1)
- initialize (2)
- input= (1)
- inspect (4)
- install (3)
-
installation
_ satisfies _ dependency? (1) - instance (2)
- instruction (1)
- int (2)
-
int
_ from _ prime _ division (2) -
internal
_ encoding (2) - intersection (1)
- ioctl (2)
- ioflush (1)
-
irb
_ abort (1) -
is
_ version _ 1 _ 1? (1) -
is
_ version _ 1 _ 2? (1) - isatty (2)
- iso8601 (1)
-
issuer
_ certificate= (1) -
json
_ create (2) - key? (1)
- label (2)
-
laplace
_ expansion (1) - last (1)
- lchmod (1)
- lchown (1)
- lex (1)
-
libyaml
_ version (1) - line (1)
-
line
_ numbers= (1) - lineno (2)
- lineno= (3)
- lines (8)
- linger (2)
- link (2)
- ln (1)
-
ln
_ s (1) -
ln
_ sf (1) - load (6)
-
load
_ documents (2) -
load
_ from _ binary (1) -
load
_ from _ binary _ extra _ data (1) -
load
_ gemspec (1) -
load
_ specification (1) -
load
_ stream (2) - loaded= (1)
-
loaded
_ from= (1) - log (1)
- lstat (2)
- lup (1)
-
lup
_ decomposition (1) - mail (3)
-
main
_ page= (1) - major (1)
- major= (1)
-
major
_ version (2) - make (1)
- makedirs (1)
- markup= (1)
-
marshal
_ load (1) - member? (1)
- merge (1)
- minor (1)
- minor= (1)
-
minor
_ version (2) - mkdir (2)
-
mkdir
_ p (1) - mkpath (1)
-
module
_ function (1) - mount (1)
- move (1)
- mtime (5)
-
multipart
_ form (4) - mv (1)
- name (1)
- name= (1)
- needed? (1)
- negative? (1)
- new (105)
- next (1)
-
next
_ values (1) - noecho (1)
- nonblock (1)
- nonblock= (1)
-
normalize
_ yaml _ input (1) - notation (1)
- notationdecl (2)
- numerator (1)
- of (1)
- oflush (1)
- oid (1)
- oid= (1)
- on (12)
-
on
_ head (1) -
on
_ tail (1) -
op
_ dir (1) -
op
_ dir= (1) - open (30)
- open! (1)
-
open
_ uri (2) -
open
_ uri _ or _ path (1) -
option
_ parser= (1) - optional? (1)
- order (4)
- order! (4)
-
original
_ name (1) -
original
_ platform= (1) - out (4)
-
overwrite
_ accessor (1) - owned? (5)
- pack (2)
- pack テンプレート文字列 (1)
-
package
_ files= (1) -
page
_ dir= (1) - params= (1)
- paranoid (1)
- parse (9)
- parse! (3)
-
parse
_ csv (1) -
parse
_ line (1) -
parse
_ stream (1) -
parser
_ for (1) - partition (1)
-
password
_ field (2) - path (3)
- pathconf (1)
- permutation (2)
- permutation? (1)
- permute (2)
- permute! (2)
- pid (2)
- pipe (8)
- pipe= (1)
- pipe? (5)
-
pipeline
_ r (2) -
pipeline
_ rw (2) -
pipeline
_ w (2) - platform= (1)
-
point
_ conversion _ form (1) -
point
_ conversion _ form= (1) - pop (3)
- popen (14)
- popen2 (2)
- popen2e (2)
- popen3 (2)
- pos (3)
- pos= (4)
- positive? (1)
-
post
_ connection _ check (1) - prerelease? (1)
-
pretty
_ generate (1) -
pretty
_ unparse (1) -
previous
_ sibling (1) -
previous
_ sibling= (1) -
prime
_ division (3) -
primitive
_ convert (4) - print (7)
- printf (6)
- priority (1)
- priority= (1)
-
processing
_ instruction (1) -
program
_ name (1) -
program
_ name= (1) - progress (1)
- progress= (1)
-
psych
_ to _ yaml (1) - public= (1)
- putc (4)
- puts (5)
- quo (2)
-
radio
_ group (2) -
raised
_ exception (1) -
rake
_ extension (1) - rationalize (9)
- raw (1)
- raw! (1)
- read (13)
-
read
_ nonblock (4) -
read
_ only (1) -
read
_ smime (1) - readable? (2)
-
readable
_ real? (1) - readbyte (2)
- readchar (4)
- readline (7)
- readlines (14)
- readlink (1)
- readpartial (7)
- reason (1)
- reason= (1)
- recover (1)
-
recv
_ io (1) -
recvfrom
_ nonblock (2) - recvmsg (1)
- reject (2)
- release (1)
- release= (1)
- remove (1)
-
remove
_ by _ name (1) -
remove
_ option (1) -
renegotiation
_ cb (1) -
renegotiation
_ cb= (1) - reopen (7)
-
repeated
_ combination (2) -
repeated
_ permutation (2) -
report
_ on _ exception (2) -
report
_ on _ exception= (2) -
request
_ http _ version= (1) -
require
_ path (1) -
require
_ path= (1) -
require
_ paths= (1) -
required
_ attribute (1) -
required
_ attribute? (1) -
required
_ ruby _ version= (1) -
required
_ rubygems _ version= (1) - requirements= (1)
- reset (3)
- restore (2)
- rewind (3)
- rm (1)
-
rm
_ f (1) -
rm
_ r (1) -
rm
_ rf (1) - rmdir (1)
- rmtree (1)
- root= (1)
- round (1)
- rpartition (1)
-
rss
_ version (3) -
rss
_ version= (2) -
ruby 1
. 6 feature (1) -
ruby 1
. 8 . 3 feature (1) -
ruby 1
. 8 . 4 feature (1) -
ruby
_ opts= (1) -
rubygems
_ version= (1) - run (1)
-
safe
_ load (1) -
safe
_ unlink (1) -
satisfied
_ by? (1) -
satisfies
_ requirement? (1) - say (1)
- scanf (4)
-
scrolling
_ list (2) - search (3)
-
search
_ convpath (1) - section (1)
- section= (1)
- seek (4)
- select (2)
-
send
_ io (1) - sendmsg (1)
- separator (1)
- session (1)
- session= (1)
-
session
_ add (1) -
session
_ cache _ mode (1) -
session
_ cache _ mode= (1) -
session
_ cache _ size (1) -
session
_ cache _ size= (1) -
session
_ get _ cb (1) -
session
_ get _ cb= (1) -
session
_ id _ context (1) -
session
_ id _ context= (1) -
session
_ new _ cb (1) -
session
_ new _ cb= (1) -
session
_ remove (1) -
session
_ remove _ cb (1) -
session
_ remove _ cb= (1) -
session
_ reused? (1) -
set
_ backtrace (2) -
set
_ close _ on _ exec (1) -
set
_ comment (1) -
set
_ debug _ output (2) -
set
_ dictionary (2) -
set
_ encoding (9) -
set
_ non _ blocking (1) -
set
_ option (1) -
set
_ params (1) - setgid? (2)
- setpriority (1)
- setsockopt (1)
- setuid? (2)
- sexp (1)
-
sexp
_ raw (1) - sfork (1)
-
sharing
_ detection (1) -
sharing
_ detection= (1) - shift (1)
-
show
_ all= (1) -
show
_ lookup _ failure (1) -
sign
_ cert (1) - signal (2)
-
signing
_ key= (1) - singular? (1)
- size (2)
- size? (2)
- slice (1)
-
slice
_ before (2) - socket? (2)
- solve (1)
-
source
_ encoding (1) -
source
_ encoding _ name (1) -
source
_ location (3) - spawn (6)
- specification (1)
-
specification
_ version= (1) -
ssl
_ version (1) -
ssl
_ version= (2) - start (1)
-
start
_ document (1) - starttls (1)
- stat (3)
-
static
_ path= (1) - status (1)
- stdout (1)
- sticky? (2)
- storbinary (2)
- storlines (2)
- string= (1)
-
subject
_ certificate= (1) -
subject
_ request= (1) - submit (2)
- summarize (2)
- summary= (2)
-
summary
_ indent (1) -
summary
_ indent= (1) -
summary
_ width (1) -
summary
_ width= (1) - swapcase (2)
- swapcase! (1)
-
sy
_ updateBase (1) -
sy
_ updateBase= (1) -
sy
_ updateFrequency (1) -
sy
_ updateFrequency= (1) -
sy
_ updatePeriod (1) -
sy
_ updatePeriod= (1) - symlink (1)
- symlink? (2)
- sync (3)
- sync= (4)
-
synthesize
_ file _ task (1) - sysopen (2)
- sysread (5)
- sysseek (1)
- system (4)
- system= (1)
- syswrite (3)
- table (1)
- target= (1)
-
tcp
_ server _ loop (2) - tell (3)
-
template
_ dir= (1) -
terminate
_ interaction (2) - test (2)
-
test
_ files= (1) -
test
_ suite _ file= (1) -
text
_ field (2) - textarea (2)
- time (1)
- time= (1)
- timeout (4)
- timeout= (1)
- title= (1)
-
to
_ a (4) -
to
_ ary (1) -
to
_ binary (1) -
to
_ csv (1) -
to
_ d (1) -
to
_ der (2) -
to
_ f (1) -
to
_ i (3) -
to
_ io (4) -
to
_ json (2) -
to
_ pem (1) -
to
_ ptr (1) -
to
_ r (3) -
to
_ s (3) -
to
_ text (1) -
to
_ yaml (2) - tokenize (1)
- touch (1)
- tr (1)
- trace (1)
-
trace
_ object _ allocations _ start (1) -
trace
_ object _ allocations _ stop (1) - transaction (1)
- truncate (4)
-
trusted
_ cert _ path (1) -
try
_ link (2) - tty? (2)
-
tty
_ output= (1) -
udp
_ server _ recv (1) - ui (1)
- ui= (2)
- ungetbyte (2)
- ungetc (4)
- union (3)
- unix (2)
-
unix
_ rights (2) -
unix
_ server _ socket (2) - unlink (1)
- unpack (1)
- upcase (2)
- upcase! (1)
- uptodate? (1)
-
use
_ ui (2) - validate (1)
- value (2)
- value= (1)
- verbose= (1)
- verbosity= (1)
- version (9)
- version= (13)
-
version
_ 1 _ 1? (1) -
version
_ 1 _ 2 (1) -
version
_ 1 _ 2? (1) -
version
_ requirement (1) -
version
_ requirement= (1) -
version
_ requirements= (1) - visibility= (1)
- wait (3)
-
wait
_ readable (1) -
wait
_ until (1) -
wait
_ while (1) -
wait
_ writable (2) -
warn
_ legacy (1) - winsize= (1)
-
world
_ readable? (1) -
world
_ writable? (1) - wrap (4)
- writable? (1)
- write (22)
-
write
_ nonblock (3) - xmldecl (3)
- xmlschema (1)
- xpopen (2)
- yaml (2)
-
yaml
_ initialize (1) - zero? (2)
-
zipped
_ stream (1) - スレッド (1)
- セキュリティモデル (1)
- 多言語化 (1)
検索結果
先頭5件
-
Gem
:: VersionOption # add _ version _ option(task = command , *wrap) (54637.0) -
option parser に対して --version オプションを追加します。
option parser に対して --version オプションを追加します。
@param task コマンド名を指定します。デフォルト値はインクルードされる側のクラスで指定されます。
@param wrap Gem::Command#add_option に渡すその他のオプションを指定します。 -
OpenSSL
:: SSL :: SSLSocket # io -> IO (54631.0) -
SSLSocket オブジェクトを生成する時に渡されたソケットを返します。
SSLSocket オブジェクトを生成する時に渡されたソケットを返します。
@see OpenSSL::SSL::SSLSocket.new -
Gem
:: Specification # specification _ version=(version) (45937.0) -
この Gem パッケージに用いられている gemspec のバージョンをセットします。
この Gem パッケージに用いられている gemspec のバージョンをセットします。
@param version gemspec のバージョンを指定します。
@see Gem::Specification::SPECIFICATION_VERSION_HISTORY -
IO
# ioctl(cmd , arg = 0) -> Integer (45421.0) -
IO に対してシステムコール ioctl を実行し、その結果を返します。 機能の詳細は ioctl(2) を参照してください。
IO に対してシステムコール ioctl を実行し、その結果を返します。
機能の詳細は ioctl(2) を参照してください。
@param cmd IO に対するコマンドを整数で指定します。どのようなコマンドが使えるかはプラットフォームに依存します。
@param arg cmd に対する引数を指定します。整数の時にはその値を ioctl に渡します。
文字列の場合には Array#pack した構造体だとみなして渡します。
arg が nil か false の場合には 0を、true の場合には 1 を渡します。
@raise IOEr... -
IO
# ioflush -> self (45319.0) -
カーネルの入出力バッファをフラッシュします。
カーネルの入出力バッファをフラッシュします。
@return 自身を返します。 -
OpenSSL
:: X509 :: V _ ERR _ APPLICATION _ VERIFICATION -> Integer (36619.0) -
アプリケーションが利用するエラーコードです。
アプリケーションが利用するエラーコードです。
OpenSSL のライブラリでは使われないので、
アプリケーションプログラマが自由に利用することが可能です。
OpenSSL::X509::Store#error や
OpenSSL::X509::StoreContext#error のエラーコードとして
使われます。
@see OpenSSL::X509::Store#verify_callback=,
OpenSSL::X509::StoreContext#error= -
Gem
:: VersionOption # add _ platform _ option(task = command , *wrap) (36337.0) -
option parser に対して --platform オプションを追加します。
option parser に対して --platform オプションを追加します。
@param task コマンド名を指定します。デフォルト値はインクルードされる側のクラスで指定されます。
@param wrap Gem::Command#add_option に渡すその他のオプションを指定します。 -
IO
. popen([env = {} , [cmdname , arg0] , *args , execopt={}] , mode = "r" , opt={}) -> IO (28084.0) -
サブプロセスを実行し、そのプロセスの標準入出力 との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
サブプロセスを実行し、そのプロセスの標準入出力
との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
p io = IO.popen("cat", "r+") # => #<IO:fd 4>
io.puts "foo"
io.close_write
p io.gets # => "foo\n"
サブプロセスを指定する方法は2通りあります。文字列を指定する場合と配列を指定する場合です。
文字列の場合は、シェルを経由して子プロセスを実行し、
配列の場合は、シェルを経由せずに子プロセスを実行します。
... -
IO
. popen([env = {} , cmdname , *args , execopt={}] , mode = "r" , opt={}) -> IO (28084.0) -
サブプロセスを実行し、そのプロセスの標準入出力 との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
サブプロセスを実行し、そのプロセスの標準入出力
との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
p io = IO.popen("cat", "r+") # => #<IO:fd 4>
io.puts "foo"
io.close_write
p io.gets # => "foo\n"
サブプロセスを指定する方法は2通りあります。文字列を指定する場合と配列を指定する場合です。
文字列の場合は、シェルを経由して子プロセスを実行し、
配列の場合は、シェルを経由せずに子プロセスを実行します。
... -
IO
. popen(env = {} , [[cmdname , arg0] , *args , execopt={}] , mode = "r" , opt={}) -> IO (28084.0) -
サブプロセスを実行し、そのプロセスの標準入出力 との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
サブプロセスを実行し、そのプロセスの標準入出力
との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
p io = IO.popen("cat", "r+") # => #<IO:fd 4>
io.puts "foo"
io.close_write
p io.gets # => "foo\n"
サブプロセスを指定する方法は2通りあります。文字列を指定する場合と配列を指定する場合です。
文字列の場合は、シェルを経由して子プロセスを実行し、
配列の場合は、シェルを経由せずに子プロセスを実行します。
... -
IO
. popen(env = {} , [cmdname , *args , execopt={}] , mode = "r" , opt={}) -> IO (28084.0) -
サブプロセスを実行し、そのプロセスの標準入出力 との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
サブプロセスを実行し、そのプロセスの標準入出力
との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
p io = IO.popen("cat", "r+") # => #<IO:fd 4>
io.puts "foo"
io.close_write
p io.gets # => "foo\n"
サブプロセスを指定する方法は2通りあります。文字列を指定する場合と配列を指定する場合です。
文字列の場合は、シェルを経由して子プロセスを実行し、
配列の場合は、シェルを経由せずに子プロセスを実行します。
... -
IO
. popen(env = {} , command , mode = "r" , opt={}) -> IO (28084.0) -
サブプロセスを実行し、そのプロセスの標準入出力 との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
サブプロセスを実行し、そのプロセスの標準入出力
との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
p io = IO.popen("cat", "r+") # => #<IO:fd 4>
io.puts "foo"
io.close_write
p io.gets # => "foo\n"
サブプロセスを指定する方法は2通りあります。文字列を指定する場合と配列を指定する場合です。
文字列の場合は、シェルを経由して子プロセスを実行し、
配列の場合は、シェルを経由せずに子プロセスを実行します。
... -
IO
. for _ fd(fd , mode = "r" , **opts) -> IO (27937.0) -
オープン済みのファイルディスクリプタ fd に対する新しい IO オブジェクトを生成して返します。
オープン済みのファイルディスクリプタ fd に対する新しい
IO オブジェクトを生成して返します。
IO.open にブロックが与えられた場合、IO オブジェクトを生成しそれを引数としてブロックを
実行します。ブロックの終了とともに fd はクローズされます。ブロックの結果を返します。
IO.new, IO.for_fd はブロックを受け付けません。
=== キーワード引数
このメソッドは以下のキーワード引数を利用できます。
* :mode mode引数と同じ意味です
* :external_encoding 外部エンコーディング。"-" はデフォルト外部エンコーディングの
... -
IO
. new(fd , mode = "r" , **opts) -> IO (27937.0) -
オープン済みのファイルディスクリプタ fd に対する新しい IO オブジェクトを生成して返します。
オープン済みのファイルディスクリプタ fd に対する新しい
IO オブジェクトを生成して返します。
IO.open にブロックが与えられた場合、IO オブジェクトを生成しそれを引数としてブロックを
実行します。ブロックの終了とともに fd はクローズされます。ブロックの結果を返します。
IO.new, IO.for_fd はブロックを受け付けません。
=== キーワード引数
このメソッドは以下のキーワード引数を利用できます。
* :mode mode引数と同じ意味です
* :external_encoding 外部エンコーディング。"-" はデフォルト外部エンコーディングの
... -
IO
. open(fd , mode = "r" , **opts) -> IO (27937.0) -
オープン済みのファイルディスクリプタ fd に対する新しい IO オブジェクトを生成して返します。
オープン済みのファイルディスクリプタ fd に対する新しい
IO オブジェクトを生成して返します。
IO.open にブロックが与えられた場合、IO オブジェクトを生成しそれを引数としてブロックを
実行します。ブロックの終了とともに fd はクローズされます。ブロックの結果を返します。
IO.new, IO.for_fd はブロックを受け付けません。
=== キーワード引数
このメソッドは以下のキーワード引数を利用できます。
* :mode mode引数と同じ意味です
* :external_encoding 外部エンコーディング。"-" はデフォルト外部エンコーディングの
... -
IO
. open(fd , mode = "r" , **opts) {|io| . . . } -> object (27937.0) -
オープン済みのファイルディスクリプタ fd に対する新しい IO オブジェクトを生成して返します。
オープン済みのファイルディスクリプタ fd に対する新しい
IO オブジェクトを生成して返します。
IO.open にブロックが与えられた場合、IO オブジェクトを生成しそれを引数としてブロックを
実行します。ブロックの終了とともに fd はクローズされます。ブロックの結果を返します。
IO.new, IO.for_fd はブロックを受け付けません。
=== キーワード引数
このメソッドは以下のキーワード引数を利用できます。
* :mode mode引数と同じ意味です
* :external_encoding 外部エンコーディング。"-" はデフォルト外部エンコーディングの
... -
IO
. pipe {|read _ io , write _ io| . . . } -> object (27919.0) -
pipe(2) を実行して、相互につながった2つの IO オブジェクトを要素とする配列を返します。
pipe(2) を実行して、相互につながった2つの
IO オブジェクトを要素とする配列を返します。
戻り値の配列は最初の要素が読み込み側で、次の要素が書き込み側です。
ブロックが渡された場合は、そのブロックに2つの IO オブジェクトが渡され、
ブロックの返り値がこのメソッドの返り値となります。
ブロック終了時に IO オブジェクトがもし close されていないならば
close します(close されていてるオブジェクトはそのままです)。
得られる2つの IO オブジェクトのエンコーディングを引数で指定することが
できます。
@param enc_str 読み込み側の外部エンコ... -
IO
. pipe(enc _ str , **opts) {|read _ io , write _ io| . . . } -> object (27919.0) -
pipe(2) を実行して、相互につながった2つの IO オブジェクトを要素とする配列を返します。
pipe(2) を実行して、相互につながった2つの
IO オブジェクトを要素とする配列を返します。
戻り値の配列は最初の要素が読み込み側で、次の要素が書き込み側です。
ブロックが渡された場合は、そのブロックに2つの IO オブジェクトが渡され、
ブロックの返り値がこのメソッドの返り値となります。
ブロック終了時に IO オブジェクトがもし close されていないならば
close します(close されていてるオブジェクトはそのままです)。
得られる2つの IO オブジェクトのエンコーディングを引数で指定することが
できます。
@param enc_str 読み込み側の外部エンコ... -
IO
. pipe(ext _ enc) {|read _ io , write _ io| . . . } -> object (27919.0) -
pipe(2) を実行して、相互につながった2つの IO オブジェクトを要素とする配列を返します。
pipe(2) を実行して、相互につながった2つの
IO オブジェクトを要素とする配列を返します。
戻り値の配列は最初の要素が読み込み側で、次の要素が書き込み側です。
ブロックが渡された場合は、そのブロックに2つの IO オブジェクトが渡され、
ブロックの返り値がこのメソッドの返り値となります。
ブロック終了時に IO オブジェクトがもし close されていないならば
close します(close されていてるオブジェクトはそのままです)。
得られる2つの IO オブジェクトのエンコーディングを引数で指定することが
できます。
@param enc_str 読み込み側の外部エンコ... -
IO
. pipe(ext _ enc , int _ enc , **opts) {|read _ io , write _ io| . . . } -> object (27919.0) -
pipe(2) を実行して、相互につながった2つの IO オブジェクトを要素とする配列を返します。
pipe(2) を実行して、相互につながった2つの
IO オブジェクトを要素とする配列を返します。
戻り値の配列は最初の要素が読み込み側で、次の要素が書き込み側です。
ブロックが渡された場合は、そのブロックに2つの IO オブジェクトが渡され、
ブロックの返り値がこのメソッドの返り値となります。
ブロック終了時に IO オブジェクトがもし close されていないならば
close します(close されていてるオブジェクトはそのままです)。
得られる2つの IO オブジェクトのエンコーディングを引数で指定することが
できます。
@param enc_str 読み込み側の外部エンコ... -
IO
. popen("-" , mode = "r" , opt={}) -> IO (27829.0) -
第一引数に文字列 "-" が指定された時、fork(2) を 行い子プロセスの標準入出力との間にパイプラインを確立します。 親プロセスでは IO オブジェクトを返し、子プロセスでは nil を返します。
第一引数に文字列 "-" が指定された時、fork(2) を
行い子プロセスの標準入出力との間にパイプラインを確立します。
親プロセスでは IO オブジェクトを返し、子プロセスでは
nil を返します。
io = IO.popen("-", "r+")
if io # parent
io.puts "foo"
p io.gets # => "child output: foo\n"
io.close
else # child
s = gets
print "child output: " + s
... -
IO
. popen("-" , mode = "r" , opt={}) {|io| . . . } -> object (27829.0) -
第一引数に文字列 "-" が指定された時、fork(2) を 行い子プロセスの標準入出力との間にパイプラインを確立します。 親プロセスでは IO オブジェクトを返し、子プロセスでは nil を返します。
第一引数に文字列 "-" が指定された時、fork(2) を
行い子プロセスの標準入出力との間にパイプラインを確立します。
親プロセスでは IO オブジェクトを返し、子プロセスでは
nil を返します。
io = IO.popen("-", "r+")
if io # parent
io.puts "foo"
p io.gets # => "child output: foo\n"
io.close
else # child
s = gets
print "child output: " + s
... -
IO
. popen(env , "-" , mode = "r" , opt={}) -> IO (27829.0) -
第一引数に文字列 "-" が指定された時、fork(2) を 行い子プロセスの標準入出力との間にパイプラインを確立します。 親プロセスでは IO オブジェクトを返し、子プロセスでは nil を返します。
第一引数に文字列 "-" が指定された時、fork(2) を
行い子プロセスの標準入出力との間にパイプラインを確立します。
親プロセスでは IO オブジェクトを返し、子プロセスでは
nil を返します。
io = IO.popen("-", "r+")
if io # parent
io.puts "foo"
p io.gets # => "child output: foo\n"
io.close
else # child
s = gets
print "child output: " + s
... -
IO
. popen(env , "-" , mode = "r" , opt={}) {|io| . . . } -> object (27829.0) -
第一引数に文字列 "-" が指定された時、fork(2) を 行い子プロセスの標準入出力との間にパイプラインを確立します。 親プロセスでは IO オブジェクトを返し、子プロセスでは nil を返します。
第一引数に文字列 "-" が指定された時、fork(2) を
行い子プロセスの標準入出力との間にパイプラインを確立します。
親プロセスでは IO オブジェクトを返し、子プロセスでは
nil を返します。
io = IO.popen("-", "r+")
if io # parent
io.puts "foo"
p io.gets # => "child output: foo\n"
io.close
else # child
s = gets
print "child output: " + s
... -
IO
. popen([env = {} , [cmdname , arg0] , *args , execopt={}] , mode = "r" , opt={}) {|f| . . . } -> object (27784.0) -
サブプロセスを実行し、そのプロセスの標準入出力 との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
サブプロセスを実行し、そのプロセスの標準入出力
との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
p io = IO.popen("cat", "r+") # => #<IO:fd 4>
io.puts "foo"
io.close_write
p io.gets # => "foo\n"
サブプロセスを指定する方法は2通りあります。文字列を指定する場合と配列を指定する場合です。
文字列の場合は、シェルを経由して子プロセスを実行し、
配列の場合は、シェルを経由せずに子プロセスを実行します。
... -
IO
. popen([env = {} , cmdname , *args , execopt={}] , mode = "r" , opt={}) {|f| . . . } -> object (27784.0) -
サブプロセスを実行し、そのプロセスの標準入出力 との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
サブプロセスを実行し、そのプロセスの標準入出力
との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
p io = IO.popen("cat", "r+") # => #<IO:fd 4>
io.puts "foo"
io.close_write
p io.gets # => "foo\n"
サブプロセスを指定する方法は2通りあります。文字列を指定する場合と配列を指定する場合です。
文字列の場合は、シェルを経由して子プロセスを実行し、
配列の場合は、シェルを経由せずに子プロセスを実行します。
... -
IO
. popen(env = {} , [[cmdname , arg0] , *args , execopt={}] , mode = "r" , opt={}) {|f| . . . } -> object (27784.0) -
サブプロセスを実行し、そのプロセスの標準入出力 との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
サブプロセスを実行し、そのプロセスの標準入出力
との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
p io = IO.popen("cat", "r+") # => #<IO:fd 4>
io.puts "foo"
io.close_write
p io.gets # => "foo\n"
サブプロセスを指定する方法は2通りあります。文字列を指定する場合と配列を指定する場合です。
文字列の場合は、シェルを経由して子プロセスを実行し、
配列の場合は、シェルを経由せずに子プロセスを実行します。
... -
IO
. popen(env = {} , [cmdname , *args , execopt={}] , mode = "r" , opt={}) {|f| . . . } -> object (27784.0) -
サブプロセスを実行し、そのプロセスの標準入出力 との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
サブプロセスを実行し、そのプロセスの標準入出力
との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
p io = IO.popen("cat", "r+") # => #<IO:fd 4>
io.puts "foo"
io.close_write
p io.gets # => "foo\n"
サブプロセスを指定する方法は2通りあります。文字列を指定する場合と配列を指定する場合です。
文字列の場合は、シェルを経由して子プロセスを実行し、
配列の場合は、シェルを経由せずに子プロセスを実行します。
... -
IO
. popen(env = {} , command , mode = "r" , opt={}) {|f| . . . } -> object (27784.0) -
サブプロセスを実行し、そのプロセスの標準入出力 との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
サブプロセスを実行し、そのプロセスの標準入出力
との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
p io = IO.popen("cat", "r+") # => #<IO:fd 4>
io.puts "foo"
io.close_write
p io.gets # => "foo\n"
サブプロセスを指定する方法は2通りあります。文字列を指定する場合と配列を指定する場合です。
文字列の場合は、シェルを経由して子プロセスを実行し、
配列の場合は、シェルを経由せずに子プロセスを実行します。
... -
IO
# sysseek(offset , whence = IO :: SEEK _ SET) -> Integer (27718.0) -
lseek(2) と同じです。IO#seek では、 IO#sysread, IO#syswrite と併用すると正しく動作しないので代わりにこのメソッドを使います。 位置 offset への移動が成功すれば移動した位置(ファイル先頭からのオフセット)を返します。
lseek(2) と同じです。IO#seek では、
IO#sysread, IO#syswrite と併用すると正しく動作しないので代わりにこのメソッドを使います。
位置 offset への移動が成功すれば移動した位置(ファイル先頭からのオフセット)を返します。
書き込み用にバッファリングされた IO に対して実行すると警告が出ます。
File.open("/dev/zero") {|f|
buf = f.read(3)
f.sysseek(0)
}
# => -:3:in `sysseek': sysseek for buffered IO (IOErro... -
Exception2MessageMapper
. def _ exception(klass , exception _ name , message _ format , superklass = StandardError) -> Class (27691.0) -
exception_name という名前の例外クラスを定義します。
exception_name という名前の例外クラスを定義します。
@param klass 一階層上となるクラス名を指定します。
@param exception_name 例外クラスの名前をシンボルで指定します。
@param message_format メッセージのフォーマットを指定します。
Kernel.#sprintf のフォーマット文字列と同じ形式を使用できます。
@param superklass 定義する例外クラスのスーパークラスを指定します。
省略すると StandardError を使用... -
OpenSSL
:: X509 :: ExtensionFactory # create _ extension(obj) -> OpenSSL :: X509 :: Extension (27673.0) -
OpenSSL::X509::Extension のインスタンスを生成して返します。
OpenSSL::X509::Extension のインスタンスを生成して返します。
引数の個数が1個である場合、それが配列、ハッシュ、文字列のいずれかである
ならば、
OpenSSL::X509::ExtensionFactory#create_ext_from_array、
OpenSSL::X509::ExtensionFactory#create_ext_from_hash、
OpenSSL::X509::ExtensionFactory#create_ext_from_string、
がそれぞれ呼びだされてオブジェクトを生成します。
引数が2個以上である場合は、
OpenSSL:... -
OpenSSL
:: X509 :: ExtensionFactory # create _ extension(oid , value , critical=false) -> OpenSSL :: X509 :: Extension (27673.0) -
OpenSSL::X509::Extension のインスタンスを生成して返します。
OpenSSL::X509::Extension のインスタンスを生成して返します。
引数の個数が1個である場合、それが配列、ハッシュ、文字列のいずれかである
ならば、
OpenSSL::X509::ExtensionFactory#create_ext_from_array、
OpenSSL::X509::ExtensionFactory#create_ext_from_hash、
OpenSSL::X509::ExtensionFactory#create_ext_from_string、
がそれぞれ呼びだされてオブジェクトを生成します。
引数が2個以上である場合は、
OpenSSL:... -
Exception2MessageMapper
# def _ exception(exception _ name , message _ format , superclass = StandardError) -> Class (27655.0) -
exception_name という名前の例外クラスを定義します。
exception_name という名前の例外クラスを定義します。
@param exception_name 定義する例外クラスの名前をシンボルで指定します。
@param message_format メッセージのフォーマット。
@param superclass 定義する例外のスーパークラスを指定します。
省略すると StandardError を使用します。 -
RubyVM
:: InstructionSequence . compile _ option=(options) (27637.0) -
命令シーケンスのコンパイル時のデフォルトの最適化オプションを引数 options で指定します。
命令シーケンスのコンパイル時のデフォルトの最適化オプションを引数
options で指定します。
@param options コンパイル時の最適化オプションを true、false、nil、
Hash のいずれかで指定します。true を指定した場合は
全てのオプションを有効にします。false を指定した場合は全
てのオプションを無効にします。nil を指定した場合はいずれ
のオプションも変更しません。また、Hash を指定した
場合は以... -
Exception
# backtrace _ locations -> [Thread :: Backtrace :: Location] (27619.0) -
バックトレース情報を返します。Exception#backtraceに似ていますが、 Thread::Backtrace::Location の配列を返す点が異なります。
バックトレース情報を返します。Exception#backtraceに似ていますが、
Thread::Backtrace::Location の配列を返す点が異なります。
現状では Exception#set_backtrace によって戻り値が変化する事はあり
ません。
//emlist[例: test.rb][ruby]{
require "date"
def check_long_month(month)
return if Date.new(2000, month, -1).day == 31
raise "#{month} is not long month"
end
... -
Exception
# exception(error _ message) -> Exception (27619.0) -
引数を指定しない場合は self を返します。引数を指定した場合 自身のコピー を生成し Exception#message 属性を error_message にして返します。
引数を指定しない場合は self を返します。引数を指定した場合 自身のコピー
を生成し Exception#message 属性を error_message にして返します。
Kernel.#raise は、実質的に、例外オブジェクトの exception
メソッドの呼び出しです。
@param error_message エラーメッセージを表す文字列を指定します。
//emlist[例][ruby]{
begin
# ... # 何か処理
rescue => e
raise e.exception("an error occurs during hogeho... -
Exception
. exception(error _ message = nil) -> Exception (27619.0) -
例外オブジェクトを生成して返します。
例外オブジェクトを生成して返します。
@param error_message エラーメッセージを表す文字列を指定します。このメッセージは
属性 Exception#message の値になり、デフォルトの例外ハンドラで表示されます。
//emlist[例][ruby]{
e = Exception.new("some message")
p e # => #<Exception: some message>
p e.message # => "some message"
//}
//emlist[例][ruby]{
e = E... -
Gem
:: Specification # rdoc _ options=(options) (27619.0) -
API ドキュメントを生成するときに rdoc コマンドに与えるオプションをセットします。
API ドキュメントを生成するときに rdoc コマンドに与えるオプションをセットします。
@param options API ドキュメントを生成するときに rdoc コマンドに与えるオプションを指定します。 -
Gem
:: Specification # rubygems _ version=(version) (27619.0) -
この Gem パッケージを作成した RubyGems のバージョンをセットします。 この属性は Gem パッケージが作成された時に自動的にセットされます。
この Gem パッケージを作成した RubyGems のバージョンをセットします。
この属性は Gem パッケージが作成された時に自動的にセットされます。
@param version RubyGems のバージョンを指定します。 -
Gem
:: Specification # version=(version) (27619.0) -
この Gem パッケージのバージョンをセットします。
この Gem パッケージのバージョンをセットします。
@param version バージョンを文字列か Gem::Version のインスタンスで指定します。 -
IO
# clone -> IO (27619.0) -
レシーバと同じ IO を参照する新しい IO オブジェクトを返します。 参照しているファイル記述子は dup(2) されます。
レシーバと同じ IO を参照する新しい IO オブジェクトを返します。
参照しているファイル記述子は dup(2) されます。
clone の際に self は一旦 IO#flush されます。
フリーズした IO の clone は同様にフリーズされた IO を返しますが、
dup は内容の等しいフリーズされていない IO を返します。
@raise IOError 既に close されていた場合に発生します。
//emlist[例][ruby]{
clone_io = nil
IO.write("testfile", "test")
File.open("testfile") ... -
IO
# dup -> IO (27619.0) -
レシーバと同じ IO を参照する新しい IO オブジェクトを返します。 参照しているファイル記述子は dup(2) されます。
レシーバと同じ IO を参照する新しい IO オブジェクトを返します。
参照しているファイル記述子は dup(2) されます。
clone の際に self は一旦 IO#flush されます。
フリーズした IO の clone は同様にフリーズされた IO を返しますが、
dup は内容の等しいフリーズされていない IO を返します。
@raise IOError 既に close されていた場合に発生します。
//emlist[例][ruby]{
clone_io = nil
IO.write("testfile", "test")
File.open("testfile") ... -
IO
. pipe -> [IO] (27619.0) -
pipe(2) を実行して、相互につながった2つの IO オブジェクトを要素とする配列を返します。
pipe(2) を実行して、相互につながった2つの
IO オブジェクトを要素とする配列を返します。
戻り値の配列は最初の要素が読み込み側で、次の要素が書き込み側です。
ブロックが渡された場合は、そのブロックに2つの IO オブジェクトが渡され、
ブロックの返り値がこのメソッドの返り値となります。
ブロック終了時に IO オブジェクトがもし close されていないならば
close します(close されていてるオブジェクトはそのままです)。
得られる2つの IO オブジェクトのエンコーディングを引数で指定することが
できます。
@param enc_str 読み込み側の外部エンコ... -
IO
. pipe(enc _ str , **opts) -> [IO] (27619.0) -
pipe(2) を実行して、相互につながった2つの IO オブジェクトを要素とする配列を返します。
pipe(2) を実行して、相互につながった2つの
IO オブジェクトを要素とする配列を返します。
戻り値の配列は最初の要素が読み込み側で、次の要素が書き込み側です。
ブロックが渡された場合は、そのブロックに2つの IO オブジェクトが渡され、
ブロックの返り値がこのメソッドの返り値となります。
ブロック終了時に IO オブジェクトがもし close されていないならば
close します(close されていてるオブジェクトはそのままです)。
得られる2つの IO オブジェクトのエンコーディングを引数で指定することが
できます。
@param enc_str 読み込み側の外部エンコ... -
IO
. pipe(ext _ enc) -> [IO] (27619.0) -
pipe(2) を実行して、相互につながった2つの IO オブジェクトを要素とする配列を返します。
pipe(2) を実行して、相互につながった2つの
IO オブジェクトを要素とする配列を返します。
戻り値の配列は最初の要素が読み込み側で、次の要素が書き込み側です。
ブロックが渡された場合は、そのブロックに2つの IO オブジェクトが渡され、
ブロックの返り値がこのメソッドの返り値となります。
ブロック終了時に IO オブジェクトがもし close されていないならば
close します(close されていてるオブジェクトはそのままです)。
得られる2つの IO オブジェクトのエンコーディングを引数で指定することが
できます。
@param enc_str 読み込み側の外部エンコ... -
IO
. pipe(ext _ enc , int _ enc , **opts) -> [IO] (27619.0) -
pipe(2) を実行して、相互につながった2つの IO オブジェクトを要素とする配列を返します。
pipe(2) を実行して、相互につながった2つの
IO オブジェクトを要素とする配列を返します。
戻り値の配列は最初の要素が読み込み側で、次の要素が書き込み側です。
ブロックが渡された場合は、そのブロックに2つの IO オブジェクトが渡され、
ブロックの返り値がこのメソッドの返り値となります。
ブロック終了時に IO オブジェクトがもし close されていないならば
close します(close されていてるオブジェクトはそのままです)。
得られる2つの IO オブジェクトのエンコーディングを引数で指定することが
できます。
@param enc_str 読み込み側の外部エンコ... -
Rational
# rationalize(eps = 0) -> Rational (27619.0) -
自身から eps で指定した許容誤差の範囲に収まるような Rational を返 します。
自身から eps で指定した許容誤差の範囲に収まるような Rational を返
します。
eps を省略した場合は self を返します。
@param eps 許容する誤差
//emlist[例][ruby]{
r = Rational(5033165, 16777216)
r.rationalize # => (5033165/16777216)
r.rationalize(Rational(0.01)) # => (3/10)
r.rationalize(Rational(0.1)) # => (1/3)
//} -
Rational
# -@ -> Rational (27601.0) -
単項演算子の - です。 self の符号を反転させたものを返します。
単項演算子の - です。
self の符号を反転させたものを返します。
//emlist[例][ruby]{
r = Rational(3, 4)
- r # => (-3/4)
//} -
IO
. select(reads , writes = [] , excepts = [] , timeout = nil) -> [[IO]] | nil (27574.0) -
select(2) を実行します。
select(2) を実行します。
与えられた入力/出力/例外待ちの IO オブジェクトの中から準備ができたものを
それぞれ配列にして、配列の配列として返します。
タイムアウトした時には nil を返します。
@param reads 入力待ちする IO オブジェクトの配列を渡します。
@param writes 出力待ちする IO オブジェクトの配列を渡します。
@param excepts 例外待ちする IO オブジェクトの配列を渡します。
@param timeout タイムアウトまでの時間を表す数値または nil を指定します。数値で指定したときの単位は秒です。nil を... -
IO
# reopen(io) -> self (27535.0) -
自身を指定された io に繋ぎ換えます。
自身を指定された io に繋ぎ換えます。
クラスも io に等しくなることに注意してください。
IO#pos, IO#lineno などは指定された io と等しくなります。
@param io 自身を繋ぎ換えたい IO オブジェクトを指定します。
@raise IOError 指定された io が close されている場合に発生します。 -
IO
# read _ nonblock(maxlen , outbuf = nil , exception: true) -> String | Symbol | nil (27529.0) -
IO をノンブロッキングモードに設定し、 その後で read(2) システムコールにより 長さ maxlen を上限として読み込み、文字列として返します。 EAGAIN, EINTR などは Errno::EXXX 例外として呼出元に報告されます。
IO をノンブロッキングモードに設定し、
その後で read(2) システムコールにより
長さ maxlen を上限として読み込み、文字列として返します。
EAGAIN, EINTR などは Errno::EXXX 例外として呼出元に報告されます。
発生した例外 がErrno::EAGAIN、 Errno::EWOULDBLOCK である場合は、
その例外オブジェクトに IO::WaitReadable が Object#extend
されます。
なお、バッファが空でない場合は、read_nonblock はバッファから読み込みます。この場合、read(2) システムコールは呼ばれません... -
IO
# seek(offset , whence = IO :: SEEK _ SET) -> 0 (27520.0) -
ファイルポインタを whence の位置から offset だけ移動させます。 offset 位置への移動が成功すれば 0 を返します。
ファイルポインタを whence の位置から offset だけ移動させます。
offset 位置への移動が成功すれば 0 を返します。
@param offset ファイルポインタを移動させるオフセットを整数で指定します。
@param whence 値は以下のいずれかです。
それぞれ代わりに :SET、:CUR、:END、:DATA、:HOLE を指定す
る事も可能です。
* IO::SEEK_SET: ファイルの先頭から (デフォルト)
* IO::SEEK_CUR: 現在のファイルポインタから
* IO::SE... -
IO
# write _ nonblock(string , exception: true) -> Integer | :wait _ writable (27457.0) -
IO をノンブロッキングモードに設定し、string を write(2) システムコールで書き出します。
IO をノンブロッキングモードに設定し、string を write(2) システムコールで書き出します。
write(2) が成功した場合、書き込んだ長さを返します。
EAGAIN, EINTR などは例外 Errno::EXXX として呼出元に報告されます。
書き込んだバイト数(つまり返り値)は String#bytesize の
値より小さい可能性があります。
発生した例外 がErrno::EAGAIN、 Errno::EWOULDBLOCK である場合は、
その例外オブジェクトに IO::WaitWritable が Object#extend
されます。よって IO::Wai... -
IO
# raw(min: 1 , time: 0 , intr: false) {|io| . . . } -> object (27412.0) -
raw モード、行編集を無効にして指定されたブロックを評価します。
raw モード、行編集を無効にして指定されたブロックを評価します。
ブロック引数には self が渡されます。ブロックを評価した結果を返します。
@param min 入力操作 (read) 時に受信したい最小のバイト数を指定します。min 値以上のバイト数を受信するまで、操作がブロッキングされます。
@param time タイムアウトするまでの秒数を指定します。time よりも min が優先されるため、入力バイト数が min 値以上になるまでは、time 値に関わらず操作がブロッキングされます。
@param intr trueを指定した場合は、割り込み (interrupt)... -
CGI
:: HtmlExtension # radio _ button(name = "" , value = nil , checked = nil) -> String (27358.0) -
タイプが radio である input 要素を生成します。
タイプが radio である input 要素を生成します。
@param name name 属性の値を指定します。
@param value value 属性の値を指定します。
@param checked 真ならば checked 属性を設定します。
例:
radio_button("name", "value")
# <INPUT TYPE="radio" NAME="name" VALUE="value">
radio_button("name", "value", true)
# <INPUT TYPE="radio" NAME="name" ... -
OptionParser
:: ParseError # set _ option(opt , eq) -> self (27355.0) -
エラーのあったオプションを指定します。
エラーのあったオプションを指定します。
eq が真の場合、self が管理するエラーのあったオプションの一覧の先頭を
opt で置き換えます。そうでない場合は先頭に opt を追加します。
@param opt エラーのあったオプションを指定します。
@param eq self が管理するエラーのあったオプションの一覧の先頭を置き換え
るかどうかを指定します。
@return self を返します。 -
RSS
:: SyndicationModel # sy _ updatePeriod (27349.0) -
@todo
@todo -
RSS
:: SyndicationModel # sy _ updatePeriod= (27349.0) -
@todo
@todo -
CGI
:: HtmlExtension # radio _ group(name = "" , *values) -> String (27340.0) -
タイプが radio である input 要素のリストを生成します。
タイプが radio である input 要素のリストを生成します。
生成される input 要素の name 属性はすべて同じになり、
それぞれの input 要素の後ろにはラベルが続きます。
@param name name 属性の値を指定します。
@param values value 属性のリストを指定します。
それぞれの引数が、単純な文字列の場合、value 属性の値とラベルに同じものが使用されます。
それぞれの引数が、二要素または三要素の配列の場合、最終要素が true であれば、
check... -
IO
# cooked {|io| . . . } -> object (27340.0) -
cooked モードを有効にして指定されたブロックを評価します。
cooked モードを有効にして指定されたブロックを評価します。
ブロック引数には self が渡されます。ブロックを評価した結果を返します。
@raise LocalJumpError ブロックを指定しなかった場合に発生します。
以下の例では、標準入力からエコーバック付きで文字列を一行読み込みます。
require "io/console"
STDIN.cooked(&:gets) -
IO
# noecho {|io| . . . } -> object (27340.0) -
文字入力時のエコーバックを無効に設定してブロックを評価します。
文字入力時のエコーバックを無効に設定してブロックを評価します。
ブロック引数には self が渡されます。ブロックを評価した結果を返します。
以下の例では、標準入力からエコーバックなしで文字列を一行読み込みます。
require "io/console"
STDIN.noecho(&:gets)
@raise LocalJumpError ブロックを指定しなかった場合に発生します。 -
Gem
:: Specification # required _ ruby _ version=(requirement) (27337.0) -
この Gem パッケージを動作させるのに必要な Ruby のバージョンをセットします。
この Gem パッケージを動作させるのに必要な Ruby のバージョンをセットします。
@param requirement Gem::Requirement.create が受け付ける形式のオブジェクトを指定します。
@see Gem::Requirement -
Gem
:: Specification # required _ rubygems _ version=(requirement) (27337.0) -
この Gem パッケージを動作させるのに必要な RubyGems のバージョンをセットします。
この Gem パッケージを動作させるのに必要な RubyGems のバージョンをセットします。
@param requirement Gem::Requirement.create が受け付ける形式のオブジェクトを指定します。
@see Gem::Requirement -
OptionParser
# version -> String (27337.0) -
プログラムのバージョンを文字列で返します。
プログラムのバージョンを文字列で返します。
@return プログラムのバージョンを文字列で返します。
@see OptionParser#ver -
OptionParser
# version=(ver) (27337.0) -
プログラムのバージョンを文字列で指定します。
プログラムのバージョンを文字列で指定します。
@param ver プログラムのバージョンを文字列で指定します。
@see OptionParser#ver -
CGI
:: HtmlExtension # radio _ button(attributes) -> String (27328.0) -
タイプが radio である input 要素を生成します。
タイプが radio である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
radio_button({ "NAME" => "name", "VALUE" => "value", "ID" => "foo" })
# <INPUT TYPE="radio" NAME="name" VALUE="value" ID="foo"> -
CGI
:: HtmlExtension # radio _ group(attributes) -> String (27325.0) -
タイプが radio である input 要素のリストを生成します。
タイプが radio である input 要素のリストを生成します。
生成される input 要素の name 属性はすべて同じになり、
それぞれの input 要素の後ろにはラベルが続きます。
@param attributes 属性をハッシュで指定します。
例:
radio_group({ "NAME" => "name",
"VALUES" => ["foo", "bar", "baz"] })
radio_group({ "NAME" => "name",
"VALUES" => [["foo"], [... -
CGI
:: HtmlExtension # caption(align = nil) -> String (27319.0) -
caption 要素を生成します。
caption 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param align 配置を文字列で指定します。(top, bottom, left right が指定可能です)
属性をハッシュで指定することもできます。
例:
caption("left") { "Capital Cities" }
# => <CAPTION ALIGN=\"left\">Capital Cities</CAPTION> -
CGI
:: HtmlExtension # caption(align = nil) { . . . } -> String (27319.0) -
caption 要素を生成します。
caption 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param align 配置を文字列で指定します。(top, bottom, left right が指定可能です)
属性をハッシュで指定することもできます。
例:
caption("left") { "Capital Cities" }
# => <CAPTION ALIGN=\"left\">Capital Cities</CAPTION> -
Encoding
:: UndefinedConversionError # destination _ encoding -> Encoding (27319.0) -
エラーを発生させた変換の変換先のエンコーディングを Encoding オブジェクトで返します。
エラーを発生させた変換の変換先のエンコーディングを Encoding
オブジェクトで返します。
@see Encoding::UndefinedConversionError#source_encoding -
Encoding
:: UndefinedConversionError # destination _ encoding _ name -> String (27319.0) -
エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
@see Encoding::UndefinedConversionError#destination_encoding -
Exception
# exception -> self (27319.0) -
引数を指定しない場合は self を返します。引数を指定した場合 自身のコピー を生成し Exception#message 属性を error_message にして返します。
引数を指定しない場合は self を返します。引数を指定した場合 自身のコピー
を生成し Exception#message 属性を error_message にして返します。
Kernel.#raise は、実質的に、例外オブジェクトの exception
メソッドの呼び出しです。
@param error_message エラーメッセージを表す文字列を指定します。
//emlist[例][ruby]{
begin
# ... # 何か処理
rescue => e
raise e.exception("an error occurs during hogeho... -
Gem
:: Specification # description=(desc) (27319.0) -
Gem パッケージの説明をセットします。
Gem パッケージの説明をセットします。
@param desc パッケージの詳細を説明する文章を指定します。 -
Gem
:: Specification # extensions=(paths) (27319.0) -
拡張ライブラリをコンパイルするために必要な extconf.rb 形式のファイルのリストをセットします。
拡張ライブラリをコンパイルするために必要な extconf.rb 形式のファイルのリストをセットします。
@param paths 拡張ライブラリをコンパイルするために必要な extconf.rb 形式のファイルのリストを指定します。 -
Gem
:: UserInteraction # terminate _ interaction(*args) -> () (27319.0) -
アプリケーションを終了します。
アプリケーションを終了します。
@param args 委譲先のメソッドに与える引数です。 -
OptionParser
:: Arguable # options=(opt) (27319.0) -
自身をパースするための OptionParser オブジェクトをセットします。
自身をパースするための OptionParser オブジェクトをセットします。
@param opt 自身をパースする OptionParser 、あるいは nil か false を指定します。
nil か false である場合、自身の options= メソッドと options メソッドを
undef します。 -
RDoc
:: Options # option _ parser=(val) (27319.0) -
コマンドライン引数の解析のための OptionParser オブジェクトを設定 します。
コマンドライン引数の解析のための OptionParser オブジェクトを設定
します。
@param val OptionParser オブジェクトを指定します。 -
RubyVM
:: InstructionSequence . compile _ option -> Hash (27319.0) -
命令シーケンスのコンパイル時のデフォルトの最適化オプションを Hash で返 します。
命令シーケンスのコンパイル時のデフォルトの最適化オプションを Hash で返
します。
//emlist[例][ruby]{
require "pp"
pp RubyVM::InstructionSequence.compile_option
# => {:inline_const_cache=>true,
# :peephole_optimization=>true,
# :tailcall_optimization=>false,
# :specialized_instruction=>true,
# :operands_unification=>true,
# :instructi... -
IO
. read(path , **opt) -> String | nil (27307.0) -
path で指定されたファイルを offset 位置から length バイト分読み込んで返します。
path で指定されたファイルを offset 位置から
length バイト分読み込んで返します。
既に EOF に達している場合は nil を返します。ただし、length に nil か 0 が指定されている場合は、空文字列 "" を返します。例えば、IO.read(空ファイル) は "" を返します。
引数 length が指定された場合はバイナリ読み込みメソッド、そうでない場合はテキスト読み込みメソッドとして
動作します。
Kernel.#open と同様 path の先頭が "|" ならば、"|" に続くコマンドの出力を読み取ります。
@param path ファイル名を... -
IO
. read(path , length = nil , **opt) -> String | nil (27307.0) -
path で指定されたファイルを offset 位置から length バイト分読み込んで返します。
path で指定されたファイルを offset 位置から
length バイト分読み込んで返します。
既に EOF に達している場合は nil を返します。ただし、length に nil か 0 が指定されている場合は、空文字列 "" を返します。例えば、IO.read(空ファイル) は "" を返します。
引数 length が指定された場合はバイナリ読み込みメソッド、そうでない場合はテキスト読み込みメソッドとして
動作します。
Kernel.#open と同様 path の先頭が "|" ならば、"|" に続くコマンドの出力を読み取ります。
@param path ファイル名を... -
IO
. read(path , length = nil , offset = 0 , **opt) -> String | nil (27307.0) -
path で指定されたファイルを offset 位置から length バイト分読み込んで返します。
path で指定されたファイルを offset 位置から
length バイト分読み込んで返します。
既に EOF に達している場合は nil を返します。ただし、length に nil か 0 が指定されている場合は、空文字列 "" を返します。例えば、IO.read(空ファイル) は "" を返します。
引数 length が指定された場合はバイナリ読み込みメソッド、そうでない場合はテキスト読み込みメソッドとして
動作します。
Kernel.#open と同様 path の先頭が "|" ならば、"|" に続くコマンドの出力を読み取ります。
@param path ファイル名を... -
IO
# readpartial(maxlen , outbuf = "") -> String (27247.0) -
IO から長さ maxlen を上限として読み込み、文字列として返します。 即座に得られるデータが存在しないときにはブロックしてデータの到着を待ちます。 即座に得られるデータが 1byte でも存在すればブロックしません。
IO から長さ maxlen を上限として読み込み、文字列として返します。
即座に得られるデータが存在しないときにはブロックしてデータの到着を待ちます。
即座に得られるデータが 1byte でも存在すればブロックしません。
バイナリ読み込みメソッドとして動作します。
既に EOF に達していれば EOFError が発生します。
ただし、maxlen に 0 が指定されている場合は、空文字列 "" を返します。
readpartial はブロックを最小限に抑えることによって、
パイプ、ソケット、端末などのストリームに対して適切に動作するよう設計されています。
readpartial が... -
IO
. copy _ stream(src , dst , copy _ length = nil) -> Integer (27235.0) -
指定された src から dst へコピーします。 コピーしたバイト数を返します。
指定された src から dst へコピーします。
コピーしたバイト数を返します。
コピー元の src が IO オブジェクトの場合は、src のオフセットから
ファイル名の場合はファイルの最初からコピーを開始します。
コピー先の dst に関しても同様です。
dst にファイル名を指定し、そのファイルが存在しない場合、
ファイルは作成されます。ファイルが存在する場合は長さ 0 に切り詰められます。
src が IO オブジェクトでかつ src_offset が指定されている場合、
src のオフセット(src.pos)は変更されません。
@param src コピー元となる IO ... -
IO
. copy _ stream(src , dst , copy _ length , src _ offset) -> Integer (27235.0) -
指定された src から dst へコピーします。 コピーしたバイト数を返します。
指定された src から dst へコピーします。
コピーしたバイト数を返します。
コピー元の src が IO オブジェクトの場合は、src のオフセットから
ファイル名の場合はファイルの最初からコピーを開始します。
コピー先の dst に関しても同様です。
dst にファイル名を指定し、そのファイルが存在しない場合、
ファイルは作成されます。ファイルが存在する場合は長さ 0 に切り詰められます。
src が IO オブジェクトでかつ src_offset が指定されている場合、
src のオフセット(src.pos)は変更されません。
@param src コピー元となる IO ... -
IO
. foreach(path , rs = $ / , chomp: false) -> Enumerator (27235.0) -
path で指定されたファイルの各行を引数としてブロックを繰り返し実行します。 path のオープンに成功すれば nil を返します。
path で指定されたファイルの各行を引数としてブロックを繰り返し実行します。
path のオープンに成功すれば nil を返します。
ブロックが与えられなかった場合は、path で指定されたファイルの各行を繰り返す
Enumerator オブジェクトを生成して返します。
テキスト読み込みメソッドとして動作します。
path が空ファイルの場合、何もせずに nil を返します。
Kernel.#open と同様 path の先頭が "|" ならば、"|" に続くコマンドの出力を読み取ります。
@param path ファイル名を表す文字列か "|コマンド名" を指定します。
@pa... -
IO
. foreach(path , rs = $ / , chomp: false) {|line| . . . } -> nil (27235.0) -
path で指定されたファイルの各行を引数としてブロックを繰り返し実行します。 path のオープンに成功すれば nil を返します。
path で指定されたファイルの各行を引数としてブロックを繰り返し実行します。
path のオープンに成功すれば nil を返します。
ブロックが与えられなかった場合は、path で指定されたファイルの各行を繰り返す
Enumerator オブジェクトを生成して返します。
テキスト読み込みメソッドとして動作します。
path が空ファイルの場合、何もせずに nil を返します。
Kernel.#open と同様 path の先頭が "|" ならば、"|" に続くコマンドの出力を読み取ります。
@param path ファイル名を表す文字列か "|コマンド名" を指定します。
@pa... -
IO
# close _ read -> nil (27223.0) -
読み込み用の IO を close します。主にパイプや読み書き両用に作成し た IO オブジェクトで使用します。
読み込み用の IO を close します。主にパイプや読み書き両用に作成し
た IO オブジェクトで使用します。
既に close されていた場合には単に無視されます。
@raise IOError 自身が読み込み用にオープンされていなければ発生します。
@raise Errno::EXXX close に失敗した場合に発生します。
//emlist[例][ruby]{
IO.popen("/bin/sh","r+") do |f|
f.close_read
# f.readlines # => IOError: not opened for reading
end
//}... -
IO
# binmode -> self (27217.0) -
ストリームをバイナリモードにします。MSDOS などバイナリモードの存在 する OS でのみ有効です。そうでない場合このメソッドは何もしません。
ストリームをバイナリモードにします。MSDOS などバイナリモードの存在
する OS でのみ有効です。そうでない場合このメソッドは何もしません。
バイナリモードから通常のモードに戻す方法は再オープンしかありません。
@raise Errno::EXXX モードの変更に失敗した場合に発生します。
//emlist[例][ruby]{
IO.open(IO.sysopen("testfile", "w+")) do |io|
io.binmode? # => false
io.binmode # => #<IO:fd 8>
io.binmode? # => true
end
... -
IO
. binwrite(path , string , offset=nil) -> Integer (27217.0) -
path で指定されるファイルを開き、string を書き込み、 閉じます。
path で指定されるファイルを開き、string を書き込み、
閉じます。
ファイルを開くときの mode が "rb:ASCII-8BIT" で、バイナリモードが有効
である点以外は IO.write と同じです。
Kernel.#open と同様 path の先頭が "|" ならば、"|" に続くコマンドを実行し、コマンドの出力を標準出力に書き込みます。
offset を指定するとその位置までシークします。
offset を指定しないと、書き込みの末尾でファイルを
切り捨てます。
@param path ファイル名文字列
@param string 書き込む文字列
@param... -
IO
. readlines(path , limit , chomp: false , opts={}) -> [String] (27217.0) -
path で指定されたファイルを全て読み込んで、その各行を要素としてもつ配列を返します。
path で指定されたファイルを全て読み込んで、その各行を要素としてもつ配列を返します。
Kernel.#open と同様 path の先頭が "|" ならば、"|" に続くコマンドの出力を読み取ります。
テキスト読み込みメソッドとして動作します。
limit で最大読み込みバイト数を指定します。ただしマルチバイト文字が途中で
切れないように余分に読み込む場合があります。
opts でファイルを開くときのオプションを指定します。エンコーディングなど
を指定できます。
File.open と同様なのでそちらを参照してください。
@param path ファイル名を表す文字列か "|コ... -
IO
. readlines(path , rs = $ / , chomp: false , opts={}) -> [String] (27217.0) -
path で指定されたファイルを全て読み込んで、その各行を要素としてもつ配列を返します。
path で指定されたファイルを全て読み込んで、その各行を要素としてもつ配列を返します。
Kernel.#open と同様 path の先頭が "|" ならば、"|" に続くコマンドの出力を読み取ります。
テキスト読み込みメソッドとして動作します。
limit で最大読み込みバイト数を指定します。ただしマルチバイト文字が途中で
切れないように余分に読み込む場合があります。
opts でファイルを開くときのオプションを指定します。エンコーディングなど
を指定できます。
File.open と同様なのでそちらを参照してください。
@param path ファイル名を表す文字列か "|コ... -
IO
. readlines(path , rs , limit , chomp: false , opts={}) -> [String] (27217.0) -
path で指定されたファイルを全て読み込んで、その各行を要素としてもつ配列を返します。
path で指定されたファイルを全て読み込んで、その各行を要素としてもつ配列を返します。
Kernel.#open と同様 path の先頭が "|" ならば、"|" に続くコマンドの出力を読み取ります。
テキスト読み込みメソッドとして動作します。
limit で最大読み込みバイト数を指定します。ただしマルチバイト文字が途中で
切れないように余分に読み込む場合があります。
opts でファイルを開くときのオプションを指定します。エンコーディングなど
を指定できます。
File.open と同様なのでそちらを参照してください。
@param path ファイル名を表す文字列か "|コ... -
IO
. write(path , string , **opts) -> Integer (27217.0) -
path で指定されるファイルを開き、string を書き込み、 閉じます。
path で指定されるファイルを開き、string を書き込み、
閉じます。
Kernel.#open と同様 path の先頭が "|" ならば、"|" に続くコマンドを実行し、コマンドの出力を標準出力に書き込みます。
offset を指定するとその位置までシークします。
offset を指定しないと、書き込みの末尾でファイルを
切り捨てます。
キーワード引数はファイルを開くときに使われ、エンコーディングなどを指定することができます。
詳しくは IO.open を見てください。
@param path ファイル名文字列
@param string 書き込む文字列
@param of... -
IO
. write(path , string , offset=nil , **opts) -> Integer (27217.0) -
path で指定されるファイルを開き、string を書き込み、 閉じます。
path で指定されるファイルを開き、string を書き込み、
閉じます。
Kernel.#open と同様 path の先頭が "|" ならば、"|" に続くコマンドを実行し、コマンドの出力を標準出力に書き込みます。
offset を指定するとその位置までシークします。
offset を指定しないと、書き込みの末尾でファイルを
切り捨てます。
キーワード引数はファイルを開くときに使われ、エンコーディングなどを指定することができます。
詳しくは IO.open を見てください。
@param path ファイル名文字列
@param string 書き込む文字列
@param of... -
IO
# each(limit , chomp: false) -> Enumerator (27211.0) -
IO の現在位置から 1 行ずつ文字列として読み込み、それを引数として 与えられたブロックを実行します。
IO の現在位置から 1 行ずつ文字列として読み込み、それを引数として
与えられたブロックを実行します。
ブロックが与えられなかった場合は、自身から生成した
Enumerator オブジェクトを返します。
テキスト読み込みメソッドとして動作します。
limit で最大読み込みバイト数を指定します。ただしマルチバイト文字が途中で
切れないように余分に読み込む場合があります。
@param rs 行の区切りを文字列で指定します。rs に nil を指定すると行区切りなしとみなします。
空文字列 "" を指定すると連続する改行を行の区切りとみなします(パラグラフモード)... -
IO
# each(limit , chomp: false) {|line| . . . } -> self (27211.0) -
IO の現在位置から 1 行ずつ文字列として読み込み、それを引数として 与えられたブロックを実行します。
IO の現在位置から 1 行ずつ文字列として読み込み、それを引数として
与えられたブロックを実行します。
ブロックが与えられなかった場合は、自身から生成した
Enumerator オブジェクトを返します。
テキスト読み込みメソッドとして動作します。
limit で最大読み込みバイト数を指定します。ただしマルチバイト文字が途中で
切れないように余分に読み込む場合があります。
@param rs 行の区切りを文字列で指定します。rs に nil を指定すると行区切りなしとみなします。
空文字列 "" を指定すると連続する改行を行の区切りとみなします(パラグラフモード)... -
IO
# each(rs = $ / , chomp: false) -> Enumerator (27211.0) -
IO の現在位置から 1 行ずつ文字列として読み込み、それを引数として 与えられたブロックを実行します。
IO の現在位置から 1 行ずつ文字列として読み込み、それを引数として
与えられたブロックを実行します。
ブロックが与えられなかった場合は、自身から生成した
Enumerator オブジェクトを返します。
テキスト読み込みメソッドとして動作します。
limit で最大読み込みバイト数を指定します。ただしマルチバイト文字が途中で
切れないように余分に読み込む場合があります。
@param rs 行の区切りを文字列で指定します。rs に nil を指定すると行区切りなしとみなします。
空文字列 "" を指定すると連続する改行を行の区切りとみなします(パラグラフモード)... -
IO
# each(rs = $ / , chomp: false) {|line| . . . } -> self (27211.0) -
IO の現在位置から 1 行ずつ文字列として読み込み、それを引数として 与えられたブロックを実行します。
IO の現在位置から 1 行ずつ文字列として読み込み、それを引数として
与えられたブロックを実行します。
ブロックが与えられなかった場合は、自身から生成した
Enumerator オブジェクトを返します。
テキスト読み込みメソッドとして動作します。
limit で最大読み込みバイト数を指定します。ただしマルチバイト文字が途中で
切れないように余分に読み込む場合があります。
@param rs 行の区切りを文字列で指定します。rs に nil を指定すると行区切りなしとみなします。
空文字列 "" を指定すると連続する改行を行の区切りとみなします(パラグラフモード)... -
IO
# each(rs , limit , chomp: false) -> Enumerator (27211.0) -
IO の現在位置から 1 行ずつ文字列として読み込み、それを引数として 与えられたブロックを実行します。
IO の現在位置から 1 行ずつ文字列として読み込み、それを引数として
与えられたブロックを実行します。
ブロックが与えられなかった場合は、自身から生成した
Enumerator オブジェクトを返します。
テキスト読み込みメソッドとして動作します。
limit で最大読み込みバイト数を指定します。ただしマルチバイト文字が途中で
切れないように余分に読み込む場合があります。
@param rs 行の区切りを文字列で指定します。rs に nil を指定すると行区切りなしとみなします。
空文字列 "" を指定すると連続する改行を行の区切りとみなします(パラグラフモード)...