種類
ライブラリ
- English (8)
- ビルトイン (625)
- benchmark (4)
- bigdecimal (20)
-
bigdecimal
/ ludcmp (1) -
bigdecimal
/ newton (2) -
bigdecimal
/ util (7) -
cgi
/ core (4) -
cgi
/ html (4) -
cgi
/ session (15) -
cgi
/ session / pstore (5) - csv (22)
- date (16)
- dbm (2)
- delegate (17)
- digest (4)
- drb (4)
-
drb
/ extserv (1) -
drb
/ timeridconv (3) - erb (4)
- etc (4)
- fiddle (20)
-
fiddle
/ import (5) - fileutils (3)
- find (1)
- forwardable (8)
- gdbm (2)
- getoptlong (23)
- ipaddr (3)
-
irb
/ cmd / help (1) -
irb
/ context (5) -
irb
/ ext / history (1) -
irb
/ ext / save-history (5) -
irb
/ frame (4) -
irb
/ inspector (5) - json (23)
-
json
/ add / bigdecimal (1) -
json
/ add / complex (1) -
json
/ add / date (1) -
json
/ add / date _ time (1) -
json
/ add / exception (1) -
json
/ add / ostruct (1) -
json
/ add / range (1) -
json
/ add / regexp (1) -
json
/ add / time (1) - kconv (6)
- logger (1)
- matrix (86)
- mkmf (4)
- monitor (16)
-
net
/ ftp (7) -
net
/ http (7) -
net
/ imap (9) -
net
/ pop (1) -
net
/ smtp (11) - objspace (1)
- observer (1)
- openssl (174)
- optparse (26)
- ostruct (6)
- pathname (85)
- prime (32)
- profiler (1)
- pstore (19)
- psych (18)
- rake (19)
-
rdoc
/ code _ object (1) -
rdoc
/ context (3) -
rdoc
/ generator / darkfish (4) -
rdoc
/ generator / json _ index (3) -
rdoc
/ generator / ri (3) -
rdoc
/ markup (3) -
rdoc
/ markup / formatter (1) -
rdoc
/ markup / to _ ansi (1) -
rdoc
/ markup / to _ bs (1) -
rdoc
/ markup / to _ html (1) -
rdoc
/ markup / to _ html _ crossref (1) -
rdoc
/ markup / to _ rdoc (1) -
rdoc
/ parser (1) -
rdoc
/ parser / c (2) -
rdoc
/ parser / changelog (1) -
rdoc
/ parser / markdown (1) -
rdoc
/ parser / rd (1) -
rdoc
/ parser / ruby (2) -
rdoc
/ parser / simple (2) -
rdoc
/ rdoc (1) -
rdoc
/ top _ level (11) - readline (14)
- resolv (7)
- rexml (1)
-
rexml
/ document (39) -
rexml
/ parsers / pullparser (1) -
ripper
/ filter (2) -
ripper
/ lexer (3) - rubygems (1)
-
rubygems
/ commands / update _ command (1) -
rubygems
/ dependency _ installer (1) -
rubygems
/ dependency _ list (1) -
rubygems
/ ext / builder (1) -
rubygems
/ ext / configure _ builder (1) -
rubygems
/ ext / ext _ conf _ builder (1) -
rubygems
/ ext / rake _ builder (1) -
rubygems
/ indexer (3) -
rubygems
/ package / tar _ header (1) -
rubygems
/ package / tar _ reader / entry (1) -
rubygems
/ platform (2) -
rubygems
/ requirement (1) -
rubygems
/ source _ index (2) -
rubygems
/ specification (4) -
rubygems
/ validator (4) -
rubygems
/ version (2) - sdbm (4)
- set (3)
- shell (9)
-
shell
/ command-processor (7) -
shell
/ filter (12) -
shell
/ process-controller (1) - singleton (2)
- socket (131)
- stringio (11)
- syslog (1)
- tsort (8)
- un (3)
- uri (15)
- weakref (2)
-
webrick
/ httpauth / authenticator (12) -
webrick
/ httprequest (1) -
webrick
/ httpresponse (7) -
webrick
/ httpstatus (1) -
webrick
/ httputils (3) -
webrick
/ httpversion (1) -
webrick
/ log (6) -
webrick
/ server (2) - win32ole (17)
-
yaml
/ dbm (2) -
yaml
/ store (2) - zlib (11)
クラス
-
ARGF
. class (26) - Addrinfo (7)
- Array (78)
- BasicObject (4)
- BasicSocket (1)
-
Benchmark
:: Tms (3) - BigDecimal (23)
- CGI (1)
-
CGI
:: Cookie (2) -
CGI
:: Session :: FileStore (5) -
CGI
:: Session :: MemoryStore (5) -
CGI
:: Session :: NullStore (5) -
CGI
:: Session :: PStore (5) - CSV (11)
-
CSV
:: FieldInfo (1) -
CSV
:: Row (2) -
CSV
:: Table (8) - Complex (10)
- DBM (2)
-
DRb
:: DRbIdConv (2) -
DRb
:: DRbServer (1) -
DRb
:: ExtServ (1) -
DRb
:: TimerIdConv (3) - Date (11)
- DateTime (4)
- Delegator (14)
-
Digest
:: Base (3) - Dir (3)
- ERB (3)
- Encoding (2)
-
Encoding
:: Converter (7) - Enumerator (17)
-
Enumerator
:: Lazy (34) -
Enumerator
:: Yielder (2) -
Etc
:: Group (1) -
Etc
:: Passwd (1) - Exception (4)
- FalseClass (2)
-
Fiddle
:: CStruct (2) -
Fiddle
:: Closure (1) -
Fiddle
:: Function (2) -
Fiddle
:: Handle (1) -
Fiddle
:: Pointer (16) - File (12)
-
File
:: Stat (3) - Float (11)
- GDBM (2)
-
Gem
:: Commands :: UpdateCommand (1) -
Gem
:: DependencyInstaller (1) -
Gem
:: DependencyList (1) -
Gem
:: Ext :: Builder (1) -
Gem
:: Ext :: ConfigureBuilder (1) -
Gem
:: Ext :: ExtConfBuilder (1) -
Gem
:: Ext :: RakeBuilder (1) -
Gem
:: Indexer (3) -
Gem
:: Package :: TarHeader (1) -
Gem
:: Package :: TarReader :: Entry (1) -
Gem
:: Platform (2) -
Gem
:: Requirement (1) -
Gem
:: SourceIndex (2) -
Gem
:: Specification (4) -
Gem
:: Validator (4) -
Gem
:: Version (2) - GetoptLong (23)
- Hash (34)
- IO (25)
- IPAddr (3)
-
IRB
:: Context (9) -
IRB
:: ExtendCommand :: Help (1) -
IRB
:: Frame (4) -
IRB
:: Inspector (4) - Integer (17)
-
JSON
:: State (2) - Logger (1)
- MatchData (7)
- Matrix (29)
-
Matrix
:: EigenvalueDecomposition (7) -
Matrix
:: LUPDecomposition (3) - Method (3)
- Module (12)
- Monitor (4)
-
MonitorMixin
:: ConditionVariable (5) - NameError (1)
-
Net
:: FTP (5) -
Net
:: FTP :: MLSxEntry (2) -
Net
:: HTTP (1) -
Net
:: HTTPGenericRequest (2) -
Net
:: HTTPResponse (4) -
Net
:: IMAP (6) -
Net
:: IMAP :: Envelope (3) -
Net
:: POPMail (1) -
Net
:: SMTP (11) - NilClass (2)
- Numeric (11)
- Object (28)
-
OpenSSL
:: ASN1 :: ASN1Data (1) -
OpenSSL
:: BN (16) -
OpenSSL
:: Config (1) -
OpenSSL
:: HMAC (3) -
OpenSSL
:: Netscape :: SPKI (4) -
OpenSSL
:: OCSP :: BasicResponse (1) -
OpenSSL
:: OCSP :: Request (2) -
OpenSSL
:: OCSP :: Response (1) -
OpenSSL
:: PKCS12 (1) -
OpenSSL
:: PKCS7 (4) -
OpenSSL
:: PKey :: DH (10) -
OpenSSL
:: PKey :: DSA (12) -
OpenSSL
:: PKey :: EC (3) -
OpenSSL
:: PKey :: EC :: Group (6) -
OpenSSL
:: PKey :: EC :: Point (3) -
OpenSSL
:: PKey :: RSA (13) -
OpenSSL
:: SSL :: SSLContext (4) -
OpenSSL
:: SSL :: SSLServer (1) -
OpenSSL
:: SSL :: SSLSocket (2) -
OpenSSL
:: SSL :: Session (3) -
OpenSSL
:: X509 :: Attribute (3) -
OpenSSL
:: X509 :: CRL (6) -
OpenSSL
:: X509 :: Certificate (6) -
OpenSSL
:: X509 :: Extension (4) -
OpenSSL
:: X509 :: ExtensionFactory (12) -
OpenSSL
:: X509 :: Name (10) -
OpenSSL
:: X509 :: Request (6) -
OpenSSL
:: X509 :: Store (12) -
OpenSSL
:: X509 :: StoreContext (9) - OpenStruct (7)
- OptionParser (23)
-
OptionParser
:: ParseError (2) - PStore (18)
-
PStore
:: DummyMutex (1) - Pathname (84)
- Prime (8)
-
Prime
:: EratosthenesGenerator (3) -
Prime
:: Generator23 (3) -
Prime
:: PseudoPrimeGenerator (13) -
Prime
:: TrialDivisionGenerator (3) - Proc (7)
-
Process
:: Status (7) -
Psych
:: Nodes :: Node (5) -
Psych
:: ScalarScanner (1) -
Psych
:: Visitors :: YAMLTree (8) -
RDoc
:: CodeObject (1) -
RDoc
:: Context (3) -
RDoc
:: Generator :: Darkfish (4) -
RDoc
:: Generator :: JsonIndex (3) -
RDoc
:: Generator :: RI (3) -
RDoc
:: Markup (3) -
RDoc
:: Markup :: Formatter (1) -
RDoc
:: Markup :: ToAnsi (1) -
RDoc
:: Markup :: ToBs (1) -
RDoc
:: Markup :: ToHtml (1) -
RDoc
:: Markup :: ToHtmlCrossref (1) -
RDoc
:: Markup :: ToRdoc (1) -
RDoc
:: Options (1) -
RDoc
:: Parser (1) -
RDoc
:: Parser :: C (2) -
RDoc
:: Parser :: ChangeLog (1) -
RDoc
:: Parser :: Markdown (1) -
RDoc
:: Parser :: RD (1) -
RDoc
:: Parser :: Ruby (2) -
RDoc
:: Parser :: Simple (2) -
RDoc
:: RDoc (1) -
RDoc
:: TopLevel (11) -
REXML
:: Attribute (4) -
REXML
:: Attributes (1) -
REXML
:: CData (3) -
REXML
:: Comment (2) -
REXML
:: Declaration (1) -
REXML
:: DocType (1) -
REXML
:: Element (5) -
REXML
:: Elements (6) -
REXML
:: Entity (2) -
REXML
:: ExternalEntity (1) -
REXML
:: NotationDecl (1) -
REXML
:: Parent (7) -
REXML
:: ParseException (1) -
REXML
:: Parsers :: PullParser (1) -
REXML
:: Text (2) -
Rake
:: Application (2) -
Rake
:: EarlyTime (1) -
Rake
:: FileList (4) -
Rake
:: InvocationChain (2) -
Rake
:: InvocationChain :: EmptyInvocationChain (1) -
Rake
:: Task (1) -
Rake
:: TaskArguments (4) - Random (3)
- Range (13)
- Rational (9)
- Regexp (6)
-
Resolv
:: DNS :: Name (1) -
Resolv
:: DNS :: Resource :: IN :: WKS (2) -
Resolv
:: IPv4 (2) -
Resolv
:: IPv6 (2) - Ripper (2)
-
Ripper
:: Filter (2) -
Ripper
:: Lexer (1) -
RubyVM
:: InstructionSequence (4) - SDBM (4)
- Set (1)
- Shell (9)
-
Shell
:: CommandProcessor (7) -
Shell
:: Filter (12) -
Shell
:: ProcessController (1) - SignalException (3)
- SimpleDelegator (3)
- Socket (61)
-
Socket
:: Option (2) - StopIteration (1)
- String (36)
- StringIO (11)
- Struct (10)
- Symbol (24)
- Thread (8)
-
Thread
:: Backtrace :: Location (3) -
Thread
:: Queue (1) - ThreadGroup (1)
- Time (24)
- TracePoint (2)
- TrueClass (1)
- UDPSocket (3)
- UNIXSocket (3)
-
URI
:: Generic (7) -
URI
:: LDAP (2) -
URI
:: MailTo (6) - UnboundMethod (3)
- UncaughtThrowError (1)
- Vector (47)
-
WEBrick
:: BasicLog (6) -
WEBrick
:: Cookie (1) -
WEBrick
:: GenericServer (2) -
WEBrick
:: HTTPRequest (1) -
WEBrick
:: HTTPResponse (7) -
WEBrick
:: HTTPUtils :: FormData (3) -
WEBrick
:: HTTPVersion (1) - WIN32OLE (4)
-
WIN32OLE
_ EVENT (1) -
WIN32OLE
_ METHOD (3) -
WIN32OLE
_ PARAM (2) -
WIN32OLE
_ TYPE (3) -
WIN32OLE
_ TYPELIB (2) -
WIN32OLE
_ VARIABLE (2) - WeakRef (2)
-
YAML
:: DBM (2) -
YAML
:: Store (2) -
Zlib
:: GzipFile (2) -
Zlib
:: GzipReader (3) -
Zlib
:: GzipWriter (3) -
Zlib
:: ZStream (2)
モジュール
- Benchmark (1)
-
CGI
:: HtmlExtension (4) -
CGI
:: QueryExtension (1) -
CGI
:: QueryExtension :: Value (2) - DRb (1)
-
ERB
:: DefMethod (1) - Enumerable (44)
- Etc (2)
-
Fiddle
:: Importer (3) - FileTest (1)
- FileUtils (3)
- Find (1)
- Forwardable (4)
-
GC
:: Profiler (1) - Gem (1)
- IRB (1)
-
IRB
:: HistorySavingAbility (2) - JSON (9)
-
JSON
:: Generator :: GeneratorMethods :: Array (1) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (1) -
JSON
:: Generator :: GeneratorMethods :: Float (1) -
JSON
:: Generator :: GeneratorMethods :: Hash (1) -
JSON
:: Generator :: GeneratorMethods :: Integer (1) -
JSON
:: Generator :: GeneratorMethods :: NilClass (1) -
JSON
:: Generator :: GeneratorMethods :: Object (1) -
JSON
:: Generator :: GeneratorMethods :: String (3) -
JSON
:: Generator :: GeneratorMethods :: String :: Extend (1) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (1) - Kconv (3)
- Kernel (50)
- LUSolve (1)
- Marshal (1)
- MonitorMixin (7)
- Newton (2)
- ObjectSpace (3)
-
OpenSSL
:: ASN1 (2) -
OpenSSL
:: Buffering (1) -
OpenSSL
:: OCSP (1) -
OpenSSL
:: X509 (8) -
OptionParser
:: Arguable (1) - Process (7)
-
Profiler
_ _ (1) -
REXML
:: Node (1) - Rake (2)
- Readline (1)
- SingleForwardable (4)
- Singleton (1)
-
Socket
:: Constants (54) -
Syslog
:: Macros (1) - TSort (8)
-
WEBrick
:: HTTPAuth :: Authenticator (8) -
WEBrick
:: HTTPAuth :: ProxyAuthenticator (4) - Zlib (1)
オブジェクト
- ENV (32)
-
Readline
:: HISTORY (13) - main (2)
キーワード
- ! (1)
- != (1)
-
$ CHILD _ STATUS (1) -
$ ERROR _ INFO (1) -
$ FIELD _ SEPARATOR (1) -
$ FS (1) -
$ INPUT _ RECORD _ SEPARATOR (1) -
$ OUTPUT _ FIELD _ SEPARATOR (1) -
$ OUTPUT _ RECORD _ SEPARATOR (1) -
$ RS (1) -
$ stdin (1) -
$ topdir (1) - % (2)
- & (2)
- * (5)
- + (2)
- +@ (2)
- -@ (2)
-
/ (1) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (1) - << (10)
- <=> (2)
- == (5)
- === (1)
- =~ (1)
- > (1)
- >> (3)
-
AF
_ PPP (2) -
AI
_ PASSIVE (2) -
ALT
_ SEPARATOR (1) -
ARGUMENT
_ FLAGS (1) - ASN1 (1)
- Array (1)
- AuthException (2)
- AuthScheme (1)
- Base (1)
-
CLOCK
_ MONOTONIC (1) -
CLOCK
_ MONOTONIC _ COARSE (1) -
CLOCK
_ MONOTONIC _ FAST (1) -
CLOCK
_ MONOTONIC _ PRECISE (1) -
CLOCK
_ MONOTONIC _ RAW (1) -
CLOCK
_ MONOTONIC _ RAW _ APPROX (1) -
CODE
_ CLASS _ TO _ OBJ (1) -
CODE
_ TO _ OBJ (1) - COMPAT (1)
- Complex (1)
- ConverterNotFoundError (1)
- DATA (1)
-
DEFAULT
_ CERT _ STORE (1) - DESCRIPTION (1)
- DIRECTORIES (1)
-
EAI
_ PROTOCOL (2) -
EMPTY
_ MARSHAL _ CHECKSUM (1) -
EMPTY
_ MARSHAL _ DATA (1) -
EMPTY
_ STRING (1) - ExternalEntity (1)
- Float (1)
-
GENERATOR
_ DIR (1) - Hash (1)
- HeaderConverters (1)
-
IFF
_ MONITOR (2) -
IFF
_ POINTOPOINT (2) -
INADDR
_ ANY (2) -
IPPROTO
_ AH (2) -
IPPROTO
_ BIP (2) -
IPPROTO
_ DSTOPTS (2) -
IPPROTO
_ EGP (2) -
IPPROTO
_ EON (2) -
IPPROTO
_ ESP (2) -
IPPROTO
_ FRAGMENT (2) -
IPPROTO
_ GGP (2) -
IPPROTO
_ HELLO (2) -
IPPROTO
_ HOPOPTS (2) -
IPPROTO
_ ICMP (2) -
IPPROTO
_ ICMPV6 (2) -
IPPROTO
_ IDP (2) -
IPPROTO
_ IGMP (2) -
IPPROTO
_ IP (2) -
IPPROTO
_ IPV6 (2) -
IPPROTO
_ MAX (2) -
IPPROTO
_ ND (2) -
IPPROTO
_ NONE (2) -
IPPROTO
_ PUP (2) -
IPPROTO
_ RAW (2) -
IPPROTO
_ ROUTING (2) -
IPPROTO
_ TCP (2) -
IPPROTO
_ TP (2) -
IPPROTO
_ UDP (2) -
IPPROTO
_ XTP (2) -
IPV6
_ DSTOPTS (2) -
IPV6
_ RECVDSTOPTS (2) -
IPV6
_ RTHDRDSTOPTS (2) -
IP
_ FREEBIND (2) -
IP
_ ONESBCAST (2) -
IP
_ OPTIONS (2) -
IP
_ PKTOPTIONS (2) -
IP
_ RECVRETOPTS (2) -
IP
_ RECVTOS (2) -
IP
_ RETOPTS (2) -
IP
_ ROUTER _ ALERT (2) -
IP
_ TOS (2) -
IP
_ TTL (2) - InfoField (1)
- Inspector (1)
- Integer (1)
-
LOCAL
_ CREDS (2) -
LOCAL
_ PEERCRED (2) -
LOG
_ UPTO (1) -
MSG
_ FLUSH (2) -
MSG
_ HAVEMORE (2) - MULTILINE (1)
-
NEWS for Ruby 2
. 0 . 0 (1) -
NEWS for Ruby 2
. 1 . 0 (1) -
NEWS for Ruby 2
. 2 . 0 (1) -
NEWS for Ruby 2
. 3 . 0 (1) -
NEWS for Ruby 2
. 4 . 0 (1) -
NO
_ ARGUMENT (1) - Nodes (1)
- NotationDecl (1)
- Numeric (1)
-
OBJECT
_ DESCRIPTOR (1) - OCSP (1)
- ONELINE (1)
-
OPTIONAL
_ ARGUMENT (1) - ORDERINGS (1)
-
OS
_ TOPS20 (1) - Observable (1)
-
PATH
_ SEPARATOR (2) - PERMUTE (1)
-
PF
_ PPP (2) - Pathname (1)
-
RDWR
_ ACCESS (1) -
RD
_ ACCESS (1) -
REQUIRED
_ ARGUMENT (1) -
REQUIRE
_ ORDER (1) -
RETURN
_ IN _ ORDER (1) - RFC2253 (1)
- RequestField (2)
- RequestURITooLarge (1)
- ResponseField (2)
- ResponseInfoField (1)
- Ruby用語集 (1)
-
SC
_ MONOTONIC _ CLOCK (1) -
SC
_ THREAD _ DESTRUCTOR _ ITERATIONS (1) -
SEARCH
_ INDEX _ FILE (1) - SEPARATOR (1)
-
SEPARATOR
_ PAT (1) -
SESSION
_ CACHE _ NO _ AUTO _ CLEAR (1) -
SESSION
_ CACHE _ NO _ INTERNAL _ STORE (1) -
SO
_ BINDTODEVICE (2) -
SO
_ PEERCRED (2) -
SO
_ WANTOOBFLAG (2) -
SPECIFICATION
_ VERSION _ HISTORY (1) -
STATUS
_ STARTED (1) -
STATUS
_ TERMINATED (1) -
STATUS
_ YET (1) - Separator (1)
- Singleton (1)
- String (1)
-
TCP
_ NODELAY (2) - TODAY (1)
-
TOPLEVEL
_ BINDING (1) -
TO
_ PATH (1) - TRUSTOTHER (1)
- UndefinedConversionError (1)
- VERSION (1)
-
V
_ ERR _ CERT _ CHAIN _ TOO _ LONG (1) -
V
_ ERR _ UNABLE _ TO _ DECODE _ ISSUER _ PUBLIC _ KEY (1) -
V
_ ERR _ UNABLE _ TO _ DECRYPT _ CERT _ SIGNATURE (1) -
V
_ ERR _ UNABLE _ TO _ DECRYPT _ CRL _ SIGNATURE (1) -
V
_ ERR _ UNABLE _ TO _ GET _ CRL (1) -
V
_ ERR _ UNABLE _ TO _ GET _ ISSUER _ CERT (1) -
V
_ ERR _ UNABLE _ TO _ GET _ ISSUER _ CERT _ LOCALLY (1) -
V
_ ERR _ UNABLE _ TO _ VERIFY _ LEAF _ SIGNATURE (1) -
WR
_ ACCESS (1) - YAMLTree (1)
- [] (20)
- []= (5)
-
_ _ getobj _ _ (3) -
_ _ setobj _ _ (3) -
_ _ to _ s _ _ (1) - abort (1)
- abs (1)
- absolute? (1)
-
absolute
_ path (1) - add (1)
-
add
_ authenticator (1) -
add
_ cert (1) -
add
_ class _ or _ module (1) -
add
_ crl (1) -
add
_ element (1) -
add
_ file (1) -
add
_ generator (1) -
add
_ html (1) -
add
_ namespace (1) -
add
_ path (1) -
add
_ special (1) -
add
_ tag (1) -
add
_ to (1) -
add
_ trace _ func (1) -
add
_ word _ pair (1) - alien (1)
-
all
_ classes _ and _ modules (1) - ancestors (1)
-
angle
_ with (1) - append (5)
- application (1)
- ascend (2)
- at (1)
- atime (2)
-
auto
_ indent _ mode (1) - autoclose= (1)
- autoclose? (1)
- autoload (2)
- autoload? (2)
- autorequire (1)
-
backtrace
_ locations (2) - basename (1)
- basis (1)
- begin (1)
- bigdecimal (1)
-
bigdecimal
/ newton (1) - bind (1)
- binread (1)
- binwrite (1)
- birthtime (1)
- blockdev? (1)
- body= (1)
-
body
_ stream (1) -
body
_ stream= (1) - bottom (2)
- broadcast (1)
- bsearch (2)
-
bsearch
_ index (1) - build (5)
- bytes (5)
- call (1)
- caller (3)
- capitalize (1)
- captures (1)
- casecmp (1)
- casecmp? (1)
- cat (3)
- ceil (3)
-
cert
_ store (2) - chain (2)
- chardev? (1)
- chars (5)
-
check
_ signedness (2) - children (2)
- chmod (2)
- chown (1)
- chunk (3)
-
chunk
_ while (2) - chunked= (1)
- cleanup (1)
- clear (1)
-
clock
_ gettime (1) - clone (3)
- close (5)
- closed? (1)
- codepoints (5)
- coerce (2)
- cofactor (2)
-
cofactor
_ expansion (1) -
col
_ sep (1) - collect (6)
- collect! (1)
- collect2 (2)
-
collect
_ concat (2) - column (1)
-
column
_ vector (1) -
column
_ vectors (1) - combination (2)
- commit (1)
- component (2)
- config (1)
-
connect
_ to (2) -
content
_ length (1) -
content
_ length= (1) - covector (1)
-
create
_ ext (1) -
create
_ ext _ from _ array (1) -
create
_ ext _ from _ hash (1) -
create
_ ext _ from _ string (1) -
create
_ extension (2) -
create
_ id (1) -
create
_ makefile (1) - crl (1)
- cross (1)
-
cross
_ product (1) - ctime (2)
-
current
_ cert (1) -
current
_ crl (1) - cycle (3)
- data (1)
- debug (1)
- decode (1)
-
def
_ delegator (2) -
def
_ delegators (2) -
def
_ erb _ method (1) -
def
_ inspector (1) -
def
_ instance _ delegator (1) -
def
_ instance _ delegators (1) -
def
_ single _ delegator (1) -
def
_ single _ delegators (1) -
default
_ record _ separator (1) -
define
_ singleton _ method (2) - delete (10)
-
delete
_ all (1) -
delete
_ at (2) -
delete
_ element (1) -
delete
_ if (7) -
delete
_ namespace (1) - denominator (5)
- descend (2)
-
dest
_ directory (1) - detect (1)
- directory (2)
- directory? (9)
-
directory
_ makable? (1) - dirname (1)
- dot (1)
- downcase (1)
- downto (4)
- drop (1)
-
drop
_ while (3) - dup (1)
- each (33)
- each2 (2)
-
each
_ byte (6) -
each
_ char (4) -
each
_ child (3) -
each
_ codepoint (5) -
each
_ cons (1) -
each
_ entry (2) -
each
_ index (2) -
each
_ key (2) -
each
_ line (11) -
each
_ object (2) -
each
_ pair (5) -
each
_ prime (1) -
each
_ slice (1) -
each
_ strongly _ connected _ component (2) -
each
_ strongly _ connected _ component _ from (2) -
each
_ value (2) -
each
_ with _ index (4) -
each
_ with _ object (1) - echo (3)
- eigen (1)
- eigensystem (1)
-
eigenvector
_ matrix (1) -
eigenvector
_ matrix _ inv (1) - eigenvectors (1)
- element (1)
- elements (1)
-
elements
_ to _ f (2) -
elements
_ to _ i (2) -
elements
_ to _ r (2) - empty? (2)
-
enable
_ starttls _ auto (1) - enclose (1)
- end (1)
- enter (1)
- entities (1)
- entries (1)
-
enum
_ for (4) - eql? (1)
- error (4)
- error? (1)
-
error
_ depth (1) -
error
_ string (2) -
eval
_ history (1) - executable? (1)
-
executable
_ real? (1) - execute (1)
- exist? (1)
- exit (1)
- export (5)
- extended (1)
- extname (1)
- fatal (1)
- feed (1)
- fetch (7)
- file (1)
- file? (1)
-
file
_ absolute _ name (1) -
file
_ relative _ name (1) -
file
_ stat (1) - fileno (3)
- find (4)
-
find
_ all (2) -
find
_ class _ named (1) -
find
_ index (5) -
find
_ local _ symbol (1) -
find
_ module _ named (1) - finish (1)
- finished (1)
- finished? (1)
- first (3)
-
flat
_ map (2) - flatten (1)
- flatten! (1)
- flock (1)
- floor (3)
- fnmatch (1)
- fnmatch? (1)
- force (1)
- foreach (5)
- format (1)
- formatter (1)
- freeze (1)
- ftype (1)
-
full
_ name (1) -
gems
_ to _ install (1) - generate (6)
- generator (3)
- get (1)
-
get
_ elements (1) -
get
_ option (1) - getaddrinfo (2)
- getoptlong (1)
- getopts (5)
- getservbyname (1)
- getservbyport (1)
- glob (3)
- gm (2)
- gmtoff (1)
- grep (1)
-
grep
_ v (1) -
group
_ by (1) - grpowned? (1)
- gsub (2)
- gsub! (1)
-
handle
_ interrupt (1) - handler= (1)
-
has
_ key? (1) -
has
_ value? (1) - hash (1)
-
header
_ converters (1) - headers (1)
- help (1)
- helpstring (1)
- hex (1)
- hexdigest (2)
-
history
_ file (1) - httopnly (1)
-
http
_ version (1) - id2name (1)
-
in
_ reply _ to (1) -
in
_ transaction (1) - include? (1)
- independent? (2)
- index (5)
- infinity? (1)
- info (1)
- init (1)
-
init
_ save _ history (1) - initialize (2)
-
inner
_ product (1) - insert (1)
-
insert
_ output (1) - inspect (23)
- inspect? (1)
-
inspect
_ value (1) -
installed
_ spec _ directories (1) - instance (1)
-
instance
_ methods (1) - intern (2)
- io (1)
- irb (1)
-
irb
/ completion (1) -
irb
/ ext / math-mode (1) -
irb
/ ext / save-history (1) -
irb
/ ruby-token (1) -
issuer
_ certificate (1) - iterator? (1)
- join (2)
-
json
_ create (1) - kconv (2)
-
keep
_ if (3) - key (1)
- key? (1)
- keys (1)
-
keys
_ with _ inspector (1) - lambda (2)
- lambda? (1)
-
laplace
_ expansion (1) - last (3)
- lazy (2)
- lchmod (2)
- lchown (1)
- length (3)
- line (1)
- lines (9)
- list (1)
- load (1)
-
load
_ from _ binary (1) -
load
_ from _ binary _ extra _ data (1) - local (2)
- logger (2)
- loop (1)
- lshift! (1)
- lstat (1)
- lup (1)
-
lup
_ decomposition (1) - lusolve (1)
- magnitude (1)
-
make
_ link (1) -
make
_ symlink (1) - map (6)
- map! (1)
- map2 (1)
-
marshal
_ dump (1) -
marshal
_ load (1) -
mask
_ bits! (1) - match (3)
-
max
_ by (4) - measure (1)
- member? (1)
- merge (2)
- merge! (3)
-
method
_ missing (2) - methods (1)
-
min
_ by (2) -
minmax
_ by (1) - minor (1)
- mkdir (1)
- mkmf (1)
- mkpath (1)
- mktime (2)
-
mod
_ inverse (1) - modulo (1)
-
mon
_ enter (1) -
mon
_ exit (1) -
mon
_ synchronize (1) -
mon
_ try _ enter (1) - mtime (1)
- name (7)
-
net
/ http (1) -
net
/ smtp (1) - new (79)
-
new
_ cond (1) -
new
_ ntoh (1) - next (6)
-
next
_ float (1) -
next
_ values (1) - nlsolve (1)
- norm (2)
- normalize (2)
- normalize! (1)
- nsec (1)
-
num
_ bytes (1) - numerator (5)
- oct (1)
-
ok
_ to _ remove? (1) -
ole
_ free (1) -
ole
_ query _ interface (1) -
ole
_ respond _ to? (1) -
ole
_ show _ help (1) -
on
_ XXX (1) -
on
_ default (1) - open (7)
- opendir (2)
- openssl (1)
-
optparse
/ date (1) - order (4)
- order! (2)
- ordering (1)
-
original
_ dir (2) - owned? (1)
- owner (1)
- pack (2)
- pack テンプレート文字列 (1)
- pair (2)
- parse (3)
- parse! (1)
-
parser
_ for (1) - partition (1)
- path (4)
- pathmap (1)
- peek (1)
-
peek
_ values (1) - permutation (2)
- permute (2)
- permute! (1)
- pipe? (1)
- pop (2)
- prepended (1)
-
pretty
_ generate (1) -
pretty
_ print (1) -
pretty
_ unparse (1) -
prev
_ float (1) - prime? (2)
-
prime
_ division (3) -
primitive
_ errinfo (1) - print (2)
-
private
_ instance _ methods (1) - proc (2)
- profile (1)
-
program
_ name (1) -
protected
_ instance _ methods (1) -
protected
_ methods (1) - protocol (2)
-
psych
_ to _ yaml (1) - ptr (1)
-
public
_ instance _ methods (1) -
public
_ method (1) -
public
_ methods (1) - push (1)
- putback (2)
- putc (2)
- puts (1)
- quiet (1)
- quiet? (1)
- r (1)
- rake (1)
- rand (5)
- rationalize (2)
- rcptto (1)
-
rcptto
_ list (1) -
rdoc
/ parser / c (1) - read (1)
-
read
_ body (2) - readable? (1)
-
readable
_ real? (1) - readline (1)
- readlines (4)
- readlink (1)
- ready (1)
- realm (1)
-
record
_ separator (1) - redirector (1)
- ref (1)
- reject (9)
- reject! (4)
-
relative
_ path _ from (1) - remainder (1)
-
remove
_ entry _ secure (1) -
remove
_ leading _ dot _ dir (1) - rename (6)
-
repeated
_ combination (2) -
repeated
_ permutation (2) - replace (4)
-
replace
_ child (1) -
reply
_ to (1) - reset (1)
- resolv (1)
-
respond
_ to? (2) -
respond
_ to _ missing? (2) - restore (6)
- result (2)
-
reverse
_ each (2) - rewind (5)
-
rexml
/ parsers / sax2parser (1) -
rexml
/ parsers / streamparser (1) - rindex (1)
- rmdir (1)
- rmtree (1)
- root? (1)
- roots (1)
- rotate (1)
- rotate! (1)
- round (4)
-
route
_ to (1) - row (1)
-
row
_ vector (1) -
row
_ vectors (1) - rshift! (1)
-
ruby 1
. 6 feature (1) -
ruby 1
. 8 . 2 feature (1) -
ruby 1
. 8 . 3 feature (1) -
ruby 1
. 8 . 4 feature (1) -
ruby 1
. 8 . 5 feature (1) -
ruby 1
. 9 feature (1) - rubygems (1)
-
rubygems
/ commands / dependency _ command (1) -
rubygems
/ commands / fetch _ command (1) -
rubygems
/ commands / generate _ index _ command (1) -
rubygems
/ commands / install _ command (1) -
rubygems
/ commands / list _ command (1) -
rubygems
/ commands / lock _ command (1) -
rubygems
/ commands / mirror _ command (1) -
rubygems
/ commands / outdated _ command (1) -
rubygems
/ commands / pristine _ command (1) -
rubygems
/ commands / query _ command (1) -
rubygems
/ commands / search _ command (1) -
rubygems
/ commands / server _ command (1) -
rubygems
/ commands / specification _ command (1) -
rubygems
/ commands / uninstall _ command (1) - run (1)
- sample (4)
-
save
_ history (2) - scan (6)
- select (6)
- select! (3)
- send (3)
-
send
_ io (1) -
send
_ mail (1) - sendmail (1)
- separator (1)
-
server
_ protocol (1) -
set
_ backtrace (1) -
set
_ default _ paths (1) -
set
_ error (1) -
set
_ generator (1) -
set
_ to _ infinity! (1) -
set
_ trace _ func (2) -
set
_ visibility _ for (1) - setgid? (1)
- setsockopt (1)
- setuid? (1)
- shift (2)
- signal (1)
-
singleton
_ class (1) -
singleton
_ class? (1) -
singleton
_ method (1) -
singleton
_ method _ added (1) -
singleton
_ method _ removed (1) -
singleton
_ method _ undefined (1) -
singleton
_ methods (1) - size (7)
- size? (1)
- sizeof (1)
- slice (5)
-
slice
_ after (4) -
slice
_ before (5) -
slice
_ when (2) - socket? (1)
- socketpair (2)
- solve (1)
- sort (3)
- sort! (2)
-
sort
_ by (1) -
sort
_ by! (1) -
source
_ location (1) - spawn (4)
- split (2)
- sprintf (1)
- sprintf フォーマット (1)
- srand (2)
- src (1)
- start (3)
- started (1)
- started? (1)
-
starttls
_ auto? (1) - stat (1)
- state (1)
- step (8)
- sticky? (1)
- stop (2)
- stop? (1)
-
stop
_ doc (1) -
stop
_ profile (1) -
stop
_ service (3) - stopped? (1)
- stopsig (1)
- storbinary (2)
- store (7)
- storlines (2)
- string (1)
- strptime (1)
- struct (1)
-
subject
_ certificate (1) -
subject
_ request (1) - subsec (1)
- succ (5)
- summarize (2)
- swapcase (1)
- symlink? (1)
- synchronize (2)
- sysopen (1)
- syswrite (1)
- take (1)
-
take
_ while (4) - tap (1)
- tee (3)
- terminate (1)
- terminated? (1)
- times (1)
- to= (1)
-
to
_ a (26) -
to
_ ary (7) -
to
_ binary (1) -
to
_ bn (3) -
to
_ c (4) -
to
_ csv (1) -
to
_ d (6) -
to
_ date (2) -
to
_ datetime (2) -
to
_ der (18) -
to
_ digits (1) -
to
_ enum (4) -
to
_ f (6) -
to
_ h (6) -
to
_ hash (5) -
to
_ i (19) -
to
_ id (2) -
to
_ int (6) -
to
_ io (6) -
to
_ json (18) -
to
_ json _ raw (1) -
to
_ json _ raw _ object (1) -
to
_ mailtext (1) -
to
_ name (2) -
to
_ obj (2) -
to
_ path (2) -
to
_ pem (13) -
to
_ proc (3) -
to
_ ptr (2) -
to
_ r (5) -
to
_ range (1) -
to
_ regexp (1) -
to
_ rfc822text (1) -
to
_ ruby (2) -
to
_ s (93) -
to
_ set (2) -
to
_ str (3) -
to
_ string (1) -
to
_ sym (2) -
to
_ text (10) -
to
_ time (2) -
to
_ value (1) -
to
_ write _ io (1) -
to
_ yaml (2) - today (2)
- toeuc (2)
-
token
_ match (1) - tokenize (3)
- tokens (1)
- tolocale (2)
- top (3)
-
top
_ level _ tasks (1) - toplevel (1)
- total (1)
-
total
_ in (1) -
total
_ out (1) -
total
_ time (1) - touch (2)
-
trace
_ object _ allocations _ stop (1) - tracer (1)
- transaction (1)
- transform (1)
-
transform
_ values (2) -
transform
_ values! (2) - tree (1)
- truncate (5)
-
try
_ convert (5) -
try
_ enter (1) -
try
_ mon _ enter (1) - tsort (1)
-
tsort
_ each (2) -
tsort
_ each _ child (1) -
tsort
_ each _ node (1) -
tv
_ nsec (1) -
tv
_ sec (1) -
tv
_ usec (1) -
uid
_ sort (1) -
uid
_ store (1) -
ultra
_ safe (1) - uniq (3)
- uniq! (2)
- unlink (1)
- unpack (1)
- unparse (1)
- unshift (1)
- upcase (1)
- update (7)
-
upper
_ bound (1) - upto (5)
- uptodate? (1)
- usec (1)
- userdb (1)
- userinfo= (1)
- utc (2)
- utime (1)
- v (1)
-
v
_ inv (1) - value (2)
- value? (1)
- values (2)
-
values
_ at (3) - verify (6)
-
verify
_ callback (1) -
verify
_ gem (1) -
verify
_ gem _ file (1) - version (1)
- wait (1)
-
wait
_ to _ finish _ all _ process _ controllers (1) -
wait
_ until (1) -
wait
_ while (1) - warn (2)
-
which
_ to _ update (1) -
with
_ defaults (1) -
with
_ index (4) -
with
_ object (4) -
world
_ readable? (1) -
world
_ writable? (1) - writable? (1)
-
writable
_ real? (1) - write (6)
- yaml (1)
-
yaml
/ store (1) - yield (1)
- zero? (1)
- zip (5)
- | (2)
- クラス/メソッドの定義 (1)
- セキュリティモデル (1)
- メソッド呼び出し(super・ブロック付き・yield) (1)
- 制御構造 (1)
- 正規表現 (1)
- 演算子式 (1)
検索結果
先頭5件
-
Vector
# -(v) -> Vector | Matrix (72901.0) -
self からベクトル v を減じたベクトルを返します。
self からベクトル v を減じたベクトルを返します。
v には column_size が 1 の Matrix オブジェクトも指定できます。
その場合は返り値も Matrix オブジェクトになります。
@param v 減算するベクトル。減算可能な行列やベクトルを指定します。
@raise ExceptionForMatrix::ErrDimensionMismatch 自分自身と引数のベクト
ルの要素の数(次元)が異なっていたときに発生します。 -
CGI
:: QueryExtension # server _ protocol -> String (64201.0) -
ENV['SERVER_PROTOCOL'] を返します。
ENV['SERVER_PROTOCOL'] を返します。 -
JSON
:: Generator :: GeneratorMethods :: String # to _ json _ raw _ object -> Hash (63994.0) -
生の文字列を格納したハッシュを生成します。
生の文字列を格納したハッシュを生成します。
このメソッドは UTF-8 の文字列ではなく生の文字列を JSON に変換する場合に使用してください。
require 'json'
"にほんご".encode("euc-jp").to_json_raw_object
# => {"json_class"=>"String", "raw"=>[164, 203, 164, 219, 164, 243, 164, 180]}
"にほんご".encode("euc-jp").to_json # source sequence is illegal/malformed (JSON::... -
Net
:: IMAP :: Envelope # to -> [Net :: IMAP :: Address] | nil (63952.0) -
To を Net::IMAP::Address オブジェクトの配列で返します。
To を Net::IMAP::Address オブジェクトの配列で返します。
エンベロープに存在しないときは nil を返します。 -
CGI
:: Session :: FileStore # restore -> Hash (63901.0) -
セッションの状態をファイルから復元したハッシュを返します。
セッションの状態をファイルから復元したハッシュを返します。 -
URI
:: MailTo # to -> String (63718.0) -
自身の e-mail アドレスを文字列で返します。
自身の e-mail アドレスを文字列で返します。
例:
require 'uri'
p URI.parse("mailto:nospam@example.com").to #=> "nospam@example.com" -
OpenSSL
:: X509 :: V _ ERR _ UNABLE _ TO _ GET _ ISSUER _ CERT -> Integer (55804.0) -
issuer(発行者)の証明書が 信頼している証明書群の中から見付からない ような証明書を、信頼している証明書群に含んでいることを意味します。
issuer(発行者)の証明書が
信頼している証明書群の中から見付からない
ような証明書を、信頼している証明書群に含んでいることを意味します。
つまり、信頼している証明書群に issuer を親とする木構造を考えた場合、
その root(根) となるノードが自己署名されていないことを意味します。
これは、通常信頼している証明書のリストが不完全であることを意味します。
OpenSSL::X509::Store#error や
OpenSSL::X509::StoreContext#error のエラーコードとして
使われます。
@see OpenSSL::X509::Store#add_... -
OpenSSL
:: X509 :: V _ ERR _ UNABLE _ TO _ GET _ ISSUER _ CERT _ LOCALLY -> Integer (55804.0) -
証明書チェイン末尾の証明書の issuer(発行者)の証明書が 信頼している証明書群の中から見付からないことを意味します。
証明書チェイン末尾の証明書の issuer(発行者)の証明書が
信頼している証明書群の中から見付からないことを意味します。
OpenSSL::X509::Store#error や
OpenSSL::X509::StoreContext#error のエラーコードとして
使われます。
@see OpenSSL::X509::Store#add_file,
OpenSSL::X509::Store#add_path,
OpenSSL::X509::Store#add_cert,
OpenSSL::X509::Store#set_default_paths -
IRB
:: Inspector . keys _ with _ inspector(inspector) -> Array (55201.0) -
引数で指定した IRB::Inspector に対応する key の配列を返します。
引数で指定した IRB::Inspector に対応する key の配列を返します。
@param inspector IRB::Inspector オブジェクトを指定します。
IRB::Inspector.keys_with_inspector(IRB::Inspector::INSPECTORS[true])
# => [true, :p, "p", :inspect, "inspect"] -
JSON
:: Generator :: GeneratorMethods :: String # to _ json(state _ or _ hash = nil) -> String (55012.0) -
自身から生成した JSON 形式の文字列を返します。
自身から生成した JSON 形式の文字列を返します。
自身のエンコードは UTF-8 であるべきです。
"\u????" のように UTF-16 ビッグエンディアンでエンコードされた文字列を返すことがあります。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]... -
JSON
:: Generator :: GeneratorMethods :: Object # to _ json(state _ or _ hash = nil) -> String (55006.0) -
自身を to_s で文字列にした結果を JSON 形式の文字列に変換して返します。
自身を to_s で文字列にした結果を JSON 形式の文字列に変換して返します。
このメソッドはあるオブジェクトに to_json メソッドが定義されていない場合に使用する
フォールバックのためのメソッドです。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby... -
JSON
:: Generator :: GeneratorMethods :: Array # to _ json(state _ or _ hash = nil) -> String (54922.0) -
自身から生成した JSON 形式の文字列を返します。
自身から生成した JSON 形式の文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
[1, 2, 3].to_json # => "[1,2,3]"
//} -
JSON
:: Generator :: GeneratorMethods :: FalseClass # to _ json(state _ or _ hash = nil) -> String (54922.0) -
自身から生成した JSON 形式の文字列を返します。
自身から生成した JSON 形式の文字列を返します。
"false" という文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
false.to_json # => "false"
//} -
JSON
:: Generator :: GeneratorMethods :: Float # to _ json(state _ or _ hash = nil) -> String (54922.0) -
自身から生成した JSON 形式の文字列を返します。
自身から生成した JSON 形式の文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
(1.0).to_json # => "1.0"
//} -
JSON
:: Generator :: GeneratorMethods :: Hash # to _ json(state _ or _ hash = nil) -> String (54922.0) -
自身から生成した JSON 形式の文字列を返します。
自身から生成した JSON 形式の文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
person = { "name" => "tanaka", "age" => 19 }
person.to_json # ... -
JSON
:: Generator :: GeneratorMethods :: Integer # to _ json(state _ or _ hash = nil) -> String (54922.0) -
自身から生成した JSON 形式の文字列を返します。
自身から生成した JSON 形式の文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
10.to_json # => "10"
//} -
JSON
:: Generator :: GeneratorMethods :: NilClass # to _ json(state _ or _ hash = nil) -> String (54922.0) -
自身から生成した JSON 形式の文字列を返します。
自身から生成した JSON 形式の文字列を返します。
"null" という文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
nil.to_json # => "null"
//} -
JSON
:: Generator :: GeneratorMethods :: TrueClass # to _ json(state _ or _ hash = nil) -> String (54922.0) -
自身から生成した JSON 形式の文字列を返します。
自身から生成した JSON 形式の文字列を返します。
"true" という文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
true.to_json # => "true"
//} -
IRB
:: Inspector . def _ inspector(key , arg = nil) { |v| . . . } -> object (54919.0) -
新しい実行結果の出力方式を定義します。
新しい実行結果の出力方式を定義します。
@param key conf.inspect_mode や IRB.conf[:INSPECT_MODE] に指定するキー
オブジェクトを指定します。配列を指定した場合は配列中の要素全
てが対象になります。
@param arg ブロックを指定する場合には、inspect_mode の初期化のための手続
きオブジェクトを指定します。あらかじめ require が必要な場合
などに、proc { require "foo" } といった指定を行います。
... -
CGI
:: Session :: MemoryStore # restore -> Hash (54901.0) -
セッションの状態を復元したハッシュを返します。
セッションの状態を復元したハッシュを返します。 -
CGI
:: Session :: NullStore # restore -> Hash (54901.0) -
セッションの状態を復元したハッシュを返します。 このクラスでは何もしません。
セッションの状態を復元したハッシュを返します。
このクラスでは何もしません。 -
CGI
:: Session :: PStore # restore -> Hash (54901.0) -
セッションの状態をファイルから復元したハッシュを返します。
セッションの状態をファイルから復元したハッシュを返します。 -
DRb
:: DRbServer # stop _ service -> () (54901.0) -
サーバを停止します。
サーバを停止します。
@see DRb::DRbServer#alive? -
RDoc
:: Generator :: Darkfish :: GENERATOR _ DIR -> String (54901.0) -
このファイルの親ディレクトリへのパスを表す文字列です。
このファイルの親ディレクトリへのパスを表す文字列です。
テンプレートなどのリソースを検索するのに内部で使用します。 -
Vector
# covector -> Matrix (54901.0) -
Matrix オブジェクトへ変換します。
Matrix オブジェクトへ変換します。
列ベクトル (行列)、すなわち、(n, 1) 型の行列に変換します。
実際には Matrix.row_vector(self) を適用します。
//emlist[例][ruby]{
require 'matrix'
v = Vector[2, 3, 5]
p v # => Vector[2, 3, 5]
m = v.covector
p m # => Matrix[[2, 3, 5]]
//} -
JSON
:: Generator :: GeneratorMethods :: String # to _ json _ raw -> String (54736.0) -
自身に対して JSON::Generator::GeneratorMethods::String#to_json_raw_object を呼び出して JSON::Generator::GeneratorMethods::Hash#to_json した結果を返します。
自身に対して JSON::Generator::GeneratorMethods::String#to_json_raw_object を呼び出して JSON::Generator::GeneratorMethods::Hash#to_json した結果を返します。
@see JSON::Generator::GeneratorMethods::String#to_json_raw_object, JSON::Generator::GeneratorMethods::Hash#to_json -
Array
# -(other) -> Array (54655.0) -
自身から other の要素を取り除いた配列を生成して返します。
自身から other の要素を取り除いた配列を生成して返します。
要素の同一性は Object#eql? により評価されます。
self 中で重複していて、other中に存在していなかった要素は、その重複が保持されます。
@param other 自身から取り除きたい要素の配列を指定します。
配列以外のオブジェクトを指定した場合は to_ary メソッドによ
る暗黙の型変換を試みます。
@raise TypeError 引数に配列以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します... -
JSON
:: Generator :: GeneratorMethods :: String :: Extend . json _ create(hash) -> String (54601.0) -
JSON のオブジェクトから Ruby の文字列を生成して返します。
JSON のオブジェクトから Ruby の文字列を生成して返します。
@param hash キーとして "raw" という文字列を持ち、その値として数値の配列を持つハッシュを指定します。
require 'json'
String.json_create({"raw" => [0x41, 0x42, 0x43]}) # => "ABC" -
irb
/ ext / save-history (54001.0) -
IRB::Context にヒストリの読み込み、保存の機能を提供するサブライブ ラリです。
IRB::Context にヒストリの読み込み、保存の機能を提供するサブライブ
ラリです。
conf.save_history か IRB.conf[:SAVE_HISTORY] にヒストリの保存件数を設定
する事で使用できます。
ただし、readline が利用できない環境ではヒストリの読み込み、保存
は行えません。
このライブラリで定義されているメソッドはユーザが直接使用するものではあ
りません。 -
irb
/ ruby-token (54001.0) -
Ruby のソースコード中の各種トークンを定義したサブライブラリです。
Ruby のソースコード中の各種トークンを定義したサブライブラリです。
このライブラリで定義されているメソッドはユーザが直接使用するものではありません。 -
Enumerator
:: Lazy # to _ enum(method = :each , *args) -> Enumerator :: Lazy (46627.0) -
Object#to_enum と同じですが、Enumerator::Lazy を返します。
Object#to_enum と同じですが、Enumerator::Lazy を返します。
to_enum は「ブロック付きで呼ぶとループを実行し、ブロックを省略した場合は
Enumerator を返す」ようなメソッドを定義するときによく使われます。
このときに lazy 性が正しく引き継がれるように、Lazy#to_enum は
素のEnumerator ではなく Enumerator::Lazy を返すようになっています。
//emlist[例][ruby]{
module Enumerable
# 要素をn回ずつ繰り返すメソッド
# 例:[1,2,3].repeat(2) ... -
Enumerator
:: Lazy # to _ enum(method = :each , *args) {|*args| block} -> Enumerator :: Lazy (46627.0) -
Object#to_enum と同じですが、Enumerator::Lazy を返します。
Object#to_enum と同じですが、Enumerator::Lazy を返します。
to_enum は「ブロック付きで呼ぶとループを実行し、ブロックを省略した場合は
Enumerator を返す」ようなメソッドを定義するときによく使われます。
このときに lazy 性が正しく引き継がれるように、Lazy#to_enum は
素のEnumerator ではなく Enumerator::Lazy を返すようになっています。
//emlist[例][ruby]{
module Enumerable
# 要素をn回ずつ繰り返すメソッド
# 例:[1,2,3].repeat(2) ... -
Object
# singleton _ methods(inherited _ too = true) -> [Symbol] (46519.0) -
そのオブジェクトに対して定義されている特異メソッド名 (public あるいは protected メソッド) の一覧を返します。
そのオブジェクトに対して定義されている特異メソッド名
(public あるいは protected メソッド) の一覧を返します。
inherited_too が真のときは継承した特異メソッドを含みます。
継承した特異メソッドとは Object#extend によって追加された特異メソッドや、
self がクラスの場合はスーパークラスのクラスメソッド(Classのインスタンスの特異メソッド)などです。
singleton_methods(false) は、Object#methods(false) と同じです。
@param inherited_too 継承した特異メソッドを含める場合は... -
OpenSSL
:: X509 :: V _ ERR _ UNABLE _ TO _ DECODE _ ISSUER _ PUBLIC _ KEY -> Integer (46504.0) -
証明書の SubjectPublicKeyInfo フィールドが読めなかった ことを意味します。
証明書の SubjectPublicKeyInfo フィールドが読めなかった
ことを意味します。 -
OpenSSL
:: X509 :: V _ ERR _ UNABLE _ TO _ DECRYPT _ CERT _ SIGNATURE -> Integer (46504.0) -
証明書の署名が復号できないことを意味します。
証明書の署名が復号できないことを意味します。
OpenSSL::X509::Store#error や
OpenSSL::X509::StoreContext#error のエラーコードとして
使われます。 -
OpenSSL
:: X509 :: V _ ERR _ UNABLE _ TO _ VERIFY _ LEAF _ SIGNATURE -> Integer (46504.0) -
証明書チェインにある証明書がただ一つでその証明書が 自己署名証明書でないことを意味します。
証明書チェインにある証明書がただ一つでその証明書が
自己署名証明書でないことを意味します。 -
Object
# singleton _ method(name) -> Method (46501.0) -
オブジェクトの特異メソッド name をオブジェクト化した Method オブ ジェクトを返します。
オブジェクトの特異メソッド name をオブジェクト化した Method オブ
ジェクトを返します。
@param name メソッド名をSymbol またはStringで指定します。
@raise NameError 定義されていないメソッド名を引数として与えると発生します。
//emlist[][ruby]{
class Demo
def initialize(n)
@iv = n
end
def hello()
"Hello, @iv = #{@iv}"
end
end
k = Demo.new(99)
def k.hi
"Hi, @iv = ... -
OpenSSL
:: PKey :: EC :: Group # set _ generator(generator , order , cofactor) -> self (46501.0) -
群のパラメータを設定します。
群のパラメータを設定します。
@param generator 生成元(OpenSSL::PKey::EC::Point オブジェクト)
@param order 生成元の位数(OpenSSL::BN オブジェクト)
@param cofactor 余因子OpenSSL::BN オブジェクト
@raise OpenSSL::PKey::EC::Group::Error 設定に失敗した場合に発生します -
OpenSSL
:: X509 :: V _ ERR _ CERT _ CHAIN _ TOO _ LONG -> Integer (46501.0) -
証明書チェインが長すぎることを意味します。
証明書チェインが長すぎることを意味します。
OpenSSL::X509::Store#error や
OpenSSL::X509::StoreContext#error のエラーコードとして
使われます。
@see OpenSSL::SSL::SSLContext#verify_depth= -
Vector
# elements _ to _ f -> Vector (46240.0) -
ベクトルの各成分をFloatに変換したベクトルを返します。
ベクトルの各成分をFloatに変換したベクトルを返します。
このメソッドは deprecated です。 map(&:to_f) を使ってください。
//emlist[例][ruby]{
require 'matrix'
v = Vector.elements([2, 3, 5, 7, 9])
p v.elements_to_f
# => Vector[2.0, 3.0, 5.0, 7.0, 9.0]
//} -
Vector
# elements _ to _ i -> Vector (46240.0) -
ベクトルの各成分をIntegerに変換したベクトルを返します。
ベクトルの各成分をIntegerに変換したベクトルを返します。
このメソッドは deprecated です。 map(&:to_i) を使ってください。
//emlist[例][ruby]{
require 'matrix'
v = Vector.elements([2.5, 3.0, 5.01, 7])
p v.elements_to_i
# => Vector[2, 3, 5, 7]
//} -
Vector
# elements _ to _ r -> Vector (46240.0) -
ベクトルの各成分をRationalに変換したベクトルを返します。
ベクトルの各成分をRationalに変換したベクトルを返します。
このメソッドは deprecated です。 map(&:to_r) を使ってください。
//emlist[例][ruby]{
require 'matrix'
v = Vector.elements([2.5, 3.0, 5.75, 7])
p v.elements_to_r
# => Vector[(5/2), (3/1), (23/4), (7/1)]
//} -
BasicObject
# singleton _ method _ added(name) -> object (46201.0) -
特異メソッドが追加された時にインタプリタから呼び出されます。
特異メソッドが追加された時にインタプリタから呼び出されます。
通常のメソッドの追加に対するフックには
Module#method_addedを使います。
@param name 追加されたメソッド名が Symbol で渡されます。
//emlist[例][ruby]{
class Foo
def singleton_method_added(name)
puts "singleton method \"#{name}\" was added"
end
end
obj = Foo.new
def obj.foo
end
#=> singleton method "fo... -
BasicObject
# singleton _ method _ removed(name) -> object (46201.0) -
特異メソッドが Module#remove_method に より削除された時にインタプリタから呼び出されます。
特異メソッドが Module#remove_method に
より削除された時にインタプリタから呼び出されます。
通常のメソッドの削除に対するフックには
Module#method_removedを使います。
@param name 削除されたメソッド名が Symbol で渡されます。
//emlist[例][ruby]{
class Foo
def singleton_method_removed(name)
puts "singleton method \"#{name}\" was removed"
end
end
obj = Foo.new
def obj.f... -
BasicObject
# singleton _ method _ undefined(name) -> object (46201.0) -
特異メソッドが Module#undef_method または undef により未定義にされた時にインタプリタから呼び出されます。
特異メソッドが Module#undef_method または
undef により未定義にされた時にインタプリタから呼び出されます。
通常のメソッドの未定義に対するフックには
Module#method_undefined を使います。
@param name 未定義にされたメソッド名が Symbol で渡されます。
//emlist[例][ruby]{
class Foo
def singleton_method_undefined(name)
puts "singleton method \"#{name}\" was undefined"
end
end
obj... -
Matrix
:: EigenvalueDecomposition # eigenvectors -> [Vector] (46201.0) -
右固有ベクトルを配列で返します。
右固有ベクトルを配列で返します。 -
Numeric
# numerator -> Integer (46201.0) -
自身を Rational に変換した時の分子を返します。
自身を Rational に変換した時の分子を返します。
@return 分子を返します。
@see Numeric#denominator、Integer#numerator、Float#numerator、Rational#numerator、Complex#numerator -
OpenSSL
:: PKey :: EC :: Group # generator -> OpenSSL :: PKey :: EC :: Point (46201.0) -
群の生成元を返します。
群の生成元を返します。 -
OpenSSL
:: X509 :: ExtensionFactory # issuer _ certificate -> OpenSSL :: X509 :: Certificate | nil (46201.0) -
自身に設定されている発行者(issuer)の証明書オブジェクトを返します。
自身に設定されている発行者(issuer)の証明書オブジェクトを返します。
証明書が設定されていない場合は nil を返します。 -
Socket
:: Constants :: IPPROTO _ DSTOPTS -> Integer (46201.0) -
IPv6 destination option。 BasicSocket#getsockopt, BasicSocket#setsockopt の level 引数に使用します。
IPv6 destination option。
BasicSocket#getsockopt, BasicSocket#setsockopt の
level 引数に使用します。
また、Socket.open の protocol 引数に渡す利用法もあります。
@see 2292 -
Socket
:: IPPROTO _ DSTOPTS -> Integer (46201.0) -
IPv6 destination option。 BasicSocket#getsockopt, BasicSocket#setsockopt の level 引数に使用します。
IPv6 destination option。
BasicSocket#getsockopt, BasicSocket#setsockopt の
level 引数に使用します。
また、Socket.open の protocol 引数に渡す利用法もあります。
@see 2292 -
URI
:: MailTo # to _ mailtext -> String (46069.0) -
URI オブジェクトからメールテキスト文字列を生成します。
URI オブジェクトからメールテキスト文字列を生成します。
例:
require 'uri'
p mailto = URI.parse("mailto:ruby-list@ruby-lang.org?subject=subscribe&cc=myaddr")
print mailto.to_mailtext
=> #<URI::MailTo:0x20104a0e URL:mailto:ruby-list@ruby-lang.org?subject=subscribe&cc=myaddr>
To: ruby-list@ruby-lang.org
Sub... -
URI
:: MailTo # to _ rfc822text -> String (46069.0) -
URI オブジェクトからメールテキスト文字列を生成します。
URI オブジェクトからメールテキスト文字列を生成します。
例:
require 'uri'
p mailto = URI.parse("mailto:ruby-list@ruby-lang.org?subject=subscribe&cc=myaddr")
print mailto.to_mailtext
=> #<URI::MailTo:0x20104a0e URL:mailto:ruby-list@ruby-lang.org?subject=subscribe&cc=myaddr>
To: ruby-list@ruby-lang.org
Sub... -
Socket
:: Constants :: IP _ RETOPTS -> Integer (45949.0) -
IP options to be included in datagrams。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
IP options to be included in datagrams。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP,
ip(7linux) -
Socket
:: IP _ RETOPTS -> Integer (45949.0) -
IP options to be included in datagrams。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
IP options to be included in datagrams。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP,
ip(7linux) -
Delegator
# respond _ to?(m) -> bool (45922.0) -
Delegator#__getobj__ が返すオブジェクトが メソッド m を持つとき真を返します。
Delegator#__getobj__ が返すオブジェクトが メソッド m を持つとき真を返します。
@param m メソッド名
@see Object#respond_to? -
Delegator
# respond _ to _ missing?(m , include _ private) -> bool (45904.0) -
@param m メソッド名を指定します。
@param m メソッド名を指定します。
@param include_private 真を指定すると private メソッドも調べます。 -
Gem
:: DependencyInstaller # gems _ to _ install -> Array (45904.0) -
依存関係によりインストールされる予定の Gem のリストを返します。
依存関係によりインストールされる予定の Gem のリストを返します。 -
Gem
:: DependencyList # ok _ to _ remove?(full _ name) -> bool (45904.0) -
与えられた名前を持つ Gem::Specification を自身から削除しても OK な場合は真を返します。 そうでない場合は、偽を返します。
与えられた名前を持つ Gem::Specification を自身から削除しても OK な場合は真を返します。
そうでない場合は、偽を返します。
与えられた名前を持つ Gem::Specification を自身から削除すると、
依存関係を壊してしまう場合が、それを削除してはいけない場合です。
@param full_name バージョンを含むフルネームで Gem の名前を指定します。
@see Gem::Specification#full_name -
OpenSSL
:: X509 :: Extension # to _ der -> String (45904.0) -
DER 形式のバイト列に変換して返します。
DER 形式のバイト列に変換して返します。
@raise OpenSSL::X509::Extension 変換に失敗した場合に発生します -
Delegator
# _ _ getobj _ _ -> object (45901.0) -
委譲先のオブジェクトを返します。
委譲先のオブジェクトを返します。
本メソッドは、サブクラスで再定義する必要があり、
デフォルトでは NotImplementedError が発生します。
@raise NotImplementedError サブクラスにて本メソッドが再定義されていない場合に発生します。 -
Delegator
# _ _ setobj _ _ (obj) -> object (45901.0) -
委譲先のオブジェクトをセットします。
委譲先のオブジェクトをセットします。
@param obj 委譲先のオブジェクトを指定します。
@raise NotImplementedError サブクラスにて本メソッドが再定義されていない場合に発生します。 -
IRB
:: HistorySavingAbility # save _ history -> () (45901.0) -
irb のヒストリを履歴ファイルに保存します。
irb のヒストリを履歴ファイルに保存します。
@see lib:irb#history -
Matrix
:: EigenvalueDecomposition # eigenvector _ matrix -> Matrix (45901.0) -
右固有ベクトルを横に並べた行列を返します。
右固有ベクトルを横に並べた行列を返します。 -
Matrix
:: EigenvalueDecomposition # eigenvector _ matrix _ inv -> Matrix (45901.0) -
左固有ベクトルを縦に並べた行列を返します。
左固有ベクトルを縦に並べた行列を返します。
これは Matrix::EigenvalueDecomposition#v の逆行列です -
ObjectSpace
. # trace _ object _ allocations _ stop -> nil (45901.0) -
オブジェクト割り当てのトレースを終了します。
オブジェクト割り当てのトレースを終了します。
トレースを終了する為には、ObjectSpace.#trace_object_allocations_startを呼んだ回数分だけこのメソッドを呼ぶ必要があります。
@see ObjectSpace.#trace_object_allocations_start -
Ripper
:: Lexer # tokenize -> [String] (45901.0) -
自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。
自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。
ライブラリ内部で使用します。 Ripper.tokenize を使用してください。 -
SimpleDelegator
# _ _ getobj _ _ -> object (45901.0) -
委譲先のオブジェクトを返します。
委譲先のオブジェクトを返します。
@see Delegator#__getobj__ -
SimpleDelegator
# _ _ setobj _ _ (obj) -> object (45901.0) -
委譲先のオブジェクトを obj に変更します。
委譲先のオブジェクトを obj に変更します。
メソッド委譲を行うためのクラスメソッドの再定義は行われないことに注意してください。
メソッド委譲を行うためのクラスメソッドの定義は生成時にのみ行われます。
そのため、以前の委譲先オブジェクトと
obj の間で呼び出せるメソッドに違いがあった場合は、
何かしらの例外が発生する可能性があります。
@param obj 委譲先のオブジェクト
@return 変更後の委譲先オブジェクト -
SingleForwardable
# def _ delegator(accessor , method , ali = method) -> () (45901.0) -
メソッドの委譲先を設定します。
メソッドの委譲先を設定します。
@param accessor 委譲先のオブジェクト
@param method 委譲先のメソッド
@param ali 委譲元のメソッド
委譲元のオブジェクトで ali が呼び出された場合に、
委譲先のオブジェクトの method へ処理が委譲されるようになります。
委譲元と委譲先のメソッド名が同じ場合は, ali を省略することが可能です。
def_delegator は def_singleton_delegator の別名になります。
@see SingleForwardable#def_delegators -
SingleForwardable
# def _ delegators(accessor , *methods) -> () (45901.0) -
メソッドの委譲先をまとめて設定します。
メソッドの委譲先をまとめて設定します。
@param accessor 委譲先のオブジェクト
@param methods 委譲するメソッドのリスト
委譲元のオブジェクトで methods のそれぞれのメソッドが呼び出された場合に、
委譲先のオブジェクトの同名のメソッドへ処理が委譲されるようになります。
def_delegators は def_singleton_delegators の別名になります。
また、以下の 2 つの例は同じ意味です。
def_delegators :@records, :size, :<<, :map
def_delegator :@rec... -
SingleForwardable
# def _ single _ delegator(accessor , method , ali = method) -> () (45901.0) -
メソッドの委譲先を設定します。
メソッドの委譲先を設定します。
@param accessor 委譲先のオブジェクト
@param method 委譲先のメソッド
@param ali 委譲元のメソッド
委譲元のオブジェクトで ali が呼び出された場合に、
委譲先のオブジェクトの method へ処理が委譲されるようになります。
委譲元と委譲先のメソッド名が同じ場合は, ali を省略することが可能です。
def_delegator は def_singleton_delegator の別名になります。
@see SingleForwardable#def_delegators -
SingleForwardable
# def _ single _ delegators(accessor , *methods) -> () (45901.0) -
メソッドの委譲先をまとめて設定します。
メソッドの委譲先をまとめて設定します。
@param accessor 委譲先のオブジェクト
@param methods 委譲するメソッドのリスト
委譲元のオブジェクトで methods のそれぞれのメソッドが呼び出された場合に、
委譲先のオブジェクトの同名のメソッドへ処理が委譲されるようになります。
def_delegators は def_singleton_delegators の別名になります。
また、以下の 2 つの例は同じ意味です。
def_delegators :@records, :size, :<<, :map
def_delegator :@rec... -
Socket
:: Constants :: IP _ RECVRETOPTS -> Integer (45901.0) -
@todo Receive all IP options for response
@todo
Receive all IP options for response -
Socket
:: IP _ RECVRETOPTS -> Integer (45901.0) -
@todo Receive all IP options for response
@todo
Receive all IP options for response -
OpenSSL
:: X509 :: ExtensionFactory # create _ extension(obj) -> OpenSSL :: X509 :: Extension (45601.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 (45601.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:... -
IRB
. Inspector(inspect , init = nil) -> IRB :: Inspector (37801.0) -
IRB::Inspector オブジェクトを生成します。
IRB::Inspector オブジェクトを生成します。
@param inspect 実行結果の出力のための手続きオブジェクトを指定します。
@param init inspect_mode の初期化のための手続きオブジェクトを指定します。
あらかじめ require が必要な場合などに、proc { require "foo" }
といった指定を行います。 -
Enumerable
# to _ set(klass = Set , *args) -> Set (37579.0) -
Enumerable オブジェクトの要素から、新しい集合オブジェクトを作ります。
Enumerable オブジェクトの要素から、新しい集合オブジェクトを作ります。
引数 klass を与えた場合、Set クラスの代わりに、指定した集合クラスの
インスタンスを作ります。
この引数を指定することで、SortedSet あるいはその他のユーザ定義の
集合クラスのインスタンスを作ることができます
(ここでいう集合クラスとは、Setとメソッド/クラスメソッドで互換性のあるクラスです)。
引数 args およびブロックは、集合オブジェクトを生成するための new
メソッドに渡されます。
@param klass 生成する集合クラスを指定します。
@param args 集合クラ... -
Enumerable
# to _ set(klass = Set , *args) {|o| . . . } -> Set (37579.0) -
Enumerable オブジェクトの要素から、新しい集合オブジェクトを作ります。
Enumerable オブジェクトの要素から、新しい集合オブジェクトを作ります。
引数 klass を与えた場合、Set クラスの代わりに、指定した集合クラスの
インスタンスを作ります。
この引数を指定することで、SortedSet あるいはその他のユーザ定義の
集合クラスのインスタンスを作ることができます
(ここでいう集合クラスとは、Setとメソッド/クラスメソッドで互換性のあるクラスです)。
引数 args およびブロックは、集合オブジェクトを生成するための new
メソッドに渡されます。
@param klass 生成する集合クラスを指定します。
@param args 集合クラ... -
Matrix
# column _ vectors -> [Vector] (37555.0) -
自分自身を列ベクトルの配列として返します。
自分自身を列ベクトルの配列として返します。
//emlist[例][ruby]{
require 'matrix'
a1 = [ 1, 2, 3]
a2 = [10, 15, 20]
a3 = [-1, -2, 1.5]
m = Matrix[a1, a2, a3]
p m.column_vectors # => [Vector[1, 10, -1], Vector[2, 15, -2], Vector[3, 20, 1.5]]
//} -
Matrix
# row _ vectors -> [Vector] (37537.0) -
自分自身を行ベクトルの配列として返します。
自分自身を行ベクトルの配列として返します。
//emlist[例][ruby]{
require 'matrix'
a1 = [ 1, 2, 3]
a2 = [10, 15, 20]
a3 = [-1, -2, 1.5]
m = Matrix[a1, a2, a3]
p m.row_vectors # => [Vector[1, 2, 3], Vector[10, 15, 20], Vector[-1, -2, 1.5]]
//} -
JSON
. generator -> JSON :: Ext :: Generator (37501.0) -
JSON ライブラリがジェネレータとして使用するモジュールを返します。
JSON ライブラリがジェネレータとして使用するモジュールを返します。 -
Net
:: IMAP . add _ authenticator(auth _ type , authenticator) -> () (37501.0) -
Net::IMAP#authenticate で使う 認証用クラスを設定します。
Net::IMAP#authenticate で使う
認証用クラスを設定します。
imap ライブラリに新たな認証方式を追加するために用います。
通常は使う必要はないでしょう。もしこれを用いて
認証方式を追加する場合は net/imap.rb の
Net::IMAP::LoginAuthenticator などを参考にしてください。
@param auth_type 認証の種類(文字列)
@param authenticator 認証クラス(Class オブジェクト) -
RDoc
:: Context # toplevel -> RDoc :: TopLevel (37501.0) -
自身が所属する RDoc::TopLevel オブジェクトを返します。
自身が所属する RDoc::TopLevel オブジェクトを返します。 -
RDoc
:: Options # generator -> Generator (37501.0) -
コマンドライン引数の --fmt オプションで指定した文字列に応じた Generator を返します。
コマンドライン引数の --fmt オプションで指定した文字列に応じた
Generator を返します。
指定しなかった場合は、HTML に対応する Generator を返します。 -
Ripper
. token _ match(src , pattern) -> Ripper :: TokenPattern :: MatchData | nil (37501.0) -
Ruby プログラム src に対してパターン pattern をマッチし、 マッチデータを返します。
Ruby プログラム src に対してパターン pattern をマッチし、
マッチデータを返します。
ライブラリ内部で使用します。 -
Ripper
. tokenize(src , filename = & # 39;-& # 39; , lineno = 1) -> [String] (37501.0) -
Ruby プログラム str をトークンに分割し、そのリストを返します。
Ruby プログラム str をトークンに分割し、そのリストを返します。
@param src Ruby プログラムを文字列か IO オブジェクトで指定します。
@param filename src のファイル名を文字列で指定します。省略すると "-" になります。
@param lineno src の開始行番号を指定します。省略すると 1 になります。
//emlist[][ruby]{
require 'ripper'
p Ripper.tokenize("def m(a) nil end")
# => ["def", " ", "m", "(", "a", ")", "... -
Enumerator
:: Lazy # enum _ for(method = :each , *args) -> Enumerator :: Lazy (37327.0) -
Object#to_enum と同じですが、Enumerator::Lazy を返します。
Object#to_enum と同じですが、Enumerator::Lazy を返します。
to_enum は「ブロック付きで呼ぶとループを実行し、ブロックを省略した場合は
Enumerator を返す」ようなメソッドを定義するときによく使われます。
このときに lazy 性が正しく引き継がれるように、Lazy#to_enum は
素のEnumerator ではなく Enumerator::Lazy を返すようになっています。
//emlist[例][ruby]{
module Enumerable
# 要素をn回ずつ繰り返すメソッド
# 例:[1,2,3].repeat(2) ... -
Enumerator
:: Lazy # enum _ for(method = :each , *args) {|*args| block} -> Enumerator :: Lazy (37327.0) -
Object#to_enum と同じですが、Enumerator::Lazy を返します。
Object#to_enum と同じですが、Enumerator::Lazy を返します。
to_enum は「ブロック付きで呼ぶとループを実行し、ブロックを省略した場合は
Enumerator を返す」ようなメソッドを定義するときによく使われます。
このときに lazy 性が正しく引き継がれるように、Lazy#to_enum は
素のEnumerator ではなく Enumerator::Lazy を返すようになっています。
//emlist[例][ruby]{
module Enumerable
# 要素をn回ずつ繰り返すメソッド
# 例:[1,2,3].repeat(2) ... -
Vector
# collect {|x| . . . } -> Vector (37291.0) -
ベクトルの各要素に対してブロックを評価した結果を、要素として持つベクトルを生成します。
ベクトルの各要素に対してブロックを評価した結果を、要素として持つベクトルを生成します。
ブロックを省略した場合は Enumerator を返します。
//emlist[例][ruby]{
require 'matrix'
a = [1, 2, 3.5, -10]
v1 = Vector.elements(a)
p v1 # => Vector[1, 2, 3.5, -10]
v2 = v1.map{|x|
x * -1
}
p v2 # => Vector[-1, -2, -3.5, 10]
//} -
Rational
# numerator -> Integer (37255.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 -
Resolv
:: IPv4 # to _ name -> Resolv :: DNS :: Name (37252.0) -
"x.y.z.w.in-addr.arpa." という形のドメイン名を返します。
"x.y.z.w.in-addr.arpa." という形のドメイン名を返します。 -
Resolv
:: IPv6 # to _ name -> Resolv :: DNS :: Name (37252.0) -
"h.g.f.e.d.c.b.a.ip6.arpa." という DNS 名を返します。
"h.g.f.e.d.c.b.a.ip6.arpa." という DNS 名を返します。 -
IPAddr
# to _ range -> Range (37240.0) -
self の IP アドレスとサブネットマスクで取得できる IP アドレスの範囲を Range オブジェクトとして返します。
self の IP アドレスとサブネットマスクで取得できる IP アドレスの範囲を
Range オブジェクトとして返します。
例:
require 'ipaddr'
IPAddr.new('192.168.1.1').to_range
#=> #<IPAddr: IPv4:192.168.1.1/255.255.255.255>..#<IPAddr: IPv4:192.168.1.1/255.255.255.255>
IPAddr.new('::1').to_range
#=> #<IPAddr: IPv6:0000:0000:0000:0000:0000:0000:... -
Integer
# numerator -> Integer (37237.0) -
分子(常に自身)を返します。
分子(常に自身)を返します。
@return 分子を返します。
//emlist[][ruby]{
10.numerator # => 10
-10.numerator # => -10
//}
@see Integer#denominator -
Object
# to _ regexp -> Regexp (37222.0) -
オブジェクトの Regexp への暗黙の変換が必要なときに内部で呼ばれます。 デフォルトでは定義されていません。
オブジェクトの Regexp への暗黙の変換が必要なときに内部で呼ばれます。
デフォルトでは定義されていません。
説明のためここに記載してありますが、
このメソッドは実際には Object クラスには定義されていません。
必要に応じてサブクラスで定義すべきものです。
このメソッドを定義する条件は、
* 正規表現が使われるすべての場面で代置可能であるような、
* 正規表現そのものとみなせるようなもの
という厳しいものになっています。
//emlist[][ruby]{
class Foo
def to_regexp
/[\d]+/
end
end
it = Foo.... -
Addrinfo
# connect _ to(host , port) {|sock| . . . } -> object (37207.0) -
自身のアドレスから指定したホストへソケット接続します。
自身のアドレスから指定したホストへソケット接続します。
接続元のアドレスは Addrinfo#family_addrinfo により生成された
ものが用いられます。
ブロックが渡されたときにはそのブロックに接続済み Socket
オブジェクトが渡されます。ブロックの返り値がメソッドの返り値となります。
ブロックを省略した場合は、接続済み Socket
オブジェクトが返されます。
@param host ホスト(IP アドレスもしくはホスト名)
@param port ポート番号(整数)もしくはサービス名(文字列) -
Date
# to _ date -> Date (37204.0) -
対応する Date オブジェクトを返します。
対応する Date オブジェクトを返します。 -
Date
# to _ datetime -> DateTime (37204.0) -
対応する DateTime オブジェクトを返します。
対応する DateTime オブジェクトを返します。