別のキーワード
種類
ライブラリ
- English (2)
- ビルトイン (72)
- benchmark (1)
- bigdecimal (5)
-
cgi
/ core (8) -
cgi
/ html (16) -
cgi
/ session (5) -
cgi
/ session / pstore (1) - csv (3)
- drb (1)
- e2mmap (2)
- etc (21)
- fiddle (11)
-
fiddle
/ import (5) - fileutils (26)
- getoptlong (1)
-
io
/ console / size (1) -
io
/ wait (1) -
irb
/ context (1) -
irb
/ input-method (7) -
irb
/ output-method (2) - json (3)
- logger (1)
- matrix (26)
- monitor (2)
-
net
/ http (7) -
net
/ imap (4) -
net
/ smtp (3) - nkf (1)
- open-uri (8)
- open3 (5)
- openssl (15)
- optparse (17)
- prime (3)
- psych (8)
- rake (3)
-
rdoc
/ context (4) -
rdoc
/ markdown (2) -
rdoc
/ parser / ruby (1) -
rdoc
/ top _ level (1) - readline (1)
- resolv (2)
- rexml (1)
-
rexml
/ document (30) -
rexml
/ parsers / pullparser (1) -
rexml
/ sax2listener (2) -
rinda
/ tuplespace (1) - rss (19)
- rubygems (6)
-
rubygems
/ command (5) -
rubygems
/ commands / unpack _ command (1) -
rubygems
/ commands / update _ command (1) -
rubygems
/ dependency (2) -
rubygems
/ dependency _ installer (3) -
rubygems
/ dependency _ list (2) -
rubygems
/ exceptions (2) -
rubygems
/ ext / configure _ builder (1) -
rubygems
/ ext / ext _ conf _ builder (1) -
rubygems
/ ext / rake _ builder (1) -
rubygems
/ installer (2) -
rubygems
/ package / tar _ input (3) -
rubygems
/ package / tar _ output (1) -
rubygems
/ package / tar _ reader (1) -
rubygems
/ package / tar _ writer (3) -
rubygems
/ remote _ fetcher (1) -
rubygems
/ requirement (1) -
rubygems
/ security (4) -
rubygems
/ source _ index (7) -
rubygems
/ specification (19) -
rubygems
/ user _ interaction (7) -
rubygems
/ version (1) - shell (1)
-
shell
/ builtin-command (1) -
shell
/ command-processor (2) -
shell
/ filter (1) - socket (6)
- stringio (6)
- syslog (4)
- timeout (2)
- tracer (1)
- uri (2)
-
webrick
/ cgi (1) -
webrick
/ httpauth / authenticator (2) -
webrick
/ httpserver (2) -
webrick
/ httpservlet / abstract (1) -
webrick
/ httpservlet / filehandler (2) -
webrick
/ httpstatus (9) -
win32
/ registry (8) - zlib (15)
クラス
-
ARGF
. class (2) - Array (6)
- BigDecimal (3)
- Binding (1)
-
CGI
:: Session (1) -
CGI
:: Session :: FileStore (1) -
CGI
:: Session :: MemoryStore (1) -
CGI
:: Session :: NullStore (2) -
CGI
:: Session :: PStore (1) - CSV (3)
-
DRb
:: DRbUnknown (1) - Encoding (2)
-
Encoding
:: Converter (7) -
Encoding
:: InvalidByteSequenceError (2) -
Encoding
:: UndefinedConversionError (5) - Exception (1)
-
Fiddle
:: Closure (1) -
Fiddle
:: Closure :: BlockCaller (1) -
Fiddle
:: Function (8) - File (2)
-
Gem
:: Command (5) -
Gem
:: Commands :: UnpackCommand (1) -
Gem
:: Commands :: UpdateCommand (1) -
Gem
:: Dependency (2) -
Gem
:: DependencyInstaller (3) -
Gem
:: DependencyList (2) -
Gem
:: Ext :: ConfigureBuilder (1) -
Gem
:: Ext :: ExtConfBuilder (1) -
Gem
:: Ext :: RakeBuilder (1) -
Gem
:: Installer (1) -
Gem
:: LoadError (2) -
Gem
:: Package :: TarInput (3) -
Gem
:: Package :: TarOutput (1) -
Gem
:: Package :: TarWriter :: BoundedStream (2) -
Gem
:: RemoteFetcher (1) -
Gem
:: Requirement (1) -
Gem
:: Security :: Policy (1) -
Gem
:: SourceIndex (7) -
Gem
:: Specification (19) -
Gem
:: Version (1) - GetoptLong (1)
- IO (11)
-
IRB
:: Context (1) -
IRB
:: StdioInputMethod (6) -
IRB
:: StdioOutputMethod (1) - Logger (1)
- Matrix (4)
-
Matrix
:: EigenvalueDecomposition (10) -
Matrix
:: LUPDecomposition (10) - Method (1)
- Module (2)
-
MonitorMixin
:: ConditionVariable (2) -
Net
:: HTTP (1) -
Net
:: HTTPGenericRequest (2) -
Net
:: IMAP :: BodyTypeMultipart (2) -
Net
:: IMAP :: ContinuationRequest (2) -
Net
:: SMTP (3) - Object (3)
-
OpenSSL
:: Config (1) -
OpenSSL
:: OCSP :: BasicResponse (1) -
OpenSSL
:: SSL :: SSLSocket (2) -
OpenSSL
:: X509 :: Extension (1) -
OpenSSL
:: X509 :: ExtensionFactory (2) - OptionParser (13)
- Prime (2)
-
Prime
:: TrialDivisionGenerator (1) -
Psych
:: Handler (1) -
Psych
:: Nodes :: Document (3) -
Psych
:: Visitors :: YAMLTree (1) -
RDoc
:: Context (3) -
RDoc
:: Context :: Section (1) -
RDoc
:: Markdown (2) -
RDoc
:: Options (18) -
RDoc
:: Parser :: Ruby (1) -
RDoc
:: TopLevel (1) -
REXML
:: AttlistDecl (1) -
REXML
:: Attribute (1) -
REXML
:: Child (2) -
REXML
:: Declaration (1) -
REXML
:: DocType (1) -
REXML
:: Document (10) -
REXML
:: Element (1) -
REXML
:: Entity (1) -
REXML
:: ExternalEntity (1) -
REXML
:: Formatters :: Default (1) -
REXML
:: Instruction (1) -
REXML
:: NotationDecl (5) -
REXML
:: Parsers :: PullEvent (1) -
REXML
:: XMLDecl (3) -
RSS
:: Maker :: TextinputBase (2) -
RSS
:: RDF :: Textinput (2) -
RSS
:: Rss :: Channel :: TextInput (2) -
Rake
:: Application (1) -
Rake
:: FileList (1) - Rational (3)
-
Resolv
:: DNS :: Resource :: IN :: SRV (2) -
Rinda
:: TupleSpace (1) -
RubyVM
:: InstructionSequence (8) - Shell (1)
-
Shell
:: AppendIO (1) -
Shell
:: CommandProcessor (2) -
Shell
:: Filter (1) - Socket (1)
-
Socket
:: AncillaryData (2) - String (4)
- StringIO (6)
-
Thread
:: Backtrace :: Location (1) -
Thread
:: ConditionVariable (1) - Tracer (1)
- UDPSocket (1)
- UNIXSocket (2)
-
URI
:: LDAP (2) - UnboundMethod (1)
-
WEBrick
:: CGI (1) -
WEBrick
:: HTTPServer (2) -
WEBrick
:: HTTPServlet :: AbstractServlet (1) -
WEBrick
:: HTTPServlet :: FileHandler (2) -
Win32
:: Registry (8) -
Zlib
:: Deflate (2) -
Zlib
:: GzipReader (6) -
Zlib
:: GzipWriter (5)
モジュール
- Benchmark (1)
-
CGI
:: HtmlExtension (16) -
CGI
:: QueryExtension (7) -
CGI
:: QueryExtension :: Value (1) - DublinCoreModel (6)
- Enumerable (1)
- Etc (21)
- Exception2MessageMapper (2)
-
Fiddle
:: Importer (4) - FileTest (1)
- FileUtils (26)
-
Gem
:: DefaultUserInteraction (6) -
Gem
:: InstallUpdateOptions (2) -
Gem
:: LocalRemoteOptions (3) -
Gem
:: QuickLoader (4) -
Gem
:: Security (3) - JSON (3)
- Kernel (12)
- Marshal (2)
- Open3 (5)
-
OpenSSL
:: Buffering (6) -
OpenSSL
:: OCSP (2) - OpenURI (2)
-
OpenURI
:: OpenRead (3) -
OptionParser
:: Arguable (2) - Psych (3)
-
REXML
:: Node (1) -
REXML
:: SAX2Listener (2) -
RSS
:: SyndicationModel (6) - Readline (1)
- Syslog (4)
- Timeout (2)
- URI (2)
-
WEBrick
:: HTTPAuth :: ProxyAuthenticator (2) -
WEBrick
:: HTTPStatus (5) - Zlib (2)
キーワード
-
$ DEFAULT _ INPUT (1) -
$ DEFAULT _ OUTPUT (1) -
$ stdout (1) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (1) - BigDecimal (2)
- BoundedStream (1)
-
CS
_ GNU _ LIBPTHREAD _ VERSION (1) -
CS
_ POSIX _ V6 _ ILP32 _ OFF32 _ LDFLAGS (1) -
CS
_ POSIX _ V6 _ ILP32 _ OFFBIG _ LDFLAGS (1) -
CS
_ POSIX _ V6 _ LP64 _ OFF64 _ LDFLAGS (1) -
CS
_ POSIX _ V6 _ LPBIG _ OFFBIG _ LDFLAGS (1) -
CS
_ POSIX _ V6 _ WIDTH _ RESTRICTED _ ENVS (1) -
CS
_ POSIX _ V7 _ ILP32 _ OFF32 _ LDFLAGS (1) -
CS
_ POSIX _ V7 _ ILP32 _ OFFBIG _ LDFLAGS (1) -
CS
_ POSIX _ V7 _ LP64 _ OFF64 _ LDFLAGS (1) -
CS
_ POSIX _ V7 _ LPBIG _ OFFBIG _ LDFLAGS (1) -
CS
_ POSIX _ V7 _ THREADS _ CFLAGS (1) -
CS
_ POSIX _ V7 _ THREADS _ LDFLAGS (1) -
CS
_ POSIX _ V7 _ WIDTH _ RESTRICTED _ ENVS (1) - CUnion (1)
- DECLARATION (1)
- DEFAULT (1)
-
DEFAULT
_ COMPRESSION (1) -
DEFAULT
_ EXTENSIONS (1) -
DEFAULT
_ OPTIONS (2) -
DEFAULT
_ RAKEFILES (1) -
DEFAULT
_ VERSION (1) - DefaultUserInteraction (1)
-
EXCEPTION
_ UNDERFLOW (1) - EigenvalueDecomposition (1)
- ExpectationFailed (1)
- ExtensionBuildError (1)
- Function (1)
- GemNotFoundException (1)
- GemVersions (1)
- HTTPNetworkAuthenticationRequired (1)
- HTTPPreconditionRequired (1)
- HTTPProxyAuthenticationRequired (1)
- HTTPVersionNotSupported (2)
- InfoField (1)
- InstallUpdateOptions (1)
- Integer (1)
- InvalidArgument (1)
- LUPDecomposition (1)
-
NEWS for Ruby 2
. 2 . 0 (1) -
NEWS for Ruby 2
. 5 . 0 (1) -
NEWS for Ruby 2
. 6 . 0 (1) - NKF (1)
- NeedlessArgument (1)
- OperationNotSupportedError (1)
- PreconditionFailed (1)
- ProxyAuthenticationRequired (1)
-
RC
_ EXPECTATION _ FAILED (1) -
RC
_ HTTP _ VERSION _ NOT _ SUPPORTED (1) -
RC
_ NON _ AUTHORITATIVE _ INFORMATION (1) -
RC
_ PRECONDITION _ FAILED (1) -
RC
_ PROXY _ AUTHENTICATION _ REQUIRED (1) -
REVOKED
_ STATUS _ AFFILIATIONCHANGED (1) -
REVOKED
_ STATUS _ CESSATIONOFOPERATION (1) -
RUBY
_ DESCRIPTION (1) - RequestField (1)
-
SC
_ PRIORITY _ SCHEDULING (1) -
SC
_ RE _ DUP _ MAX (1) -
SC
_ THREAD _ CPUTIME (1) -
SC
_ THREAD _ DESTRUCTOR _ ITERATIONS (1) -
SC
_ THREAD _ PRIORITY _ SCHEDULING (1) -
SC
_ THREAD _ ROBUST _ PRIO _ INHERIT (1) -
SC
_ THREAD _ ROBUST _ PRIO _ PROTECT (1) -
SC
_ THREAD _ SAFE _ FUNCTIONS (1) - STDCALL (1)
- STDOUT (1)
- StdioInputMethod (1)
- StdioOutputMethod (1)
-
USERNAME
_ COMPLETION _ PROC (1) - UndefinedConversionError (1)
- UndefinedNamespaceException (1)
- UnexpectedEOF (1)
- UnknownConversionMethodError (1)
- Win32ネイティブ版Rubyの互換性問題 (1)
- [] (2)
-
_ dump (1) - abi (1)
-
absolute
_ path (1) -
accept
_ encoding (1) -
add
_ bindir (1) -
add
_ bulk _ threshold _ option (1) -
add
_ class _ or _ module (2) -
add
_ common _ option (1) -
add
_ dependency (1) -
add
_ development _ dependency (1) -
add
_ option (1) -
add
_ runtime _ dependency (1) -
add
_ source _ option (1) -
add
_ spec (1) -
add
_ trusted _ cert (1) -
add
_ update _ sources _ option (1) -
add
_ value (1) -
assign
_ defaults (1) -
attribute
_ defaults (1) - benchmark (1)
- bind (1)
-
body
_ stream (1) -
body
_ stream= (1) - build (3)
-
build
_ cert (1) -
build
_ extensions (1) -
build
_ self _ signed _ cert (1) -
calculate
_ integers _ for _ gem _ version (1) - call (1)
- cd (2)
- chdir (2)
- checkbox (1)
- chmod (1)
-
chmod
_ R (1) - chunk (1)
- codepoints (2)
- compile (1)
- copy (1)
- cp (1)
-
cp
_ lr (1) -
cp
_ r (1) - create (3)
-
create
_ body (1) -
create
_ ext (1) -
create
_ extension (1) -
current
_ section (1) - data (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
_ console _ size (1) -
default
_ executable (1) -
default
_ executable= (1) -
default
_ internal (1) -
default
_ submission _ port (1) -
default
_ value (1) - deflate (2)
- delete (1)
- description (3)
- description= (3)
-
destination
_ encoding (2) -
destination
_ encoding _ name (2) - det (1)
- determinant (1)
- disasm (2)
- disassemble (2)
- display (1)
- disposition (1)
-
do
_ OPTIONS (2) -
do
_ rubygems _ update (1) -
dry
_ run (1) -
dry
_ run= (1) - dummy? (1)
- dump (5)
- dup (1)
-
e
_ option _ supplied (1) - each (1)
-
each
_ byte (1) -
each
_ codepoint (2) -
each
_ line (1) - eigen (1)
- eigensystem (1)
-
eigenvalue
_ matrix (1) - eigenvalues (1)
-
eigenvector
_ matrix (1) -
eigenvector
_ matrix _ inv (1) - eigenvectors (1)
- encode (3)
- encoding (1)
-
entity
_ expansion _ limit (1) -
entity
_ expansion _ limit= (1) -
entity
_ expansion _ text _ limit (1) -
entity
_ expansion _ text _ limit= (1) - eof? (1)
-
error
_ char (1) - exception (1)
- exclude (1)
- exclude= (1)
-
excluded
_ from _ list? (1) - extension (1)
- extensions (1)
- extensions= (1)
- extern (1)
-
file
_ field (1) -
find
_ name (2) -
find
_ spec _ by _ name _ and _ version (1) -
force
_ output (1) -
force
_ output= (1) -
force
_ update (1) - form (2)
-
get
_ one _ optional _ argument (1) -
get
_ path (1) - gets (1)
-
have
_ option? (1) - hidden (2)
- include? (1)
-
include
_ line _ numbers (1) -
inline
_ source (1) - input= (1)
- install (2)
-
install
_ update _ defaults _ str (1) - instance (2)
- io (1)
- l (1)
- line (1)
-
line
_ numbers (1) -
line
_ numbers= (1) - lineno= (1)
- link (1)
- ln (1)
-
ln
_ s (1) -
ln
_ sf (1) - load (1)
-
load
_ from _ binary (1) -
load
_ from _ binary _ extra _ data (1) -
load
_ gemspec (1) -
load
_ specification (1) - lup (1)
-
lup
_ decomposition (1) - magnitude (1)
- makedirs (1)
-
mark
_ locations _ array (1) - markup (1)
- markup= (1)
-
marshal
_ dump (2) - merge (1)
-
method
_ list (1) - mkdir (1)
-
mkdir
_ p (1) - mkpath (1)
-
module
_ function (1) - mount (1)
- move (1)
-
multipart
_ form (2) - mv (1)
- name (1)
- new (27)
-
node
_ type (1) - notationdecl (1)
- notationdecl? (1)
- of (1)
-
on
_ head (1) - open (13)
- open! (1)
-
open
_ uri (2) -
open
_ uri _ or _ path (1) - order! (4)
- out (3)
- p (1)
- pack (2)
- pack テンプレート文字列 (1)
- parse (1)
- parse! (1)
-
parse
_ stream (1) -
password
_ field (2) -
path
_ translated (1) - permute! (1)
-
pipe
_ open (1) -
pipeline
_ r (1) -
pipeline
_ rw (1) - pivots (1)
- popen2 (1)
- popen2e (1)
- popen3 (1)
- pread (1)
-
previous
_ sibling (1) -
previous
_ sibling= (1) -
previous
_ sibling _ node (1) -
prime
_ division (2) -
primitive
_ convert (4) - print (1)
- printf (2)
- priority (1)
-
processing
_ instruction (1) - promiscuous (1)
- ptr (1)
- public (1)
- public= (1)
-
push
_ all _ highest _ version _ gems _ on _ load _ path (1) -
push
_ gem _ version _ on _ load _ path (1) - quiet (1)
-
radio
_ group (2) -
rake
_ extension (1) -
raw
_ data (1) -
rb
_ compile _ file (1) -
rb
_ define _ global _ function (1) -
rb
_ define _ module _ function (1) -
rb
_ gc _ mark _ locations (1) -
rb
_ thread _ priority (1) -
rb
_ thread _ priority _ set (1) -
rdoc
_ include (1) - read (4)
-
read
_ nonblock (4) -
readable
_ atfer _ eof? (1) - readchar (1)
- readline (1)
- readlines (1)
- readpartial (5)
-
recv
_ io (1) -
recvfrom
_ nonblock (1) -
remote
_ addr (1) -
remote
_ ident (1) -
remove
_ by _ name (1) -
remove
_ spec (1) - reopen (1)
-
repeated
_ combination (1) -
repeated
_ permutation (2) -
request
_ method (1) -
required
_ attribute (1) -
required
_ attribute? (1) -
required
_ attributes (1) -
required
_ ruby _ version (1) -
required
_ ruby _ version= (1) -
required
_ rubygems _ version (1) -
required
_ rubygems _ version= (1) - restore (1)
- rmdir (1)
- round (1)
-
ruby 1
. 6 feature (1) -
ruby 1
. 8 . 3 feature (1) -
ruby 1
. 8 . 4 feature (1) -
ruby 1
. 9 feature (1) -
rubygems
/ commands / specification _ command (1) -
runtime
_ dependencies (1) -
satisfied
_ by? (1) -
satisfies
_ requirement? (1) - search (1)
-
search
_ convpath (1) - select (2)
-
send
_ io (1) - sequence (1)
-
session
_ reused? (1) -
set
_ current _ section (1) -
set
_ debug _ output (2) - setuid? (2)
-
show
_ lookup _ failure (1) - singular? (1)
- solve (1)
-
source
_ encoding (1) -
source
_ encoding _ name (1) -
source
_ location (3) - specification (1)
- start (1)
-
start
_ document (1) - status (1)
- stdout (1)
- succ (1)
- summarize (2)
- summary= (1)
-
summary
_ indent (1) -
summary
_ indent= (1) -
summary
_ width (1) -
summary
_ width= (1) -
sy
_ updateBase (1) -
sy
_ updateBase= (1) -
sy
_ updateFrequency (1) -
sy
_ updateFrequency= (1) -
sy
_ updatePeriod (1) -
sy
_ updatePeriod= (1) - symlink (1)
- sysread (3)
- system= (1)
- test (2)
-
text
_ field (2) - timeout (2)
-
to
_ a (2) -
to
_ ary (2) -
to
_ binary (1) -
to
_ i (1) -
trusted
_ cert _ path (1) -
udp
_ server _ recv (1) - ui (2)
- ui= (2)
- ungetc (1)
- union (2)
-
unix
_ rights (2) - unlink (1)
- unpack (1)
- update (5)
- uptodate? (1)
-
use
_ ui (2) - v (1)
-
v
_ inv (1) - version (2)
- version= (2)
-
version
_ requirement (1) -
version
_ requirement= (1) -
version
_ requirements (1) -
version
_ requirements= (1) - visibility (1)
- wait (2)
-
wait
_ readable (1) -
wait
_ until (1) -
warn
_ unless _ e _ option (1) -
warning
_ unless _ e _ option (1) - wrap (2)
- write (12)
-
zipped
_ stream (1)
検索結果
先頭5件
-
IO
. default _ console _ size -> [Integer , Integer] (99601.0) -
デフォルトの端末のサイズを [rows, columns] で返します。
デフォルトの端末のサイズを [rows, columns] で返します。 -
IO
# dup -> IO (82201.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
# read _ nonblock(maxlen , outbuf = nil , exception: true) -> String | Symbol | nil (82021.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) システムコールは呼ばれません... -
Gem
:: InstallUpdateOptions # add _ install _ update _ options (81901.0) -
インストールとアップデートに関するオプションを追加します。
インストールとアップデートに関するオプションを追加します。 -
IO
# readpartial(maxlen , outbuf = "") -> String (81775.0) -
IO から長さ maxlen を上限として読み込み、文字列として返します。 即座に得られるデータが存在しないときにはブロックしてデータの到着を待ちます。 即座に得られるデータが 1byte でも存在すればブロックしません。
IO から長さ maxlen を上限として読み込み、文字列として返します。
即座に得られるデータが存在しないときにはブロックしてデータの到着を待ちます。
即座に得られるデータが 1byte でも存在すればブロックしません。
バイナリ読み込みメソッドとして動作します。
既に EOF に達していれば EOFError が発生します。
ただし、maxlen に 0 が指定されている場合は、空文字列 "" を返します。
readpartial はブロックを最小限に抑えることによって、
パイプ、ソケット、端末などのストリームに対して適切に動作するよう設計されています。
readpartial が... -
IO
# codepoints -> Enumerator (81685.0) -
このメソッドは obsolete です。 代わりに IO#each_codepoint を使用してください。
このメソッドは obsolete です。
代わりに IO#each_codepoint を使用してください。
使用すると警告メッセージが表示されます。
IO の各コードポイントに対して繰り返しブロックを呼びだします。
ブロックの引数にはコードポイントを表す整数が渡されます。
ブロックを省略した場合には、Enumerator を返します。
@see IO#each_codepoint -
IO
# pread(maxlen , offset , outbuf = "") -> string (81673.0) -
preadシステムコールを使ってファイルポインタを変更せずに、また現在のファイルポインタに 依存せずにmaxlenバイト読み込みます。
preadシステムコールを使ってファイルポインタを変更せずに、また現在のファイルポインタに
依存せずにmaxlenバイト読み込みます。
IO#seekとIO#readの組み合わせと比べて、アトミックな操作に
なるという点が優れていて、複数スレッド/プロセスから同じIOオブジェクトを
様々な位置から読み込むことを許します。
どのユーザー空間のIO層のバッファリングもバイパスします。
@param maxlen 読み込むバイト数を指定します。
@param offset 読み込み開始位置のファイルの先頭からのオフセットを指定します。
@param outbuf データを受け取る String... -
IO
# sysread(maxlen , outbuf = "") -> String (81673.0) -
read(2) を用いて入力を行ない、入力されたデータを 含む文字列を返します。stdio を経由しないので gets や getc や eof? などと混用すると思わぬ動作 をすることがあります。
read(2) を用いて入力を行ない、入力されたデータを
含む文字列を返します。stdio を経由しないので gets や getc や eof? などと混用すると思わぬ動作
をすることがあります。
バイナリ読み込みメソッドとして動作します。
既に EOF に達していれば EOFError が発生します。ただし、maxlen に 0 が指定されている場合は、空文字列 "" を返します。
@param maxlen 入力のサイズを整数で指定します。
@param outbuf 出力用のバッファを文字列で指定します。IO#sysread は読み込んだデータを
... -
IO
# each _ codepoint -> Enumerator (81667.0) -
IO の各コードポイントに対して繰り返しブロックを呼びだします。
IO の各コードポイントに対して繰り返しブロックを呼びだします。
ブロックの引数にはコードポイントを表す整数が渡されます。
ブロックを省略した場合には、Enumerator を返します。
//emlist[例][ruby]{
IO.write("testfile", "abcdeあ")
File.open("testfile") do |f|
f.each_codepoint { |i| p i }
end
# => 97
# 98
# 99
# 100
# 101
# 12354
//} -
IO
# read(length = nil , outbuf = "") -> String | nil (81655.0) -
length バイト読み込んで、その文字列を返します。
length バイト読み込んで、その文字列を返します。
引数 length が指定された場合はバイナリ読み込みメソッド、そうでない場合はテキスト読み込みメソッドとして
動作します。
既に EOF に達していれば nil を返します。
ただし、length に nil か 0 が指定されている場合は、空文字列 "" を返します。
例えば、open(空ファイル) {|f| f.read } は "" となります。
@param length 読み込むサイズを整数で指定します。
nil が指定された場合、EOF までの全てのデータを読み込んで、その文字列を返します。... -
OpenSSL
:: OCSP :: REVOKED _ STATUS _ CESSATIONOFOPERATION -> Integer (73201.0) -
OpenSSL::OCSP::BasicResponse#status の失効理由コードで、 証明書の運用を止めたことを意味します。
OpenSSL::OCSP::BasicResponse#status の失効理由コードで、
証明書の運用を止めたことを意味します。
詳しくは 3280 や X.509 を参照してください。 -
Gem
:: DependencyInstaller :: DEFAULT _ OPTIONS -> Hash (72901.0) -
自身を初期化する際に使用するデフォルトのオプションです。
自身を初期化する際に使用するデフォルトのオプションです。
:env_shebang => false,
:domain => :both, # HACK dup
:force => false,
:format_executable => false, # HACK dup
:ignore_dependencies => false,
:security_policy => nil, # HACK NoSecurity requires OpenSSL. Al... -
Module
# module _ function(*name) -> self (72901.0) -
メソッドをモジュール関数にします。
メソッドをモジュール関数にします。
引数が与えられた時には、
引数で指定されたメソッドをモジュール関数にします。
引数なしのときは今後このモジュール定義文内で
新しく定義されるメソッドをすべてモジュール関数にします。
モジュール関数とは、プライベートメソッドであると同時に
モジュールの特異メソッドでもあるようなメソッドです。
例えば Math モジュールのメソッドはすべてモジュール関数です。
self を返します。
@param name String または Symbol を 0 個以上指定します。
=== 注意
module_function はメソッドに「モジュール関数」とい... -
IO
# wait _ readable(timeout = nil) -> bool | self | nil (72619.0) -
self が読み込み可能になるまでブロックし、読み込み可能になったら 真値を返します。タイムアウト、もしくはEOFで それ以上読みこめない場合は偽の値を返します。
self が読み込み可能になるまでブロックし、読み込み可能になったら
真値を返します。タイムアウト、もしくはEOFで
それ以上読みこめない場合は偽の値を返します。
より詳しくは、一度ブロックしてから読み込み可能になった場合には
selfを返します。
内部のバッファにデータがある場合には
ブロックせずに true を返します。
内部のバッファとはRubyの処理系が保持管理している
バッファのことです。
つまり、読み込み可能である場合にはtrueを返す場合と
selfを返す場合があることに注意してください。
timeout を指定した場合は、指定秒数経過するまでブロックし、タ
イムアウトし... -
Matrix
:: EigenvalueDecomposition # d -> Matrix (72304.0) -
固有値を対角成分に並べた行列を返します。
固有値を対角成分に並べた行列を返します。 -
Matrix
:: LUPDecomposition # u -> Matrix (72304.0) -
LUP分解の上半行列部分を返します。
LUP分解の上半行列部分を返します。 -
IRB
:: StdioOutputMethod (72001.0) -
標準出力を表すクラスです。ライブラリ内部で使用します。
標準出力を表すクラスです。ライブラリ内部で使用します。 -
CGI
:: HtmlExtension # radio _ button(attributes) -> String (64201.0) -
タイプが radio である input 要素を生成します。
タイプが radio である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
radio_button({ "NAME" => "name", "VALUE" => "value", "ID" => "foo" })
# <INPUT TYPE="radio" NAME="name" VALUE="value" ID="foo"> -
Gem
:: Specification # required _ ruby _ version -> Gem :: Requirement (64201.0) -
この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。
この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。 -
Gem
:: Specification # required _ ruby _ version=(requirement) (64201.0) -
この Gem パッケージを動作させるのに必要な Ruby のバージョンをセットします。
この Gem パッケージを動作させるのに必要な Ruby のバージョンをセットします。
@param requirement Gem::Requirement.create が受け付ける形式のオブジェクトを指定します。
@see Gem::Requirement -
Gem
:: Specification # required _ rubygems _ version -> Gem :: Requirement (64201.0) -
この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。
この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。 -
Gem
:: Specification # required _ rubygems _ version=(requirement) (64201.0) -
この Gem パッケージを動作させるのに必要な RubyGems のバージョンをセットします。
この Gem パッケージを動作させるのに必要な RubyGems のバージョンをセットします。
@param requirement Gem::Requirement.create が受け付ける形式のオブジェクトを指定します。
@see Gem::Requirement -
REXML
:: Node # previous _ sibling _ node -> REXML :: Node | nil (64201.0) -
前の兄弟ノードを返します。
前の兄弟ノードを返します。
前の兄弟ノードが存在しない場合(ノードがルートである場合や、
最初のノードである場合)は nil を返します。 -
IO
. select(reads , writes = [] , excepts = [] , timeout = nil) -> [[IO]] | nil (64048.0) -
select(2) を実行します。
select(2) を実行します。
与えられた入力/出力/例外待ちの IO オブジェクトの中から準備ができたものを
それぞれ配列にして、配列の配列として返します。
タイムアウトした時には nil を返します。
@param reads 入力待ちする IO オブジェクトの配列を渡します。
@param writes 出力待ちする IO オブジェクトの配列を渡します。
@param excepts 例外待ちする IO オブジェクトの配列を渡します。
@param timeout タイムアウトまでの時間を表す数値または nil を指定します。数値で指定したときの単位は秒です。nil を... -
BigDecimal
:: EXCEPTION _ UNDERFLOW -> Integer (63901.0) -
BigDecimal の計算結果の指数部がアンダーフローした場合に例外を発生 させるかどうかを設定、確認する際の値を返します。
BigDecimal の計算結果の指数部がアンダーフローした場合に例外を発生
させるかどうかを設定、確認する際の値を返します。
BigDecimal.mode の第 1 引数に指定します。 -
CGI
:: HtmlExtension # radio _ button(name = "" , value = nil , checked = nil) -> String (63901.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" ... -
CGI
:: HtmlExtension # radio _ group(attributes) -> String (63901.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 # radio _ group(name = "" , *values) -> String (63901.0) -
タイプが radio である input 要素のリストを生成します。
タイプが radio である input 要素のリストを生成します。
生成される input 要素の name 属性はすべて同じになり、
それぞれの input 要素の後ろにはラベルが続きます。
@param name name 属性の値を指定します。
@param values value 属性のリストを指定します。
それぞれの引数が、単純な文字列の場合、value 属性の値とラベルに同じものが使用されます。
それぞれの引数が、二要素または三要素の配列の場合、最終要素が true であれば、
check... -
Gem
:: LocalRemoteOptions # add _ bulk _ threshold _ option (63901.0) -
オプション --bulk-threshold を追加します。
オプション --bulk-threshold を追加します。 -
Gem
:: LocalRemoteOptions # add _ source _ option (63901.0) -
オプション --source を追加します。
オプション --source を追加します。 -
Gem
:: LocalRemoteOptions # add _ update _ sources _ option (63901.0) -
オプション --update-source を追加します。
オプション --update-source を追加します。 -
Gem
:: Specification # runtime _ dependencies -> Array (63901.0) -
この Gem パッケージが依存している Gem パッケージのリストを返します。
この Gem パッケージが依存している Gem パッケージのリストを返します。 -
RDoc
:: Markdown :: DEFAULT _ EXTENSIONS -> [Symbol] (63901.0) -
デフォルトで有効になっている拡張の一覧を Symbol の配列で返します。
デフォルトで有効になっている拡張の一覧を Symbol の配列で返します。 -
REXML
:: XMLDecl :: DEFAULT _ VERSION -> String (63901.0) -
REXML::XMLDecl.new や REXML::XMLDecl.default で の使われるデフォルトのXMLバージョン。
REXML::XMLDecl.new や REXML::XMLDecl.default で
の使われるデフォルトのXMLバージョン。 -
RSS
:: SyndicationModel # sy _ updatePeriod (63901.0) -
@todo
@todo -
RSS
:: SyndicationModel # sy _ updatePeriod= (63901.0) -
@todo
@todo -
Encoding
:: UndefinedConversionError # destination _ encoding -> Encoding (63601.0) -
エラーを発生させた変換の変換先のエンコーディングを Encoding オブジェクトで返します。
エラーを発生させた変換の変換先のエンコーディングを Encoding
オブジェクトで返します。
@see Encoding::UndefinedConversionError#source_encoding -
Encoding
:: UndefinedConversionError # destination _ encoding _ name -> String (63601.0) -
エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
@see Encoding::UndefinedConversionError#destination_encoding -
Gem
:: InstallUpdateOptions # install _ update _ defaults _ str -> String (63601.0) -
Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。
Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。
デフォルトのオプションは以下の通りです。
--rdoc --no-force --no-test --wrappers -
Gem
:: DependencyInstaller # find _ spec _ by _ name _ and _ version(gem _ name , version = Gem :: Requirement . default) -> Array (55501.0) -
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と それの存在する URI を含む配列を返します。
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と
それの存在する URI を含む配列を返します。
@param gem_name Gem の名前を指定します。
@param version Gem が満たすバージョンに関する条件を指定します。 -
Gem
:: Dependency # version _ requirements=(version _ requirements) (55201.0) -
依存しているバージョンを設定します。
依存しているバージョンを設定します。
@param version_requirements Gem::Requirement のインスタンスを指定します。 -
Gem
:: Security . build _ self _ signed _ cert(email _ addr , options = {}) -> Hash (55201.0) -
与えられたメールアドレスを元にして自己署名証明書を作成します。
与えられたメールアドレスを元にして自己署名証明書を作成します。
@param email_addr メールアドレスを指定します。
@param options オプションを指定します。
@return 鍵と証明書とそれらを保存したパスを表すハッシュを返します。 -
void rb
_ define _ global _ function(const char *name , VALUE (*func)() , int argc) (55201.0) -
関数 name を定義します。 func と argc は rb_define_method と同じです。
関数 name を定義します。
func と argc は rb_define_method と同じです。
例:
static VALUE
return_obj_dup(VALUE obj)
{
VALUE dup = rb_obj_dup(obj); // オブジェクトを複製
return dup;
}
void Init_func() {
rb_define_global_function("dup_obj", return_obj_dup, 1); // 関数 dup_objを定義しています。
... -
void rb
_ define _ module _ function(VALUE module , const char *name , VALUE (*func)() , int argc) (55201.0) -
モジュール module にモジュール関数 name を定義します。 func と argc は rb_define_method と同じです。
モジュール module にモジュール関数 name を定義します。
func と argc は rb_define_method と同じです。 -
Array
# repeated _ permutation(n) -> Enumerator (54901.0) -
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
得られる順列の順序は保証されません。ブロックなしで呼び出されると, 順列
を生成する Enumerator オブジェクトを返します。
@param n 生成する配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
//emlist[例][ruby... -
Array
# repeated _ permutation(n) { |p| . . . } -> self (54901.0) -
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
得られる順列の順序は保証されません。ブロックなしで呼び出されると, 順列
を生成する Enumerator オブジェクトを返します。
@param n 生成する配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
//emlist[例][ruby... -
CSV
:: DEFAULT _ OPTIONS -> Hash (54901.0) -
このオプションは呼び出し側で上書きしなかったときに使用するオプションです。
このオプションは呼び出し側で上書きしなかったときに使用するオプションです。
: :col_sep
","
: :row_sep
:auto
: :quote_char
'"'
: :field_size_limit
nil
: :converters
nil
: :unconverted_fields
nil
: :headers
false
: :return_headers
false
: :header_converters
nil
: :skip_blanks
false
: :force_quotes
false
: :skip_lin... -
Encoding
:: UndefinedConversionError # source _ encoding -> Encoding (54901.0) -
エラーを発生させた変換の変換元のエンコーディングを Encoding オブジェクトで返します。
エラーを発生させた変換の変換元のエンコーディングを Encoding
オブジェクトで返します。
変換が多段階になされる場合は元の文字列のものではない
エンコーディングが返される場合があることに注意してください。
@see Encoding::UndefinedConversionError#destination_encoding -
Encoding
:: UndefinedConversionError # source _ encoding _ name -> Encoding (54901.0) -
エラーを発生させた変換の変換元のエンコーディングを文字列で返します。
エラーを発生させた変換の変換元のエンコーディングを文字列で返します。
@see Encoding::UndefinedConversionError#source_encoding -
Gem
:: Dependency # version _ requirements -> Gem :: Requirement (54901.0) -
依存しているバージョンを返します。
依存しているバージョンを返します。 -
Gem
:: Installer # build _ extensions (54901.0) -
拡張ライブラリをビルドします。
拡張ライブラリをビルドします。
拡張ライブラリをビルドするためのファイルタイプとして有効であるのは、
extconf.rb, configure script, Rakefile, mkmf_files です。 -
Gem
:: QuickLoader # push _ all _ highest _ version _ gems _ on _ load _ path (54901.0) -
prelude.c で定義されている内部用のメソッドです。
prelude.c で定義されている内部用のメソッドです。 -
Gem
:: QuickLoader # push _ gem _ version _ on _ load _ path (54901.0) -
prelude.c で定義されている内部用のメソッドです。
prelude.c で定義されている内部用のメソッドです。 -
Net
:: SMTP . default _ submission _ port -> Integer (54901.0) -
デフォルトのサブミッションポート番号(587)を返します。
デフォルトのサブミッションポート番号(587)を返します。 -
Object
:: RUBY _ DESCRIPTION -> String (54901.0) -
Ruby の詳細を表す文字列。
Ruby の詳細を表す文字列。
ruby -v で表示される内容が格納されています。 -
OpenSSL
:: OCSP :: REVOKED _ STATUS _ AFFILIATIONCHANGED -> Integer (54901.0) -
OpenSSL::OCSP::BasicResponse#status の失効理由コードで、 証明書の記載内容が変更されたことを意味します。
OpenSSL::OCSP::BasicResponse#status の失効理由コードで、
証明書の記載内容が変更されたことを意味します。
詳しくは 3280 や X.509 を参照してください。 -
OpenSSL
:: SSL :: SSLSocket # session _ reused? -> bool (54901.0) -
利用している SSL セッションが再利用されたものである 場合に真を返します。
利用している SSL セッションが再利用されたものである
場合に真を返します。
@see OpenSSL::SSL::Session,
OpenSSL::SSL::SSLSocket#session,
OpenSSL::SSL::SSLSocket#session= -
Zlib
:: DEFAULT _ COMPRESSION -> Integer (54901.0) -
Zlib::Deflate.new や Zlib::Deflate#deflate 等に渡す、 圧縮レベルを表す整数です。
Zlib::Deflate.new や Zlib::Deflate#deflate 等に渡す、
圧縮レベルを表す整数です。 -
static int e
_ option _ supplied(void) (54901.0) -
ruby -e で与えたプログラムを実行中なら真。
ruby -e で与えたプログラムを実行中なら真。 -
CGI
:: QueryExtension # request _ method -> String (54601.0) -
ENV['REQUEST_METHOD'] を返します。
ENV['REQUEST_METHOD'] を返します。 -
Encoding
:: InvalidByteSequenceError # destination _ encoding -> Encoding (54601.0) -
エラーを発生させた変換の変換先のエンコーディングを Encoding オブジェクトで返します。
エラーを発生させた変換の変換先のエンコーディングを Encoding
オブジェクトで返します。
@see Encoding::InvalidByteSequenceError#source_encoding,
Encoding::UndefinedConversionError#destination_encoding -
Encoding
:: InvalidByteSequenceError # destination _ encoding _ name -> String (54601.0) -
エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
@see Encoding::InvalidByteSequenceError#destination_encoding -
RDoc
:: Options # force _ output -> bool (54601.0) -
コマンドライン引数の --force_output オプションを指定していた場合、true を返します。--no-force_output オプションを指定していた場合、false を返 します。
コマンドライン引数の --force_output オプションを指定していた場合、true
を返します。--no-force_output オプションを指定していた場合、false を返
します。
どちらも指定しなかった場合は true を返します。 -
RDoc
:: Options # force _ output=(val) (54601.0) -
val に true を指定した場合、コマンドライン引数の --force_output オプショ ンと同様の指定を行います。
val に true を指定した場合、コマンドライン引数の --force_output オプショ
ンと同様の指定を行います。
@param val --force_output オプションと同じ指定を行う場合は true、そうで
ない場合は false を指定します。 -
RDoc
:: Options # rdoc _ include -> [String] (54601.0) -
コマンドライン引数の --include オプションで指定したディレクトリを文字列 の配列で返します。
コマンドライン引数の --include オプションで指定したディレクトリを文字列
の配列で返します。
指定しなかった場合は ['.'] を返します。 -
UnboundMethod
# source _ location -> [String , Integer] | nil (54601.0) -
ソースコードのファイル名と行番号を配列で返します。
ソースコードのファイル名と行番号を配列で返します。
その手続オブジェクトが ruby で定義されていない(つまりネイティブ
である)場合は nil を返します。
//emlist[例][ruby]{
require 'time'
Time.instance_method(:zone).source_location # => nil
Time.instance_method(:httpdate).source_location # => ["/Users/user/.rbenv/versions/2.4.3/lib/ruby/2.4.0/time.rb", 654]
/... -
Encoding
:: UndefinedConversionError (54055.0) -
エンコーディング変換後の文字が存在しない場合に発生する例外。
エンコーディング変換後の文字が存在しない場合に発生する例外。
UTF-8 にしかない文字を EUC-JP に変換しようとした場合などに発生します。
//emlist[例][ruby]{
"\u2603".encode(Encoding::EUC_JP)
#=> Encoding::UndefinedConversionError: U+2603 from UTF-8 to EUC-JP
//}
変換が多段階でなされ、その途中で例外が生じた場合は、
例外オブジェクトが保持するエラー情報はその中間のものになります。
//emlist[例][ruby]{
ec = Encoding::Co... -
rubygems
/ commands / specification _ command (54019.0) -
指定された Gem パッケージの gemspec の情報を YAML 形式で表示するためのライブラリです。
指定された Gem パッケージの gemspec の情報を YAML 形式で表示するためのライブラリです。
Usage: gem specification [GEMFILE] [options]
Options:
-v, --version VERSION Specify version of gem to examine
--platform PLATFORM Specify the platform of gem to specification
--all ... -
Gem
:: DefaultUserInteraction (54001.0) -
このモジュールはデフォルトの Gem::UserInteraction を定義しています。
このモジュールはデフォルトの Gem::UserInteraction を定義しています。 -
Gem
:: GemNotFoundException (54001.0) -
Gem が見つからなかった場合の例外です。
Gem が見つからなかった場合の例外です。 -
Gem
:: InstallUpdateOptions (54001.0) -
Gem::Command で使用するインストールとアップデートに関するオプションを 扱うためのモジュールです。
Gem::Command で使用するインストールとアップデートに関するオプションを
扱うためのモジュールです。 -
Gem
:: Installer :: ExtensionBuildError (54001.0) -
拡張ライブラリをビルド中にエラーが発生した場合に発生します。
拡張ライブラリをビルド中にエラーが発生した場合に発生します。 -
Gem
:: OperationNotSupportedError (54001.0) -
サポートされていない操作を行った場合に使用する例外です。
サポートされていない操作を行った場合に使用する例外です。 -
IRB
:: StdioInputMethod (54001.0) -
標準入力を表すクラスです。ライブラリ内部で使用します。
標準入力を表すクラスです。ライブラリ内部で使用します。 -
Matrix
:: EigenvalueDecomposition (54001.0) -
行列の固有分解の情報を保持するクラスです。
行列の固有分解の情報を保持するクラスです。
Matrix#eigensystem の返り値のクラスです。 -
Matrix
:: LUPDecomposition (54001.0) -
行列のLUP分解の情報を保持するクラスです。
行列のLUP分解の情報を保持するクラスです。
Matrix#lup_decomposition の返り値のクラスです。 -
Net
:: HTTPNetworkAuthenticationRequired (54001.0) -
HTTP レスポンス 511 (Network Authentication Required) を表現するクラスです。
HTTP レスポンス 511 (Network Authentication Required) を表現するクラスです。
詳しくは 6585 を見てください。 -
Net
:: HTTPPreconditionRequired (54001.0) -
HTTP レスポンス 428 (Precondition Required) を表現するクラスです。
HTTP レスポンス 428 (Precondition Required) を表現するクラスです。
詳しくは 6585 を見てください。 -
Net
:: HTTPProxyAuthenticationRequired (54001.0) -
HTTP レスポンス 407 (Proxy Authentication Required) を表現するクラスです。
HTTP レスポンス 407 (Proxy Authentication Required) を表現するクラスです。
詳しくは 7235 Section 3.2 を見てください。 -
Net
:: HTTPVersionNotSupported (54001.0) -
HTTP レスポンス 505 (HTTP Version not supported) を表現するクラスです。
HTTP レスポンス 505 (HTTP Version not supported) を表現するクラスです。
詳しくは 7231 Section 6.6.6 を見てください。 -
REXML
:: UndefinedNamespaceException (54001.0) -
XMLのパース中に、定義されていない名前空間が現れた場合に発生する 例外です。
XMLのパース中に、定義されていない名前空間が現れた場合に発生する
例外です。 -
RSS
:: UnknownConversionMethodError (54001.0) -
-
WEBrick
:: HTTPStatus :: HTTPVersionNotSupported (54001.0) -
HTTP のステータスコード 505 HTTP Version Not Supported を表すクラスです。
HTTP のステータスコード 505 HTTP Version Not Supported を表すクラスです。 -
WEBrick
:: HTTPStatus :: ProxyAuthenticationRequired (54001.0) -
HTTP のステータスコード 407 Proxy Authentication Required を表すクラスです。
HTTP のステータスコード 407 Proxy Authentication Required を表すクラスです。 -
rubygems
/ install _ update _ options (54001.0) -
Gem::Command で使用するインストールとアップデートに関するオプションを 扱うためのモジュールを定義したライブラリです。
Gem::Command で使用するインストールとアップデートに関するオプションを
扱うためのモジュールを定義したライブラリです。 -
Exception2MessageMapper
# def _ exception(exception _ name , message _ format , superclass = StandardError) -> Class (46501.0) -
exception_name という名前の例外クラスを定義します。
exception_name という名前の例外クラスを定義します。
@param exception_name 定義する例外クラスの名前をシンボルで指定します。
@param message_format メッセージのフォーマット。
@param superclass 定義する例外のスーパークラスを指定します。
省略すると StandardError を使用します。 -
Exception2MessageMapper
. def _ exception(klass , exception _ name , message _ format , superklass = StandardError) -> Class (46501.0) -
exception_name という名前の例外クラスを定義します。
exception_name という名前の例外クラスを定義します。
@param klass 一階層上となるクラス名を指定します。
@param exception_name 例外クラスの名前をシンボルで指定します。
@param message_format メッセージのフォーマットを指定します。
Kernel.#sprintf のフォーマット文字列と同じ形式を使用できます。
@param superklass 定義する例外クラスのスーパークラスを指定します。
省略すると StandardError を使用... -
DRb
:: DRbUnknown # exception -> DRb :: DRbUnknownError (46201.0) -
マーシャリングされたオブジェクトが元のオブジェクトに変換できなかった、 ということを意味する例外オブジェクトを返します。
マーシャリングされたオブジェクトが元のオブジェクトに変換できなかった、
ということを意味する例外オブジェクトを返します。
この例外オブジェクトの DRb::DRbUnknownError#unknown を
呼び出すと、 self が返されます。 -
Gem
:: LoadError # version _ requirement=(version _ requirement) (46201.0) -
ロードに失敗した Gem の必要条件をセットします。
ロードに失敗した Gem の必要条件をセットします。
@param version_requirement Gem::Requirement のインスタンスをセットします。
@see Gem::Requirement, Gem::Dependency#version_requirements -
Net
:: IMAP :: BodyTypeMultipart # disposition -> Net :: IMAP :: ContentDisposition | nil (46201.0) -
Content-Dispotition の値を返します。
Content-Dispotition の値を返します。
Net::IMAP::ContentDisposition オブジェクトを返します。
@see 1806, 2183 -
RDoc
:: Context # current _ section -> RDoc :: Context :: Section (46201.0) -
現在の section を返します。
現在の section を返します。 -
Rational
# round(precision = 0) -> Integer | Rational (46201.0) -
自身ともっとも近い整数を返します。
自身ともっとも近い整数を返します。
中央値 0.5, -0.5 はそれぞれ 1,-1 に切り上げされます。
@param precision 計算結果の精度
@raise TypeError precision に整数以外のものを指定すると発生します。
//emlist[例][ruby]{
Rational(3).round # => 3
Rational(2, 3).round # => 1
Rational(-3, 2).round # => -2
//}
precision を指定した場合は指定した桁数の数値と、上述の性質に最も近い整
数か Rational を返し... -
UNIXSocket
# send _ io(io) -> nil (46027.0) -
引数 io に対応するファイルディスクリプタをソケットの接続先に送ります。
引数 io に対応するファイルディスクリプタをソケットの接続先に送ります。
require 'socket'
s1, s2 = UNIXSocket.pair
s1.send_io STDOUT
stdout = s2.recv_io
p STDOUT.fileno #=> 1
p stdout.fileno #=> 6
stdout.puts "hello" # outputs "hello\n" to standard output.
@param io 送るファイルディスクリプタ(整数 or IOオブジェクト) -
OptionParser
# summary _ indent=(indent) (45955.0) -
サマリを表示する時のインデントを文字列で指定します。
サマリを表示する時のインデントを文字列で指定します。
@param indent サマリを表示する時に使われるインデントを文字列で指定します。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summary_indent # => " "
opts.summarize
# ... -
OptionParser
# summary _ width=(width) (45955.0) -
サマリを表示するときの幅を整数で指定します。
サマリを表示するときの幅を整数で指定します。
@param width サマリを表示するときの幅を整数で指定します。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summary_width # => 32
opts.summarize
# => [" -i, --init\n"... -
Etc
:: CS _ GNU _ LIBPTHREAD _ VERSION -> Integer (45901.0) -
Etc.#confstr の引数に指定します。
Etc.#confstr の引数に指定します。
詳細は confstr(3) を参照してください。 -
Gem
:: Commands :: UpdateCommand # do _ rubygems _ update(version) (45901.0) -
RubyGems 自体を更新します。
RubyGems 自体を更新します。 -
Gem
:: Ext :: ExtConfBuilder . build(extension , directory , dest _ path , results) -> Array (45901.0) -
@todo
@todo
Makefile が存在しない場合は、extconf.rb を実行して
Makefile を作成してから make を実行します。
@param extension ファイル名を指定します。
@param directory このメソッドでは使用していません。
@param dest_path ???
@param results コマンドの実行結果を格納します。破壊的に変更されます。
@see Gem::Ext::Builder.make -
Gem
:: Ext :: RakeBuilder . build(extension , directory , dest _ path , results) -> Array (45901.0) -
@todo
@todo
mkrf_conf が存在する場合は、それを実行してから Rake を実行します。
@param extension ファイル名を指定します。
@param directory このメソッドでは使用していません。
@param dest_path ???
@param results コマンドの実行結果を格納します。破壊的に変更されます。
@see Gem::Ext::Builder.make -
Gem
:: LoadError # version _ requirement -> Get :: Requirement (45901.0) -
ロードに失敗した Gem の必要条件を返します。
ロードに失敗した Gem の必要条件を返します。
@see Gem::Requirement, Gem::Dependency#version_requirements