別のキーワード
ライブラリ
- ビルトイン (214)
- bigdecimal (2)
-
bigdecimal
/ util (1) -
cgi
/ core (18) -
cgi
/ html (45) -
cgi
/ session (5) - continuation (1)
- csv (12)
- date (6)
- e2mmap (6)
- etc (1)
- expect (2)
- fiddle (3)
-
fiddle
/ import (4) - getoptlong (2)
-
io
/ console (3) -
io
/ wait (5) -
irb
/ context (1) -
irb
/ input-method (1) - json (2)
-
json
/ add / rational (1) - logger (1)
- matrix (32)
- mkmf (3)
- monitor (6)
-
net
/ ftp (2) -
net
/ http (1) -
net
/ imap (13) -
net
/ pop (9) - open-uri (2)
- openssl (58)
- optparse (46)
- pathname (7)
- prime (4)
- pstore (1)
- psych (6)
- rake (32)
-
rake
/ loaders / makefile (1) -
rake
/ packagetask (2) -
rake
/ rdoctask (1) -
rdoc
/ code _ object (1) -
rdoc
/ context (2) -
rdoc
/ generator / darkfish (1) -
rdoc
/ generator / ri (1) -
rdoc
/ markdown (3) -
rdoc
/ parser / c (1) -
rdoc
/ top _ level (1) - rexml (4)
-
rexml
/ document (26) -
rexml
/ parsers / pullparser (2) -
rexml
/ sax2listener (4) -
rexml
/ streamlistener (3) - rss (21)
- rubygems (6)
-
rubygems
/ command (4) -
rubygems
/ commands / unpack _ command (1) -
rubygems
/ dependency _ installer (2) -
rubygems
/ dependency _ list (3) -
rubygems
/ gem _ path _ searcher (2) -
rubygems
/ indexer (1) -
rubygems
/ installer (4) -
rubygems
/ old _ format (1) -
rubygems
/ package / tar _ input (2) -
rubygems
/ package / tar _ output (1) -
rubygems
/ package / tar _ writer (7) -
rubygems
/ platform (2) -
rubygems
/ remote _ fetcher (1) -
rubygems
/ requirement (1) -
rubygems
/ source _ index (4) -
rubygems
/ source _ info _ cache (1) -
rubygems
/ spec _ fetcher (1) -
rubygems
/ specification (50) -
rubygems
/ uninstaller (1) -
rubygems
/ user _ interaction (14) -
rubygems
/ version (4) -
rubygems
/ version _ option (1) - scanf (2)
- shell (5)
-
shell
/ builtin-command (1) -
shell
/ command-processor (14) -
shell
/ filter (5) -
shell
/ process-controller (2) - socket (11)
- stringio (38)
- time (2)
- timeout (1)
- uri (2)
-
webrick
/ httpresponse (1) -
webrick
/ https (1) -
webrick
/ httpservlet / abstract (1) -
webrick
/ httpservlet / filehandler (1) -
webrick
/ httpservlet / prochandler (1) -
win32
/ registry (1) - win32ole (4)
- zlib (22)
クラス
-
ARGF
. class (42) - Array (7)
- BasicSocket (3)
- BigDecimal (2)
- CGI (1)
-
CGI
:: Session (1) -
CGI
:: Session :: FileStore (2) -
CGI
:: Session :: NullStore (2) - CSV (10)
-
CSV
:: Table (2) - Class (1)
- Complex (3)
- Continuation (1)
- Date (3)
- DateTime (3)
-
Encoding
:: Converter (5) -
Encoding
:: InvalidByteSequenceError (2) - Enumerator (1)
- Exception (4)
-
Fiddle
:: Function (3) - File (4)
- Float (3)
-
Gem
:: Command (4) -
Gem
:: Commands :: UnpackCommand (1) -
Gem
:: DependencyInstaller (2) -
Gem
:: DependencyList (3) -
Gem
:: GemPathSearcher (2) -
Gem
:: Indexer (1) -
Gem
:: Installer (4) -
Gem
:: LoadError (2) -
Gem
:: OldFormat (1) -
Gem
:: Package :: TarInput (2) -
Gem
:: Package :: TarOutput (1) -
Gem
:: Package :: TarWriter (7) -
Gem
:: Platform (2) -
Gem
:: RemoteFetcher (1) -
Gem
:: Requirement (1) -
Gem
:: SourceIndex (4) -
Gem
:: SourceInfoCache (1) -
Gem
:: SpecFetcher (1) -
Gem
:: Specification (50) -
Gem
:: StreamUI (6) -
Gem
:: Uninstaller (1) -
Gem
:: Version (4) - GetoptLong (2)
- IO (69)
-
IRB
:: Context (1) -
IRB
:: StdioInputMethod (1) - Integer (3)
-
JSON
:: State (2) -
Logger
:: LogDevice (1) - Matrix (12)
-
Matrix
:: EigenvalueDecomposition (10) -
Matrix
:: LUPDecomposition (10) - Method (1)
- Module (2)
-
MonitorMixin
:: ConditionVariable (5) -
Net
:: FTP (2) -
Net
:: HTTP (1) -
Net
:: IMAP (1) -
Net
:: IMAP :: BodyTypeBasic (3) -
Net
:: IMAP :: BodyTypeMessage (3) -
Net
:: IMAP :: BodyTypeMultipart (2) -
Net
:: IMAP :: BodyTypeText (3) -
Net
:: IMAP :: ContentDisposition (1) -
Net
:: POPMail (9) - NilClass (3)
- Numeric (1)
- Object (3)
-
OpenSSL
:: Config (4) -
OpenSSL
:: OCSP :: BasicResponse (1) -
OpenSSL
:: SSL :: SSLContext (8) -
OpenSSL
:: SSL :: SSLSocket (3) -
OpenSSL
:: X509 :: CRL (1) -
OpenSSL
:: X509 :: Certificate (5) -
OpenSSL
:: X509 :: Extension (6) -
OpenSSL
:: X509 :: ExtensionFactory (16) -
OpenSSL
:: X509 :: Revoked (1) - OptionParser (37)
-
OptionParser
:: ParseError (1) - PStore (1)
- Pathname (7)
- Prime (1)
-
Prime
:: TrialDivisionGenerator (3) - Proc (1)
-
Psych
:: Emitter (1) -
Psych
:: Handler (1) -
Psych
:: Nodes :: Node (2) -
RDoc
:: CodeObject (1) -
RDoc
:: Context (2) -
RDoc
:: Generator :: Darkfish (1) -
RDoc
:: Generator :: RI (1) -
RDoc
:: Markdown (3) -
RDoc
:: Options (38) -
RDoc
:: Parser :: C (1) -
RDoc
:: TopLevel (1) -
REXML
:: AttlistDecl (1) -
REXML
:: Attribute (1) -
REXML
:: Child (1) -
REXML
:: Declaration (2) -
REXML
:: DocType (3) -
REXML
:: Document (2) -
REXML
:: Element (2) -
REXML
:: ExternalEntity (1) -
REXML
:: Formatters :: Default (1) -
REXML
:: Instruction (3) -
REXML
:: NotationDecl (7) -
REXML
:: ParseException (4) -
REXML
:: Parsers :: PullEvent (2) -
REXML
:: XMLDecl (2) -
RSS
:: Maker :: ChannelBase (2) -
RSS
:: RDF :: Channel (2) -
RSS
:: Rss :: Channel (2) -
RSS
:: Rss :: Channel :: Image (2) -
RSS
:: Rss :: Channel :: Item (2) -
RSS
:: Rss :: Channel :: TextInput (2) -
Rake
:: Application (11) -
Rake
:: FileCreationTask (2) -
Rake
:: FileList (8) -
Rake
:: FileTask (1) -
Rake
:: InvocationChain (1) -
Rake
:: InvocationChain :: EmptyInvocationChain (1) -
Rake
:: MakefileLoader (1) -
Rake
:: PackageTask (2) -
Rake
:: RDocTask (1) -
Rake
:: Task (3) - Rational (32)
-
RubyVM
:: InstructionSequence (6) - Shell (5)
-
Shell
:: AppendIO (1) -
Shell
:: CommandProcessor (14) -
Shell
:: Filter (5) -
Shell
:: ProcessController (2) - SignalException (2)
- Socket (2)
-
Socket
:: AncillaryData (1) -
Socket
:: Option (2) - StopIteration (1)
- String (7)
- StringIO (38)
- Symbol (4)
- Thread (5)
-
Thread
:: Backtrace :: Location (7) -
Thread
:: ConditionVariable (3) - Time (4)
- UDPSocket (1)
- UNIXServer (1)
- UNIXSocket (1)
-
URI
:: LDAP (2) - UnboundMethod (1)
-
WEBrick
:: Cookie (1) -
WEBrick
:: HTTPRequest (1) -
WEBrick
:: HTTPResponse (1) -
WEBrick
:: HTTPServlet :: AbstractServlet (1) -
WEBrick
:: HTTPServlet :: FileHandler (1) -
WEBrick
:: HTTPServlet :: ProcHandler (1) -
WIN32OLE
_ PARAM (1) -
WIN32OLE
_ TYPE (1) -
WIN32OLE
_ TYPELIB (2) -
Win32
:: Registry (1) -
Zlib
:: Deflate (1) -
Zlib
:: GzipFile (2) -
Zlib
:: GzipReader (17) -
Zlib
:: GzipWriter (1) -
Zlib
:: Inflate (1)
モジュール
-
CGI
:: HtmlExtension (45) -
CGI
:: QueryExtension (11) -
CGI
:: QueryExtension :: Value (6) - DublinCoreModel (3)
- Enumerable (5)
- Exception2MessageMapper (6)
-
Fiddle
:: Importer (4) -
Gem
:: DefaultUserInteraction (3) -
Gem
:: InstallUpdateOptions (2) -
Gem
:: LocalRemoteOptions (9) -
Gem
:: QuickLoader (3) -
Gem
:: UserInteraction (5) -
Gem
:: VersionOption (1) - Kernel (8)
- MonitorMixin (1)
-
OpenSSL
:: Buffering (12) -
OpenSSL
:: SSL :: SocketForwarder (1) -
OpenURI
:: OpenRead (2) -
OptionParser
:: Arguable (8) -
REXML
:: SAX2Listener (4) -
REXML
:: StreamListener (3) -
RSS
:: SyndicationModel (6) -
Rake
:: TaskManager (3)
キーワード
- * (1)
- ** (1)
- + (1)
- - (2)
- -@ (1)
-
/ (1) - << (1)
- <=> (1)
- == (1)
- Fail (1)
- Raise (1)
- [] (2)
- []= (1)
- abi (1)
-
abort
_ on _ exception (1) - abs (1)
-
absolute
_ path (2) - accept (1)
-
accept
_ language (1) -
accept
_ nonblock (2) -
accept
_ uri _ http (1) -
add
_ bindir (1) -
add
_ bulk _ threshold _ option (1) -
add
_ class _ or _ module (2) -
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
_ proxy _ option (1) -
add
_ runtime _ dependency (1) -
add
_ source _ option (1) -
add
_ update _ sources _ option (1) -
add
_ value (1) - advise (1)
- ajd (1)
- alert (2)
-
alert
_ error (2) -
alert
_ warning (2) - all (3)
-
all
_ one _ file (1) - amjd (1)
- append (3)
- application (1)
- application= (1)
- ask (1)
-
ask
_ yes _ no (2) -
assign
_ defaults (1) - atime (4)
- autoclose= (1)
- autoclose? (1)
- autorequire= (1)
-
backtrace
_ locations (3) - base (1)
-
base
_ label (2) - bind (2)
- binmode (1)
- binmode? (1)
- binread (1)
- binwrite (1)
- blockdev? (1)
- body= (1)
- both? (1)
- broadcast (2)
-
build
_ extensions (1) - bytes (1)
-
cache
_ control (1) -
calculate
_ integers _ for _ gem _ version (1) - call (2)
- capitalize (2)
- capitalize! (1)
- cause (1)
- ceil (1)
- chardev? (3)
- chars (2)
-
check
_ closed (1) - checkbox (2)
-
checkbox
_ group (2) -
choose
_ from _ list (2) - chunk (1)
-
clear
_ actions (1) - close (2)
-
close
_ read (3) - closed? (1)
-
closed
_ read? (1) - coerce (1)
- cofactor (1)
-
cofactor
_ expansion (1) - combination (1)
- compress (1)
- config (1)
- config= (1)
- configure (1)
-
connect
_ nonblock (1) - content= (1)
- context (1)
- convert (1)
-
coverage
_ report (1) -
coverage
_ report= (1) - create (1)
-
create
_ body (1) -
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)
- crl= (1)
- ctime (3)
- d (1)
-
dc
_ relation (1) -
dc
_ relation= (1) -
dc
_ relations (1) -
def
_ exception (1) -
default
_ argv (1) -
default
_ argv= (1) -
default
_ executable (1) -
default
_ executable= (1) -
definition
_ lists (1) -
definition
_ lists= (1) - denominator (1)
-
dependency
_ order (1) - description (9)
- description= (6)
-
destination
_ encoding (1) -
destination
_ encoding _ name (1) - det (1)
-
det
_ e (1) - determinant (1)
-
determinant
_ e (1) -
development
_ dependencies (1) - diagram (1)
- directory? (1)
- disassemble (1)
- display (1)
- disposition (4)
-
do
_ OPTIONS (2) - downcase (1)
- downcase! (1)
-
dry
_ run= (1) - each (16)
-
each
_ byte (7) -
each
_ char (4) -
each
_ codepoint (2) -
each
_ line (17) -
each
_ option (1) - echo= (1)
- egrep (1)
- eigen (1)
- eigensystem (1)
-
eigenvalue
_ matrix (1) - eigenvalues (1)
-
eigenvector
_ matrix (1) -
eigenvector
_ matrix _ inv (1) - eigenvectors (1)
- email (1)
- email= (1)
- encoding= (1)
- eof (2)
- eof? (2)
- eval (1)
- exclude= (1)
-
excluded
_ from _ list? (1) - executable (1)
- executable= (1)
- executables (1)
- executables= (1)
- exist? (1)
- existing (1)
- existing! (1)
- exists? (1)
- expect (2)
- ext (1)
- extension (5)
- extensions (2)
- extensions= (2)
- extern (1)
-
external
_ encoding (4) -
extra
_ accessor _ flags (1) -
extra
_ accessors (1) -
extra
_ rdoc _ files (1) -
extra
_ rdoc _ files= (1) - fail (1)
- family (1)
- fcntl (3)
- fdiv (1)
- file (1)
- file? (1)
-
file
_ create (1) -
file
_ field (2) -
file
_ name (1) - files (2)
- files= (1)
- find (1)
-
find
_ all (1) -
find
_ name (2) -
find
_ spec _ by _ name _ and _ version (1) - first (1)
- flock (2)
- floor (1)
- flush (1)
-
force
_ output= (1) -
force
_ update (1) - form (4)
- formatter (1)
- formatter= (1)
-
full
_ gem _ path (1) -
full
_ name (1) - gem (1)
- generator= (1)
-
get
_ instance (1) -
get
_ one _ optional _ argument (1) -
get
_ path (1) -
get
_ value (1) - getbyte (1)
- getc (2)
- getopts (1)
- gets (8)
- getsockopt (1)
- grpowned? (1)
- gsub! (1)
-
has
_ key? (1) -
has
_ rdoc (1) -
has
_ rdoc= (1) -
has
_ rdoc? (1) -
has
_ test _ suite? (1) -
has
_ unit _ tests? (1) - hash (1)
- header (1)
- help (1)
- hidden (2)
- html (2)
-
hyperlink
_ all (1) -
hyperlink
_ all= (1) - img (2)
- import (1)
- include? (1)
- indentation= (1)
- init (1)
- initialize (2)
- input= (1)
- inspect (2)
- install (2)
-
install
_ update _ defaults _ str (1) -
installation
_ path (1) -
installation
_ satisfies _ dependency? (1) - instruction (1)
- instruction? (1)
- instructions (1)
-
internal
_ encoding (4) - io= (1)
- ioctl (2)
- isatty (3)
- iso8601 (1)
-
issuer
_ certificate (1) -
issuer
_ certificate= (1) - key? (1)
- label (2)
-
laplace
_ expansion (1) - last (1)
-
last
_ description (1) -
last
_ description= (1) -
last
_ error (1) -
lib
_ files (1) - line (1)
-
line
_ numbers= (1) - lineno (2)
- lineno= (1)
- lines (5)
- load (2)
-
load
_ gemspec (1) -
load
_ rakefile (1) - loaded= (1)
- loaded? (1)
-
loaded
_ from (1) -
loaded
_ from= (1) - local? (1)
- lstat (1)
- lup (1)
-
lup
_ decomposition (1) - magnitude (1)
- mail (3)
-
main
_ page (1) -
main
_ page= (1) -
major
_ version (2) - markup= (1)
-
marshal
_ dump (2) -
marshal
_ load (1) - member? (2)
- merge (1)
- mkdir (1)
-
module
_ function (1) - mtime (3)
- multipart? (1)
-
multipart
_ form (4) - name (3)
- needed? (2)
- negative? (1)
-
new
_ cond (1) - next (1)
-
next
_ values (1) - normalize (1)
- notation (1)
- notationdecl (2)
- notationdecl? (1)
- notations (1)
- numerator (1)
- offset (1)
- on (12)
-
on
_ head (1) -
on
_ tail (1) -
op
_ dir= (1) - open (2)
-
open
_ uri _ or _ path (1) -
option
_ list (1) -
option
_ parser (1) -
option
_ parser= (1) - optional? (1)
- order (4)
- order! (4)
-
original
_ dir (1) -
original
_ name (1) -
original
_ platform (1) -
original
_ platform= (1) - out (1)
- owned? (1)
- p (1)
- pack (2)
-
package
_ files (1) -
package
_ files= (1) -
page
_ dir (1) -
page
_ dir= (1) - param (1)
- parse (3)
- parse! (2)
- partition (2)
-
password
_ field (2) - path (2)
-
path
_ translated (1) - pathconf (1)
- permutation (2)
- permutation? (1)
- permute (2)
- permute! (2)
- pipe= (1)
- pipe? (1)
- pivots (1)
- platform (1)
- platform= (1)
- pop (3)
- pos (1)
- pos= (1)
- position (1)
- positive? (1)
-
post
_ connection _ check (1) - pread (1)
- prerelease? (1)
-
previous
_ sibling= (1) -
prime
_ division (1) -
primitive
_ convert (4) - print (4)
- printf (4)
- priority= (1)
-
processing
_ instruction (1) - progress (1)
- progress= (1)
-
psych
_ to _ yaml (1) - public (1)
- public= (1)
-
push
_ all _ highest _ version _ gems _ on _ load _ path (1) -
push
_ gem _ version _ on _ load _ path (1) - puts (2)
- quo (2)
-
radio
_ group (2) -
rake
_ extension (1) - rakefile (1)
- rationalize (9)
- raw (1)
- raw! (1)
- read (7)
-
read
_ nonblock (4) -
readable
_ atfer _ eof? (1) - readchar (2)
- readline (7)
- readlines (10)
- readpartial (7)
- ready? (1)
-
record
_ location (1) -
recv
_ io (1) -
recvfrom
_ nonblock (2) - recvmsg (1)
- reject (1)
- release (2)
- release= (1)
- remote? (1)
-
remove
_ by _ name (1) -
remove
_ spec (1) -
renegotiation
_ cb (1) -
renegotiation
_ cb= (1) - reopen (3)
-
repeated
_ combination (1) -
repeated
_ permutation (1) -
report
_ on _ exception (1) - reset (2)
- resolve (1)
- restore (2)
- result (1)
- rewind (2)
- root= (1)
- round (1)
- run (1)
-
satisfied
_ by? (1) -
satisfies
_ requirement? (1) -
save
_ exception _ mode (1) - scanf (2)
-
scrolling
_ list (2) - search (2)
-
sec
_ fraction (1) -
second
_ fraction (1) - section= (1)
- seek (1)
- sendmsg (1)
-
session
_ add (1) -
session
_ cache _ mode (1) -
session
_ cache _ mode= (1) -
session
_ cache _ size (1) -
session
_ cache _ size= (1) -
session
_ cache _ stats (1) -
set
_ backtrace (1) -
set
_ dictionary (2) -
set
_ encoding (6) -
set
_ option (1) -
set
_ params (1) - sfork (1)
-
show
_ all (1) -
show
_ all= (1) -
show
_ hash (1) -
show
_ lookup _ failure (1) - signal (2)
- signm (1)
- signo (1)
- singular? (1)
-
slice
_ before (2) - solve (1)
-
source
_ location (3) - spec (3)
- specification (1)
-
start
_ document (1) - starttls (1)
- stat (2)
-
static
_ path= (1) - status (1)
- storbinary (2)
-
subject
_ certificate (1) -
subject
_ certificate= (1) -
subject
_ request (1) -
subject
_ request= (1) - submit (2)
- subsec (1)
- succ (1)
- summarize (2)
- superclass (1)
- swapcase (1)
- swapcase! (1)
-
sy
_ updateBase (1) -
sy
_ updateBase= (1) -
sy
_ updateFrequency (1) -
sy
_ updateFrequency= (1) -
sy
_ updatePeriod (1) -
sy
_ updatePeriod= (1) - sync= (1)
-
synthesize
_ file _ task (1) - sysread (5)
- system (1)
- system= (1)
- target (1)
- target= (1)
- tell (1)
- template (1)
-
template
_ dir (1) -
template
_ dir= (1) -
test
_ file (1) -
test
_ file= (1) -
test
_ files (1) -
test
_ files= (1) -
test
_ suite _ file (1) -
test
_ suite _ file= (1) -
text
_ field (2) - textarea (2)
- timeout (1)
-
to
_ a (7) -
to
_ ary (3) -
to
_ binary (1) -
to
_ csv (1) -
to
_ d (1) -
to
_ f (1) -
to
_ h (1) -
to
_ i (1) -
to
_ io (1) -
to
_ json (1) -
to
_ r (8) -
to
_ s (7) -
to
_ write _ io (1) -
to
_ yaml (2) -
top
_ level (1) -
top
_ level _ tasks (1) - tr (1)
- trace (1)
- transaction (1)
- truncate (3)
- tty? (3)
-
tty
_ output= (1) - u (1)
- ui (1)
- ui= (1)
-
unescape
_ filename? (1) - ungetbyte (1)
- ungetc (4)
- union (1)
-
unix
_ rights (1) - unpack (2)
- upcase (1)
- upcase! (1)
- update (2)
-
use
_ ui (1) - v (1)
-
v
_ inv (1) - validate (1)
- value (2)
- value= (1)
- verbosity= (1)
- version (3)
- version= (4)
-
version
_ requirement (1) -
version
_ requirement= (1) - visibility (1)
- visibility= (1)
- wait (3)
-
wait
_ all _ jobs _ execution (1) -
wait
_ readable (1) -
wait
_ until (1) -
wait
_ while (1) -
wait
_ writable (2) - warn (1)
-
warn
_ legacy (1) - write (13)
-
write
_ nonblock (1) - xmldecl (3)
- xmlschema (1)
- xpopen (2)
- yaml (1)
-
yaml
_ initialize (1)
検索結果
先頭5件
-
StringIO
# readline(rs = $ / ) -> String (45694.0) -
自身から 1 行読み込んで、その文字列を返します。
自身から 1 行読み込んで、その文字列を返します。
文字列の終端に到達した時には、例外 EOFError を発生させます。
IO#readline と違い読み込んだ文字列を変数 $_ にセットしません。
@param rs 行の区切りを文字列で指定します。rs に nil を指定すると行区切りなしとみなします。空文字列 "" を指定すると連続する改行を行の区切りとみなします(パラグラフモード)。
@raise EOFError 文字列の終端に到達した時に発生します。
@raise IOError 自身が読み込み用にオープンされていなければ発生します。
//emlist[例][rub... -
OpenSSL
:: SSL :: SSLSocket # accept _ nonblock -> self (45676.0) -
ノンブロッキング方式で TLS/SSL 通信をサーバモードとして開始し、 クライアントとのハンドシェイクを実行します。
ノンブロッキング方式で
TLS/SSL 通信をサーバモードとして開始し、
クライアントとのハンドシェイクを実行します。
IO が読み込み待ち、もしくは書き込み待ちになった場合は例外を
発生させ、ハンドシェイクを中断します。IO が読み込み/書き込み
可能状態になってからこのメソッドをもう一度呼ぶと
ハンドシェイクを再開します。
@raise OpenSSL::SSL::SSLError ハンドシェイクに失敗した(VERIFY_PEER で
証明書の検証に失敗した場合や、プロトコル合意に失敗したなど)
場合に発生します
(実際は OpenSSL::S... -
ARGF
. class # readpartial(maxlen , outbuf = nil) -> String (45670.0) -
IO#readpartialを参照。ARGF.class#read などとは違って複数ファ イルを同時に読み込むことはありません。
IO#readpartialを参照。ARGF.class#read などとは違って複数ファ
イルを同時に読み込むことはありません。
@param maxlen 読み込む長さの上限を整数で指定します。
@param outbuf 読み込んだデータを格納する String オブジェクトを指定します。
@see IO#readpartial, ARGF.class#read_nonblock -
StringIO
# readlines(rs = $ / ) -> [String] (45658.0) -
自身からデータを全て読み込んで、その各行を要素としてもつ配列を返します。 既に文字列の終端に達していれば空配列 [] を返します。
自身からデータを全て読み込んで、その各行を要素としてもつ配列を返します。
既に文字列の終端に達していれば空配列 [] を返します。
@param rs 行の区切りを文字列で指定します。rs に nil を指定すると行区切りなしとみなします。空文字列 "" を指定すると連続する改行を行の区切りとみなします(パラグラフモード)。
@raise IOError 自身が読み込み用にオープンされていなければ発生します。
//emlist[例][ruby]{
require "stringio"
a = StringIO.new("hoge\nfoo\nbar\n")
a.readlines ... -
Fiddle
:: Function # call(*args) -> Integer|DL :: CPtr|nil (45622.0) -
関数を呼び出します。
関数を呼び出します。
Fiddle::Function.new で指定した引数と返り値の型に基いて
Ruby のオブジェクトを適切に C のデータに変換して C の関数を呼び出し、
その返り値を Ruby のオブジェクトに変換して返します。
引数の変換は以下の通りです。
: void* (つまり任意のポインタ型)
nil ならば C の NULL に変換されます
Fiddle::Pointer は保持している C ポインタに変換されます。
文字列であればその先頭ポインタになります。
IO オブジェクトであれば FILE* が渡されます。
整数であればそれがアドレスとみ... -
Gem
:: Version # prerelease? -> bool (45622.0) -
self がプレリリースと思われる文字を含むバージョンかどうかを返します。
self がプレリリースと思われる文字を含むバージョンかどうかを返します。
//emlist[例][ruby]{
Gem::Version.new('1.2.0a').prerelease? # => true
Gem::Version.new('1.2.0').prerelease? # => false
//}
@see Gem::Version#release -
StringIO
# readpartial -> String (45622.0) -
自身から len バイト読み込んで返します。 StringIO#read と同じです。ただし、文字列の終端に達した場合、EOFError を投げます。
自身から len バイト読み込んで返します。
StringIO#read と同じです。ただし、文字列の終端に達した場合、EOFError を投げます。
@param len 読み込みたい長さを整数で指定します。StringIO#read と同じです。
@param outbuf 読み込んだ文字列を出力するバッファを文字列で指定します。指定した文字列オブジェクトが
あらかじめ length 長の領域であれば、余計なメモリの割当てが行われません。指定した文字列の
長さが length と異なる場合、その文字列は一旦 length 長に拡... -
StringIO
# readpartial(len) -> String (45622.0) -
自身から len バイト読み込んで返します。 StringIO#read と同じです。ただし、文字列の終端に達した場合、EOFError を投げます。
自身から len バイト読み込んで返します。
StringIO#read と同じです。ただし、文字列の終端に達した場合、EOFError を投げます。
@param len 読み込みたい長さを整数で指定します。StringIO#read と同じです。
@param outbuf 読み込んだ文字列を出力するバッファを文字列で指定します。指定した文字列オブジェクトが
あらかじめ length 長の領域であれば、余計なメモリの割当てが行われません。指定した文字列の
長さが length と異なる場合、その文字列は一旦 length 長に拡... -
StringIO
# readpartial(len , outbuf) -> String (45622.0) -
自身から len バイト読み込んで返します。 StringIO#read と同じです。ただし、文字列の終端に達した場合、EOFError を投げます。
自身から len バイト読み込んで返します。
StringIO#read と同じです。ただし、文字列の終端に達した場合、EOFError を投げます。
@param len 読み込みたい長さを整数で指定します。StringIO#read と同じです。
@param outbuf 読み込んだ文字列を出力するバッファを文字列で指定します。指定した文字列オブジェクトが
あらかじめ length 長の領域であれば、余計なメモリの割当てが行われません。指定した文字列の
長さが length と異なる場合、その文字列は一旦 length 長に拡... -
Thread
:: Backtrace :: Location # label -> String (45622.0) -
self が表すフレームのラベルを返します。通常、メソッド名、クラス名、モ ジュール名などで構成されます。
self が表すフレームのラベルを返します。通常、メソッド名、クラス名、モ
ジュール名などで構成されます。
例: Thread::Backtrace::Location の例1を用いた例
//emlist[][ruby]{
loc = c(0..1).first
loc.label # => "a"
//}
@see Thread::Backtrace::Location#base_label -
BigDecimal
# save _ exception _ mode { . . . } -> object (45604.0) -
例外処理に関する BigDecimal.mode の設定を保存してブロックを評価し ます。ブロック中で変更した設定はブロックの評価後に復元されます。
例外処理に関する BigDecimal.mode の設定を保存してブロックを評価し
ます。ブロック中で変更した設定はブロックの評価後に復元されます。
ブロックの評価結果を返します。 -
CGI
:: HtmlExtension # multipart _ form(attributes) -> String (45604.0) -
enctype 属性に "multipart/form-data" をセットした form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
enctype 属性に "multipart/form-data" をセットした form 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param attributes 属性をハッシュで指定します。
例:
multipart_form("url"){ "string" }
# <FORM METHOD="post" ACTION="url" ENCTYPE="multipart/form-data">string</FORM> -
CGI
:: HtmlExtension # multipart _ form(attributes) { . . . } -> String (45604.0) -
enctype 属性に "multipart/form-data" をセットした form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
enctype 属性に "multipart/form-data" をセットした form 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param attributes 属性をハッシュで指定します。
例:
multipart_form("url"){ "string" }
# <FORM METHOD="post" ACTION="url" ENCTYPE="multipart/form-data">string</FORM> -
CGI
:: HtmlExtension # password _ field(attributes) -> String (45604.0) -
タイプが password である input 要素を生成します。
タイプが password である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
password_field({ "NAME" => "name", "VALUE" => "value" })
# <INPUT TYPE="password" NAME="name" VALUE="value"> -
CGI
:: HtmlExtension # password _ field(name = "" , value = nil , size = 40 , maxlength = nil) -> String (45604.0) -
タイプが password である input 要素を生成します。
タイプが password である input 要素を生成します。
@param name name 属性の値を指定します。
@param value 属性の値を指定します。
@param size size 属性の値を指定します。
@param maxlength maxlength 属性の値を指定します。
例:
password_field("name")
# <INPUT TYPE="password" NAME="name" SIZE="40">
password_field("name", "value")
# <INPUT TYPE="passw... -
CGI
:: QueryExtension # accept _ language -> String (45604.0) -
ENV['HTTP_ACCEPT_LANGUAGE'] を返します。
ENV['HTTP_ACCEPT_LANGUAGE'] を返します。 -
CGI
:: QueryExtension # cache _ control -> String (45604.0) -
ENV['HTTP_CACHE_CONTROL'] を返します。
ENV['HTTP_CACHE_CONTROL'] を返します。 -
CGI
:: QueryExtension # multipart? -> bool (45604.0) -
マルチパートフォームの場合は、真を返します。 そうでない場合は、偽を返します。
マルチパートフォームの場合は、真を返します。
そうでない場合は、偽を返します。
例:
cgi = CGI.new
if cgi.multipart?
field1=cgi['field1'].read
else
field1=cgi['field1']
end -
CGI
:: QueryExtension # unescape _ filename? -> bool (45604.0) -
-
CGI
:: QueryExtension :: Value # last -> self (45604.0) -
@todo
@todo -
Encoding
:: InvalidByteSequenceError # destination _ encoding -> Encoding (45604.0) -
エラーを発生させた変換の変換先のエンコーディングを Encoding オブジェクトで返します。
エラーを発生させた変換の変換先のエンコーディングを Encoding
オブジェクトで返します。
@see Encoding::InvalidByteSequenceError#source_encoding,
Encoding::UndefinedConversionError#destination_encoding -
Encoding
:: InvalidByteSequenceError # destination _ encoding _ name -> String (45604.0) -
エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
@see Encoding::InvalidByteSequenceError#destination_encoding -
Enumerable
# partition -> Enumerator (45604.0) -
各要素を、ブロックの条件を満たす要素と満たさない要素に分割します。 各要素に対してブロックを評価して、その値が真であった要素の配列と、 偽であった要素の配列の 2 つを配列に入れて返します。
各要素を、ブロックの条件を満たす要素と満たさない要素に分割します。
各要素に対してブロックを評価して、その値が真であった要素の配列と、
偽であった要素の配列の 2 つを配列に入れて返します。
ブロックを省略した場合は Enumerator を返します。
//emlist[例][ruby]{
[10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0].partition {|i| i % 3 == 0 }
#=> [[9, 6, 3, 0], [10, 8, 7, 5, 4, 2, 1]]
//} -
Enumerable
# partition {|item| . . . } -> [[object] , [object]] (45604.0) -
各要素を、ブロックの条件を満たす要素と満たさない要素に分割します。 各要素に対してブロックを評価して、その値が真であった要素の配列と、 偽であった要素の配列の 2 つを配列に入れて返します。
各要素を、ブロックの条件を満たす要素と満たさない要素に分割します。
各要素に対してブロックを評価して、その値が真であった要素の配列と、
偽であった要素の配列の 2 つを配列に入れて返します。
ブロックを省略した場合は Enumerator を返します。
//emlist[例][ruby]{
[10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0].partition {|i| i % 3 == 0 }
#=> [[9, 6, 3, 0], [10, 8, 7, 5, 4, 2, 1]]
//} -
Exception
# full _ message(highlight: true , order: :bottom) -> String (45604.0) -
例外の整形された文字列を返します。
例外の整形された文字列を返します。
返される文字列は Ruby が捕捉されなかった例外を標準エラー出力に出力するときと
同じ形式です。
そのため、メソッド呼び出し時に $stderr が変更されておらず、$stderr.tty? が真の場合は
エスケープシーケンスによる文字装飾がついています。
[注意] このメソッドは実験的な機能として提供されています。仕様が変更に
なる可能性があります。
そして実際に、キーワード引数 highlight と order は 2.5.1 で追加されました。
@param highlight エスケープシーケンスによる文字装飾をつけるかどうかを指定します。... -
Gem
:: Installer # build _ extensions (45604.0) -
拡張ライブラリをビルドします。
拡張ライブラリをビルドします。
拡張ライブラリをビルドするためのファイルタイプとして有効であるのは、
extconf.rb, configure script, Rakefile, mkmf_files です。 -
Gem
:: Specification # add _ development _ dependency(gem , *requirements) -> [Gem :: Dependency] (45604.0) -
この gem の DEVELOPMENT 依存性を追加します。 この gem の開発時に必要となる gem を指定します。
この gem の DEVELOPMENT 依存性を追加します。
この gem の開発時に必要となる gem を指定します。
//emlist[][ruby]{
gem "rack", "~> 1.6", ">= 1.6.12"
//}
@param gem 依存する gem の名前か Gem::Dependency のインスタンスを指定します。
@param requirements バージョンの必要条件を 0 個以上指定します。デフォルトは ">= 0" です。
@see Gem::Specification#add_runtime_dependency, Gem::Depende... -
Gem
:: Specification # assign _ defaults -> () (45604.0) -
全ての属性にデフォルト値をセットします。
全ての属性にデフォルト値をセットします。
これはアクセサメソッドを使用して行われるので、ブロックを用いた特別な初期化も
きちんと実行されます。セットされる値はデフォルト値のコピーです。 -
Gem
:: Specification # default _ executable -> String | nil (45604.0) -
Gem パッケージ内で gem コマンド経由で実行するファイルを返します。
Gem パッケージ内で gem コマンド経由で実行するファイルを返します。 -
Gem
:: Specification # default _ executable=(executable) (45604.0) -
Gem パッケージ内で gem コマンド経由で実行するファイルをセットします。
Gem パッケージ内で gem コマンド経由で実行するファイルをセットします。
@param executable 実行ファイルを指定します。 -
Gem
:: Specification # email -> String (45604.0) -
メールアドレスを返します。
メールアドレスを返します。 -
Gem
:: Specification # executable -> String (45604.0) -
実行可能ファイル名を返します。
実行可能ファイル名を返します。 -
Gem
:: Specification # executables -> [String] (45604.0) -
実行可能ファイル名のリストを返します。
実行可能ファイル名のリストを返します。 -
Gem
:: Specification # extra _ rdoc _ files -> [String] (45604.0) -
RDoc でドキュメントを作成する際に使用する特別なファイルのリストを返します。
RDoc でドキュメントを作成する際に使用する特別なファイルのリストを返します。 -
Gem
:: Specification # extra _ rdoc _ files=(paths) (45604.0) -
RDoc でドキュメントを作成する際に使用する特別なファイルのリストをセットします。
RDoc でドキュメントを作成する際に使用する特別なファイルのリストをセットします。
@param paths RDoc でドキュメントを作成する際に使用する特別なファイルのリストを指定します。 -
Gem
:: Specification # file _ name -> String (45604.0) -
生成される Gem パッケージの名前を返します。
生成される Gem パッケージの名前を返します。 -
Gem
:: Specification # full _ name -> String (45604.0) -
この Gem パッケージのバージョンを含む完全な名前 (name-version) を返します。
この Gem パッケージのバージョンを含む完全な名前 (name-version) を返します。
プラットフォームの情報が指定されている場合は、それも含みます (name-version-platform)。 -
Gem
:: Specification # loaded=(flag) (45604.0) -
この Gem パッケージの gemspec が既にロードされているかどうかをセットします。
この Gem パッケージの gemspec が既にロードされているかどうかをセットします。
この属性は永続化しません。
@param flag 既にロードされている場合は真を指定します。 -
Gem
:: Specification # loaded? -> bool (45604.0) -
この Gem パッケージの gemspec が既にロードされているかどうかを返します。
この Gem パッケージの gemspec が既にロードされているかどうかを返します。
既にロードされている場合は真を返します。そうでない場合は偽を返します。 -
Gem
:: Specification # loaded _ from -> String (45604.0) -
この Gem パッケージの gemspec がある場所を返します。
この Gem パッケージの gemspec がある場所を返します。
この属性は永続化されません。 -
Gem
:: Specification # loaded _ from=(path) (45604.0) -
この Gem パッケージの gemspec がある場所をセットします。
この Gem パッケージの gemspec がある場所をセットします。
@param path この Gem パッケージの gemspec がある場所を指定します。 -
Gem
:: Specification # normalize -> [String] (45604.0) -
この Gem パッケージの含まれるファイルリストから重複を取り除きます。
この Gem パッケージの含まれるファイルリストから重複を取り除きます。 -
Gem
:: Specification # original _ name -> String (45604.0) -
このメソッドは後方互換性のために残されています。
このメソッドは後方互換性のために残されています。
@see Gem::Specification#full_name -
Gem
:: Specification # post _ install _ message -> String (45604.0) -
インストール完了後に表示するメッセージを返します。
インストール完了後に表示するメッセージを返します。 -
Gem
:: Specification # post _ install _ message=(message) (45604.0) -
インストール完了後に表示するメッセージをセットします。
インストール完了後に表示するメッセージをセットします。
@param message メッセージを指定します。 -
Gem
:: Specification # yaml _ initialize (45604.0) -
@todo
@todo -
Gem
:: UserInteraction # alert(*args) -> () (45604.0) -
INFO レベルのアラートを出力します。
INFO レベルのアラートを出力します。
@param args 委譲先のメソッドに与える引数です。 -
Gem
:: UserInteraction # alert _ error(*args) -> () (45604.0) -
ERROR レベルのアラートを出力します。
ERROR レベルのアラートを出力します。
@param args 委譲先のメソッドに与える引数です。 -
Gem
:: UserInteraction # alert _ warning(*args) -> () (45604.0) -
WARNING レベルのアラートを出力します。
WARNING レベルのアラートを出力します。
@param args 委譲先のメソッドに与える引数です。 -
IRB
:: StdioInputMethod # readable _ atfer _ eof? -> true (45604.0) -
入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。
入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。 -
Matrix
:: EigenvalueDecomposition # eigenvalue _ matrix -> Matrix (45604.0) -
固有値を対角成分に並べた行列を返します。
固有値を対角成分に並べた行列を返します。 -
Matrix
:: EigenvalueDecomposition # eigenvector _ matrix -> Matrix (45604.0) -
右固有ベクトルを横に並べた行列を返します。
右固有ベクトルを横に並べた行列を返します。 -
Matrix
:: EigenvalueDecomposition # eigenvector _ matrix _ inv -> Matrix (45604.0) -
左固有ベクトルを縦に並べた行列を返します。
左固有ベクトルを縦に並べた行列を返します。
これは Matrix::EigenvalueDecomposition#v の逆行列です -
Matrix
:: LUPDecomposition # singular? -> bool (45604.0) -
元の行列が正方で特異なら true を、正則なら false を返します。 LUP 分解の結果を利用して判定します。
元の行列が正方で特異なら true を、正則なら false を返します。
LUP 分解の結果を利用して判定します。
@see Matrix#singular? -
Module
# rake _ extension(method) { . . . } -> () (45604.0) -
与えられたブロック内で既に存在するメソッドを再定義しようとした場合に 警告を表示します。この場合、ブロックは評価されません。
与えられたブロック内で既に存在するメソッドを再定義しようとした場合に
警告を表示します。この場合、ブロックは評価されません。
@param method ブロック内で再定義する予定のメソッド名を指定します。
例:
class String
rake_extension("xyz") do
def xyz
...
end
end
end -
MonitorMixin
:: ConditionVariable # signal -> () (45604.0) -
その条件変数で待っているスレッドがあれば実行を再開させます。
その条件変数で待っているスレッドがあれば実行を再開させます。
複数のスレッドが待っている場合には1つのスレッドのみ
実行を再開します。
@see MonitorMixin::ConditionVariable#broadcast -
MonitorMixin
:: ConditionVariable # wait _ until { . . . } -> () (45604.0) -
モニタのロックを開放し、現在のスレッドを ブロックで指定した条件を満たすまで停止します。
モニタのロックを開放し、現在のスレッドを
ブロックで指定した条件を満たすまで停止します。
MonitorMixin::ConditionVariable#signal や
MonitorMixin::ConditionVariable#broadcast で
スレッドが起こされると、ロックを取得し、ブロックを評価し
その結果によってこのメソッドから抜け処理を継続するか
再びロックを開放しスレッドを停止するかを決めます。
@see MonitorMixin::ConditionVariable#wait -
OpenSSL
:: X509 :: Extension # critical=(bool) (45604.0) -
その拡張領域の重要度(critical)を真偽値で設定します。
その拡張領域の重要度(critical)を真偽値で設定します。
@param bool 設定する重要度の真偽値
@see OpenSSL::X509::Extension#critical? -
OpenSSL
:: X509 :: Extension # critical? -> bool (45604.0) -
その拡張領域の重要度(critical)を返します。
その拡張領域の重要度(critical)を返します。
@see OpenSSL::X509::Extension#critical= -
OpenSSL
:: X509 :: Extension # value -> String (45604.0) -
拡張領域の値(extnValue)を返します。
拡張領域の値(extnValue)を返します。
@see OpenSSL::X509::Extension#value= -
OptionParser
# on _ tail(*arg , &block) -> self (45604.0) -
オプションを取り扱うためのブロックを自身の持つリストの最後に登録します。
オプションを取り扱うためのブロックを自身の持つリストの最後に登録します。
--version や --help の説明をサマリの最後に表示したい時に便利です。
@param arg OptionParser#on と同様です。
@param block OptionParser#on と同様です。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tai... -
OptionParser
# release -> String (45604.0) -
プログラムのリリースを文字列で返します。
プログラムのリリースを文字列で返します。
//emlist[例][ruby]{
require "optparse"
OptionParser.new do |opts|
opts.release # => nil
opts.release = "2019-05-01"
opts.release # => "2019-05-01"
end
//} -
OptionParser
# release=(rel) (45604.0) -
プログラムのリリースを文字列で指定します。
プログラムのリリースを文字列で指定します。
@param rel プログラムのリリースを文字列で指定します。
@see OptionParser#ver -
OptionParser
:: ParseError # set _ option(opt , eq) -> self (45604.0) -
エラーのあったオプションを指定します。
エラーのあったオプションを指定します。
eq が真の場合、self が管理するエラーのあったオプションの一覧の先頭を
opt で置き換えます。そうでない場合は先頭に opt を追加します。
@param opt エラーのあったオプションを指定します。
@param eq self が管理するエラーのあったオプションの一覧の先頭を置き換え
るかどうかを指定します。
@return self を返します。 -
RDoc
:: Markdown # definition _ lists -> bool (45604.0) -
定義リストを解釈するかどうかを返します。
定義リストを解釈するかどうかを返します。
デフォルトでは true を返します。 -
RDoc
:: Options # all _ one _ file -> bool (45604.0) -
コマンドライン引数の --one-file を指定していた場合、もしくは --fmt オプ ションに xml 指定した場合に true を返します。そうでない場合は false を 返します。
コマンドライン引数の --one-file を指定していた場合、もしくは --fmt オプ
ションに xml 指定した場合に true を返します。そうでない場合は false を
返します。 -
RDoc
:: Options # extra _ accessor _ flags -> {String => String} (45604.0) -
コマンドライン引数の --accessor オプションで指定したアクセサがキー、ア クセサの種類が値のハッシュを返します。
コマンドライン引数の --accessor オプションで指定したアクセサがキー、ア
クセサの種類が値のハッシュを返します。
値は r、w、rw のいずれかです。それぞれ attr_reader、attr_writer、
attr_accessor に対応します。 -
RDoc
:: Options # hyperlink _ all -> bool (45604.0) -
コマンドライン引数の --hyperlink-all オプションを指定していた場合、 true を返します。
コマンドライン引数の --hyperlink-all オプションを指定していた場合、
true を返します。
指定しなかった場合は false を返します。 -
RDoc
:: Options # show _ all -> bool (45604.0) -
コマンドライン引数の --all オプションを指定していた場合、true を返しま す。そうでない場合は false を返します。
コマンドライン引数の --all オプションを指定していた場合、true を返しま
す。そうでない場合は false を返します。 -
RDoc
:: Options # template -> String (45604.0) -
コマンドライン引数の --template オプションで指定した名前を文字列の配列 で返します。
コマンドライン引数の --template オプションで指定した名前を文字列の配列
で返します。
指定しなかった場合は 'html' を返します。 -
RDoc
:: Options # template _ dir -> String | nil (45604.0) -
コマンドライン引数の --template オプションで指定したテンプレートに対応 するディレクトリを返します。
コマンドライン引数の --template オプションで指定したテンプレートに対応
するディレクトリを返します。
オプションの解析前は nil を返します。 -
RDoc
:: Options # template _ dir=(val) (45604.0) -
コマンドライン引数の --template オプションで指定したテンプレートに対応 するディレクトリを設定します。
コマンドライン引数の --template オプションで指定したテンプレートに対応
するディレクトリを設定します。
@param val パスを文字列で指定します。 -
Rake
:: Application # original _ dir -> String (45604.0) -
rake コマンドを実行したディレクトリを返します。
rake コマンドを実行したディレクトリを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.original_dir # => "/path/to/dir"
end
//} -
Rake
:: Application # top _ level _ tasks -> Array (45604.0) -
コマンドラインで指定されたタスクのリストを返します。
コマンドラインで指定されたタスクのリストを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.top_level_tasks # => ["default"]
end
//} -
Rational
# negative? -> bool (45604.0) -
self が 0 未満の場合に true を返します。そうでない場合に false を返します。
self が 0 未満の場合に true を返します。そうでない場合に false を返します。
//emlist[例][ruby]{
Rational(1, 2).negative? # => false
Rational(-1, 2).negative? # => true
//}
@see Rational#positive? -
RubyVM
:: InstructionSequence # absolute _ path -> String | nil (45604.0) -
self が表す命令シーケンスの絶対パスを返します。
self が表す命令シーケンスの絶対パスを返します。
self を文字列から作成していた場合は nil を返します。
例1:irb で実行した場合
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
iseq.absolute_path
# => nil
例2: RubyVM::InstructionSequence.compile_file を使用した場合
# /tmp/method.... -
RubyVM
:: InstructionSequence # base _ label -> String (45604.0) -
self が表す命令シーケンスの基本ラベルを返します。
self が表す命令シーケンスの基本ラベルを返します。
例1:irb で実行した場合
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
iseq.base_label
# => "<compiled>"
例2: RubyVM::InstructionSequence.compile_file を使用した場合
# /tmp/method.rb
def hello
puts "h... -
RubyVM
:: InstructionSequence # eval -> object (45604.0) -
self の命令シーケンスを評価してその結果を返します。
self の命令シーケンスを評価してその結果を返します。
RubyVM::InstructionSequence.compile("1 + 2").eval # => 3 -
RubyVM
:: InstructionSequence # label -> String (45604.0) -
self が表す命令シーケンスのラベルを返します。通常、メソッド名、クラス名、 モジュール名などで構成されます。
self が表す命令シーケンスのラベルを返します。通常、メソッド名、クラス名、
モジュール名などで構成されます。
トップレベルでは "<main>" を返します。self を文字列から作成していた場合
は "<compiled>" を返します。
例1:irb で実行した場合
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
iseq.label
# => "<compiled>"
例2: R... -
Socket
:: Option # family -> Integer (45604.0) -
ソケットファミリを表す整数を返します。
ソケットファミリを表す整数を返します。 -
StringIO
# close _ read -> nil (45604.0) -
自身に対する読み取りを禁止します。
自身に対する読み取りを禁止します。
@raise IOError 自身がすでに読み取り不可だった場合に発生します。 -
StringIO
# closed _ read? -> bool (45604.0) -
自身に対する読み取りが禁止されているなら true を返します。そうでない場合は、false を返します。
自身に対する読み取りが禁止されているなら true を返します。そうでない場合は、false を返します。 -
StringIO
# external _ encoding -> Encoding (45604.0) -
現在の外部エンコーディングを返します。
現在の外部エンコーディングを返します。 -
StringIO
# internal _ encoding -> Encoding (45604.0) -
現在の内部エンコーディングを返します。
現在の内部エンコーディングを返します。 -
Thread
:: Backtrace :: Location # absolute _ path -> String (45604.0) -
self が表すフレームの絶対パスを返します。
self が表すフレームの絶対パスを返します。
//emlist[例][ruby]{
# foo.rb
class Foo
attr_accessor :locations
def initialize(skip)
@locations = caller_locations(skip)
end
end
Foo.new(0..2).locations.map do |call|
puts call.absolute_path
end
# => /path/to/foo.rb
# /path/to/foo.rb
# /path/to/foo.rb
//}
@see... -
Thread
:: Backtrace :: Location # base _ label -> String (45604.0) -
self が表すフレームの基本ラベルを返します。通常、 Thread::Backtrace::Location#label から修飾を取り除いたもので構成 されます。
self が表すフレームの基本ラベルを返します。通常、
Thread::Backtrace::Location#label から修飾を取り除いたもので構成
されます。
//emlist[例][ruby]{
# foo.rb
class Foo
attr_accessor :locations
def initialize(skip)
@locations = caller_locations(skip)
end
end
Foo.new(0..2).locations.map do |call|
puts call.base_label
end
# => init... -
WIN32OLE
_ TYPE # major _ version -> Integer (45604.0) -
型のメジャーバージョン番号を取得します。
型のメジャーバージョン番号を取得します。
@return 型のメジャーバージョン番号を整数で返します。
@raise WIN32OLERuntimeError 型属性の読み取りに失敗すると通知します。
tobj = WIN32OLE_TYPE.new('Microsoft Word 14.0 Object Library', 'Documents')
p tobj.major_version # => 8 -
WIN32OLE
_ TYPELIB # major _ version -> Integer (45604.0) -
TypeLibのメジャーバージョン番号を取得します。
TypeLibのメジャーバージョン番号を取得します。
@return TypeLibのメジャーバージョン番号を整数で返します。
@raise WIN32OLERuntimeError TypeLibの属性が読み取れない場合に通知します。
tlib = WIN32OLE_TYPELIB.new('Microsoft Excel 14.0 Object Library')
puts tlib.major_version # => 1 -
Zlib
:: Deflate # set _ dictionary(string) -> String (45604.0) -
圧縮に用いる辞書を指定します。string を返します。 このメソッドは Zlib::Deflate.new, Zlib::ZStream#reset を呼び出した直後にのみ有効です。詳細は zlib.h を参照して下さい。
圧縮に用いる辞書を指定します。string を返します。
このメソッドは Zlib::Deflate.new, Zlib::ZStream#reset
を呼び出した直後にのみ有効です。詳細は zlib.h を参照して下さい。
@param string 辞書に用いる文字列を指定します。詳しくは zlib.h を参照してください。
@return 辞書に用いる文字列を返します。
require 'zlib'
def case1(str)
dez = Zlib::Deflate.new
comp_str = dez.deflate(str)
comp_s... -
Zlib
:: Inflate # set _ dictionary(string) -> String (45604.0) -
展開に用いる辞書を指定します。string を返します。 このメソッドは Zlib::NeedDict 例外が発生した直後のみ 有効です。詳細は zlib.h を参照して下さい。
展開に用いる辞書を指定します。string を返します。
このメソッドは Zlib::NeedDict 例外が発生した直後のみ
有効です。詳細は zlib.h を参照して下さい。
@param string 展開に用いる辞書を文字列で指定します。
require 'zlib'
def case2(str, dict)
dez = Zlib::Deflate.new
dez.set_dictionary(dict)
comp_str = dez.deflate(str)
comp_str << dez.finish
comp_str.siz... -
Rake
:: Application # options -> OpenStruct (45322.0) -
コマンドラインで与えられたアプリケーションのオプションを返します。
コマンドラインで与えられたアプリケーションのオプションを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.options # => #<OpenStruct always_multitask=false, backtrace=false, build_all=false, dryrun=false, ignore_deprecate=false, ignore_system=false, job_stats=... -
REXML
:: ParseException # position -> Integer (45304.0) -
パースエラーが起きた(XML上の)場所を先頭からのバイト数で返します。
パースエラーが起きた(XML上の)場所を先頭からのバイト数で返します。 -
RSS
:: SyndicationModel # sy _ updateBase (45304.0) -
@todo
@todo -
RSS
:: SyndicationModel # sy _ updateBase= (45304.0) -
@todo
@todo -
RSS
:: SyndicationModel # sy _ updateFrequency (45304.0) -
@todo
@todo -
RSS
:: SyndicationModel # sy _ updateFrequency= (45304.0) -
@todo
@todo -
Rational
# denominator -> Integer (45304.0) -
分母を返します。常に正の整数を返します。
分母を返します。常に正の整数を返します。
@return 分母を返します。
//emlist[例][ruby]{
Rational(7).denominator # => 1
Rational(7, 1).denominator # => 1
Rational(9, -4).denominator # => 4
Rational(-2, -10).denominator # => 5
//}
@see Rational#numerator -
Rational
# numerator -> Integer (45304.0) -
分子を返します。
分子を返します。
@return 分子を返します。
//emlist[例][ruby]{
Rational(7).numerator # => 7
Rational(7, 1).numerator # => 7
Rational(9, -4).numerator # => -9
Rational(-2, -10).numerator # => 1
//}
@see Rational#denominator -
WEBrick
:: HTTPServlet :: AbstractServlet # do _ OPTIONS(request , response) -> () (45304.0) -
自身の service メソッドから HTTP のリクエストに応じて 呼ばれるメソッドです。AbstractServlet のサブクラスはこれらのメソッドを適切に実装し なければいけません。返り値は特に規定されていません。
自身の service メソッドから HTTP のリクエストに応じて
呼ばれるメソッドです。AbstractServlet のサブクラスはこれらのメソッドを適切に実装し
なければいけません。返り値は特に規定されていません。
クライアントが使う可能性のある RFC で定義された HTTP のメソッドはすべて実装する必要があります。
クライアントからのリクエストに使われないと分かっているメソッドは実装しなくてもかまいません。
実装されていない HTTP メソッドであった場合、自身の service メソッドが
例外を発生させます。
このメソッドが呼ばれた時点では、クライアントからのリクエスト... -
RDoc
:: Context # add _ class _ or _ module(collection , class _ type , name , superclass = nil) -> RDoc :: NormalClass | RDoc :: SingleClass | RDoc :: NormalModule (38104.0) -
collection に name で指定したクラス、モジュールを追加します。
collection に name で指定したクラス、モジュールを追加します。
@param collection クラス、モジュールを追加する先を Hash オブジェ
クトで指定します。
@param class_type 追加するクラス、モジュールを RDoc::NormalClass、
RDoc::SingleClass、RDoc::NormalModule オ
ブジェクトのいずれかで指定します。
@param name クラス名を文字列で指定します。
@param su...