別のキーワード
種類
ライブラリ
- English (3)
- ビルトイン (378)
- bigdecimal (23)
-
bigdecimal
/ ludcmp (2) -
bigdecimal
/ math (6) -
bigdecimal
/ util (3) -
cgi
/ html (2) - csv (4)
- dbm (1)
- delegate (6)
- digest (2)
- e2mmap (1)
- erb (1)
- etc (11)
- expect (2)
- fiber (1)
- fiddle (2)
- fileutils (2)
- gdbm (3)
- ipaddr (2)
-
irb
/ cmd / chws (2) -
irb
/ cmd / help (1) -
irb
/ cmd / load (1) -
irb
/ cmd / nop (2) -
irb
/ cmd / pushws (3) -
irb
/ context (7) -
irb
/ inspector (7) -
irb
/ magic-file (2) -
irb
/ output-method (3) - json (13)
- matrix (60)
- mkmf (8)
-
net
/ ftp (7) -
net
/ http (16) -
net
/ imap (15) -
net
/ pop (5) -
net
/ smtp (8) - objspace (11)
- open-uri (1)
- openssl (151)
- optparse (5)
- ostruct (7)
- pathname (8)
- pp (11)
- prettyprint (3)
- prime (6)
- profiler (1)
- pstore (6)
- psych (20)
- pty (2)
-
racc
/ parser (1) - rake (9)
-
rake
/ gempackagetask (4) -
rdoc
/ code _ object (5) -
rdoc
/ context (9) -
rdoc
/ markup (2) -
rdoc
/ top _ level (4) - resolv (8)
- resolv-replace (1)
-
rexml
/ document (28) -
rexml
/ parsers / pullparser (7) -
rexml
/ sax2listener (2) -
rexml
/ streamlistener (1) -
rinda
/ rinda (8) -
rinda
/ tuplespace (6) -
ripper
/ filter (3) -
ripper
/ sexp (2) - rss (1)
-
rubygems
/ builder (1) -
rubygems
/ command (3) -
rubygems
/ commands / build _ command (1) -
rubygems
/ commands / dependency _ command (3) -
rubygems
/ commands / lock _ command (1) -
rubygems
/ commands / pristine _ command (1) -
rubygems
/ commands / specification _ command (1) -
rubygems
/ commands / update _ command (3) -
rubygems
/ commands / which _ command (1) -
rubygems
/ dependency _ installer (1) -
rubygems
/ dependency _ list (5) -
rubygems
/ doc _ manager (1) -
rubygems
/ exceptions (1) -
rubygems
/ ext / configure _ builder (1) -
rubygems
/ ext / ext _ conf _ builder (1) -
rubygems
/ ext / rake _ builder (1) -
rubygems
/ format (4) -
rubygems
/ gem _ path _ searcher (6) -
rubygems
/ indexer (5) -
rubygems
/ installer (5) -
rubygems
/ old _ format (2) -
rubygems
/ package (1) -
rubygems
/ package / tar _ header (2) -
rubygems
/ package / tar _ input (5) -
rubygems
/ package / tar _ reader (1) -
rubygems
/ package / tar _ reader / entry (1) -
rubygems
/ package / tar _ writer (1) -
rubygems
/ remote _ fetcher (3) -
rubygems
/ require _ paths _ builder (1) -
rubygems
/ requirement (1) -
rubygems
/ security (30) -
rubygems
/ server (2) -
rubygems
/ source _ index (15) -
rubygems
/ source _ info _ cache (2) -
rubygems
/ spec _ fetcher (14) -
rubygems
/ specification (121) -
rubygems
/ uninstaller (7) -
rubygems
/ validator (1) -
rubygems
/ version (1) - scanf (16)
- sdbm (4)
- securerandom (7)
- set (6)
- shell (8)
-
shell
/ command-processor (8) -
shell
/ filter (3) -
shell
/ process-controller (2) - socket (84)
- stringio (2)
- strscan (5)
- sync (1)
- tempfile (2)
- thwait (1)
- time (2)
- timeout (3)
- tmpdir (1)
- tsort (10)
- uri (14)
-
webrick
/ httpauth / authenticator (1) -
webrick
/ httpauth / basicauth (1) -
webrick
/ httpresponse (1) -
webrick
/ httpstatus (9) -
webrick
/ httputils (1) -
win32
/ registry (2) - win32ole (7)
- zlib (6)
クラス
-
ARGF
. class (3) - Addrinfo (8)
- Array (28)
- BasicObject (4)
- BasicSocket (4)
- BigDecimal (21)
- Binding (1)
- CSV (2)
-
CSV
:: Row (1) -
CSV
:: Table (1) - Class (2)
- Complex (6)
- DBM (1)
- Delegator (2)
-
Digest
:: Base (1) - Dir (6)
- ERB (1)
- Encoding (1)
-
Encoding
:: Converter (17) -
Encoding
:: InvalidByteSequenceError (2) - Enumerator (4)
-
Enumerator
:: Lazy (2) -
Enumerator
:: Yielder (2) -
Etc
:: Passwd (2) - Exception (1)
- FalseClass (5)
- Fiber (3)
-
Fiddle
:: Pointer (1) - File (4)
-
File
:: Stat (3) - Float (4)
- GDBM (3)
-
Gem
:: Builder (1) -
Gem
:: Command (3) -
Gem
:: Commands :: BuildCommand (1) -
Gem
:: Commands :: DependencyCommand (3) -
Gem
:: Commands :: LockCommand (1) -
Gem
:: Commands :: UpdateCommand (2) -
Gem
:: Commands :: WhichCommand (1) -
Gem
:: DependencyInstaller (1) -
Gem
:: DependencyList (5) -
Gem
:: DocManager (1) -
Gem
:: Ext :: ConfigureBuilder (1) -
Gem
:: Ext :: ExtConfBuilder (1) -
Gem
:: Ext :: RakeBuilder (1) -
Gem
:: Format (4) -
Gem
:: GemPathSearcher (6) -
Gem
:: Indexer (5) -
Gem
:: Installer (5) -
Gem
:: OldFormat (2) -
Gem
:: Package :: TarHeader (2) -
Gem
:: Package :: TarInput (5) -
Gem
:: Package :: TarReader :: Entry (1) -
Gem
:: Package :: TarWriter (1) -
Gem
:: RemoteFetcher (3) -
Gem
:: Requirement (1) -
Gem
:: Security :: Policy (15) -
Gem
:: Security :: Signer (1) -
Gem
:: Server (2) -
Gem
:: SourceIndex (15) -
Gem
:: SourceInfoCache (2) -
Gem
:: SpecFetcher (13) -
Gem
:: Specification (120) -
Gem
:: Uninstaller (7) -
Gem
:: Validator (1) -
Gem
:: Version (1) - Hash (23)
- IO (20)
- IPAddr (2)
- IPSocket (1)
-
IRB
:: Context (7) -
IRB
:: ExtendCommand :: ChangeWorkspace (1) -
IRB
:: ExtendCommand :: CurrentWorkingWorkspace (1) -
IRB
:: ExtendCommand :: Help (1) -
IRB
:: ExtendCommand :: Load (1) -
IRB
:: ExtendCommand :: Nop (2) -
IRB
:: ExtendCommand :: PopWorkspace (1) -
IRB
:: ExtendCommand :: PushWorkspace (1) -
IRB
:: ExtendCommand :: Workspaces (1) -
IRB
:: Inspector (4) -
IRB
:: OutputMethod (3) - Integer (3)
-
JSON
:: Parser (1) - LocalJumpError (1)
- MatchData (1)
- Matrix (15)
-
Matrix
:: EigenvalueDecomposition (10) -
Matrix
:: LUPDecomposition (10) - Method (3)
- Module (18)
- NameError (1)
-
Net
:: FTP (4) -
Net
:: FTP :: MLSxEntry (2) -
Net
:: HTTP (7) -
Net
:: HTTPGenericRequest (1) -
Net
:: IMAP (8) -
Net
:: IMAP :: Envelope (1) -
Net
:: IMAP :: FetchData (1) -
Net
:: IMAP :: ResponseCode (2) -
Net
:: IMAP :: ResponseText (1) -
Net
:: IMAP :: UntaggedResponse (1) -
Net
:: POP3 (2) -
Net
:: POPMail (3) -
Net
:: SMTP (8) - NoMethodError (1)
- Object (74)
-
ObjectSpace
:: WeakMap (2) -
OpenSSL
:: ASN1 :: ASN1Data (1) -
OpenSSL
:: ASN1 :: ObjectId (8) -
OpenSSL
:: BN (2) -
OpenSSL
:: Cipher (2) -
OpenSSL
:: Config (8) -
OpenSSL
:: HMAC (1) -
OpenSSL
:: OCSP :: CertificateId (1) -
OpenSSL
:: OCSP :: Request (1) -
OpenSSL
:: PKCS7 (4) -
OpenSSL
:: PKCS7 :: RecipientInfo (4) -
OpenSSL
:: PKey :: EC (20) -
OpenSSL
:: PKey :: EC :: Group (19) -
OpenSSL
:: PKey :: EC :: Point (12) -
OpenSSL
:: PKey :: RSA (2) -
OpenSSL
:: SSL :: SSLContext (3) -
OpenSSL
:: SSL :: SSLSocket (3) -
OpenSSL
:: X509 :: Certificate (4) -
OpenSSL
:: X509 :: ExtensionFactory (5) -
OpenSSL
:: X509 :: Name (6) -
OpenSSL
:: X509 :: Request (2) -
OpenSSL
:: X509 :: StoreContext (14) - OpenStruct (7)
- OptionParser (2)
-
OptionParser
:: ParseError (2) - PP (5)
- PStore (5)
-
PStore
:: DummyMutex (1) - Pathname (8)
- PrettyPrint (3)
- Prime (2)
-
Prime
:: PseudoPrimeGenerator (3) - Proc (3)
-
Process
:: Status (1) -
Psych
:: Handler (1) -
Psych
:: Nodes :: Document (3) -
Psych
:: Nodes :: Node (2) -
Psych
:: ScalarScanner (1) -
Psych
:: Visitors :: YAMLTree (2) -
RDoc
:: CodeObject (5) -
RDoc
:: Context (6) -
RDoc
:: Context :: Section (3) -
RDoc
:: Markup (2) -
RDoc
:: Options (4) -
RDoc
:: TopLevel (4) -
REXML
:: AttlistDecl (1) -
REXML
:: Attribute (1) -
REXML
:: CData (1) -
REXML
:: Declaration (1) -
REXML
:: DocType (3) -
REXML
:: Elements (2) -
REXML
:: NotationDecl (4) -
REXML
:: Parent (8) -
REXML
:: Parsers :: PullEvent (7) -
REXML
:: Text (1) -
REXML
:: XMLDecl (1) -
Racc
:: Parser (1) -
Rake
:: FileCreationTask (1) -
Rake
:: FileList (2) -
Rake
:: GemPackageTask (4) -
Rake
:: Task (1) -
Rake
:: TaskArguments (3) - Range (4)
- Rational (6)
- Regexp (3)
-
Resolv
:: DNS (4) -
Resolv
:: IPv6 (4) -
Rinda
:: DRbObjectTemplate (2) -
Rinda
:: SimpleRenewer (1) -
Rinda
:: TupleEntry (2) -
Rinda
:: TupleSpace (4) -
Rinda
:: TupleSpaceProxy (4) - Ripper (2)
-
Ripper
:: Filter (3) -
RubyVM
:: InstructionSequence (1) - SDBM (4)
-
Scanf
:: FormatSpecifier (11) -
Scanf
:: FormatString (4) - Set (6)
- Shell (8)
-
Shell
:: CommandProcessor (8) -
Shell
:: Filter (3) -
Shell
:: ProcessController (2) - SimpleDelegator (3)
- Socket (35)
-
Socket
:: AncillaryData (1) -
Socket
:: Ifaddr (1) -
Socket
:: Option (1) - StopIteration (1)
- String (6)
- StringIO (2)
- StringScanner (5)
- Struct (4)
- Symbol (3)
- Tempfile (2)
- Thread (4)
-
Thread
:: Backtrace :: Location (1) -
Thread
:: Queue (3) -
Thread
:: SizedQueue (3) - ThreadsWait (1)
- Time (19)
- TracePoint (6)
- TrueClass (4)
- UDPSocket (3)
- UNIXServer (2)
- UNIXSocket (4)
-
URI
:: FTP (4) -
URI
:: Generic (2) -
URI
:: HTTP (1) -
URI
:: LDAP (1) -
URI
:: MailTo (1) - UnboundMethod (3)
- UncaughtThrowError (2)
- Vector (23)
-
WEBrick
:: HTTPAuth :: BasicAuth (1) -
WEBrick
:: HTTPResponse (1) - WIN32OLE (3)
-
WIN32OLE
_ PARAM (1) -
WIN32OLE
_ TYPE (1) -
WIN32OLE
_ VARIANT (2) -
Win32
:: Registry (1) -
Zlib
:: GzipFile :: Error (1) -
Zlib
:: GzipReader (2) -
Zlib
:: GzipWriter (3)
モジュール
- BigMath (8)
-
CGI
:: HtmlExtension (2) - Comparable (1)
- Enumerable (25)
- Etc (9)
- Exception2MessageMapper (1)
- Fiddle (1)
- FileUtils (2)
- GC (1)
-
Gem
:: RequirePathsBuilder (1) -
Gem
:: Security (12) - IRB (1)
- JSON (10)
- Kernel (38)
- LUSolve (2)
- Marshal (2)
- ObjectSpace (21)
-
OpenSSL
:: ASN1 (6) -
OpenSSL
:: OCSP (2) -
OpenSSL
:: SSL (3) -
OpenSSL
:: X509 (8) -
OptionParser
:: Arguable (1) - PTY (2)
- Process (6)
-
Process
:: GID (1) -
Process
:: UID (1) -
Profiler
_ _ (1) - Psych (6)
-
REXML
:: SAX2Listener (2) -
REXML
:: Security (4) -
REXML
:: StreamListener (1) -
Rake
:: Cloneable (1) - SecureRandom (6)
-
Socket
:: Constants (25) -
Sync
_ m (1) - TSort (10)
- Timeout (2)
- URI (5)
-
WEBrick
:: HTTPAuth :: Authenticator (1) -
WEBrick
:: HTTPStatus (4) -
WEBrick
:: HTTPUtils (1) -
Win32
:: Registry :: API (1)
オブジェクト
- ENV (3)
-
IRB
:: MagicFile (2) - main (2)
キーワード
- != (1)
- !~ (1)
-
$ > (1) -
$ INPUT _ RECORD _ SEPARATOR (1) -
$ OUTPUT _ RECORD _ SEPARATOR (1) -
$ RS (1) -
$ stdin (1) -
$ stdout (1) - & (2)
- * (2)
- - (1)
- << (3)
- == (3)
- === (1)
- =~ (1)
-
AF
_ UNSPEC (2) - ARGV (2)
- AlmostNoSecurity (1)
- BadCheckSum (1)
-
CLOCK
_ MONOTONIC _ PRECISE (1) -
CLOCK
_ REALTIME _ PRECISE (1) -
CLOCK
_ SECOND (1) -
CLOCK
_ UPTIME _ PRECISE (1) -
CURRENT
_ SPECIFICATION _ VERSION (1) -
Check
_ Type (1) - DATA (1)
-
DEFAULT
_ OBJECT _ TYPE (1) -
DEFAULT
_ PARAMS (1) - DEPRECATED (1)
- DRbObjectTemplate (1)
- DelegateClass (1)
- Digest (1)
- E (1)
- ECAPMODE (1)
- ECError (1)
- EIPSEC (1)
-
EMPTY
_ MARSHAL _ CHECKSUM (1) -
ENCODING
_ SPEC _ RE (1) -
EXCEPTION
_ ALL (1) -
EXCEPTION
_ INFINITY (1) -
EXCEPTION
_ NaN (1) -
EXCEPTION
_ OVERFLOW (1) -
EXCEPTION
_ UNDERFLOW (1) -
EXCEPTION
_ ZERODIVIDE (1) - EigenvalueDecomposition (1)
- Error (2)
- Exception (1)
- ExpectationFailed (1)
- FTPConnectionError (1)
- FormatSpecifier (1)
- Group (1)
- HTTPExpectationFailed (1)
- HTTPMultipleChoice (1)
- HTTPMultipleChoices (1)
- HTTPPermanentRedirect (1)
- HTTPPreconditionFailed (1)
- HTTPPreconditionRequired (1)
- HTTPRedirection (1)
- HTTPTemporaryRedirect (1)
- HighSecurity (1)
- IGNORECASE (1)
-
INADDR
_ UNSPEC _ GROUP (2) - INSPECTORS (1)
-
IPV6
_ CHECKSUM (2) -
IPV6
_ RECVDSTOPTS (2) -
IPV6
_ RECVHOPLIMIT (2) -
IPV6
_ RECVHOPOPTS (2) -
IPV6
_ RECVPATHMTU (2) -
IPV6
_ RECVPKTINFO (2) -
IPV6
_ RECVRTHDR (2) -
IPV6
_ RECVTCLASS (2) -
IP
_ IPSEC _ POLICY (2) -
IP
_ PASSSEC (2) -
IP
_ RECVDSTADDR (2) -
IP
_ RECVERR (2) -
IP
_ RECVIF (2) -
IP
_ RECVOPTS (2) -
IP
_ RECVRETOPTS (2) -
IP
_ RECVSLLA (2) -
IP
_ RECVTOS (2) -
IP
_ RECVTTL (2) - InspectKey (1)
- Inspector (2)
- InvalidSpecificationException (1)
- JSON (1)
- LUPDecomposition (1)
- LowSecurity (1)
-
MARSHAL
_ FIELDS (1) - MediumSecurity (1)
- MultipleChoices (1)
-
NAMED
_ CURVE (1) - NOCHECKS (1)
-
NONEXISTENT
_ SPECIFICATION _ VERSION (1) - NOSELECT (1)
- NOSMIMECAP (1)
-
NO
_ INSPECTING _ IVARS (1) - NoSecurity (1)
- NotExpectedTagError (1)
- NotationDecl (1)
- OBJECT (1)
-
OBJECT
_ DESCRIPTOR (1) -
OBJECT
_ TYPE _ TEMPLATE (1) - OPT (1)
-
OP
_ PKCS1 _ CHECK _ 1 (1) -
OP
_ PKCS1 _ CHECK _ 2 (1) -
OP
_ SINGLE _ ECDH _ USE (1) - ObjectId (3)
- ObjectSpace (1)
-
PC
_ REC _ INCR _ XFER _ SIZE (1) -
PC
_ REC _ MAX _ XFER _ SIZE (1) -
PC
_ REC _ MIN _ XFER _ SIZE (1) -
PC
_ REC _ XFER _ ALIGN (1) -
PF
_ DEC (2) -
PF
_ ECMA (2) -
PF
_ UNSPEC (2) - PI (1)
- PKey (1)
- Point (1)
- Policies (1)
- Policy (1)
- PreconditionFailed (1)
- PristineCommand (1)
-
RC
_ EXPECTATION _ FAILED (1) -
RC
_ PRECONDITION _ FAILED (1) -
RC
_ TEMPORARY _ REDIRECT (1) - RECENT (1)
-
REVOKED
_ STATUS _ UNSPECIFIED (1) -
ROUND
_ HALF _ UP (1) -
ROUND
_ UP (1) -
RUBY
_ COPYRIGHT (1) -
RUBY
_ DESCRIPTION (1) -
RUBY
_ ENGINE (1) -
RUBY
_ PATCHLEVEL (1) -
RUBY
_ PLATFORM (1) - RecipientInfo (1)
- Redirect (1)
-
Regex
_ 6Hex4Dec (1) -
Regex
_ 8Hex (1) -
Regex
_ CompressedHex (1) -
Regex
_ CompressedHex4Dec (1) - ResponseCode (1)
- Ruby プログラムの実行 (1)
- Rubyの起動 (1)
-
SCRIPT
_ LINES _ _ (1) -
SC
_ 2 _ PBS _ CHECKPOINT (1) -
SC
_ MEMORY _ PROTECTION (1) -
SC
_ THREAD _ PRIO _ PROTECT (1) -
SC
_ THREAD _ ROBUST _ PRIO _ PROTECT (1) -
SC
_ TYPED _ MEMORY _ OBJECTS (1) -
SIGN
_ POSITIVE _ FINITE (1) -
SIGN
_ POSITIVE _ INFINITE (1) -
SIGN
_ POSITIVE _ ZERO (1) -
SO
_ SECURITY _ ENCRYPTION _ NETWORK (2) -
SO
_ SECURITY _ ENCRYPTION _ TRANSPORT (2) - SPECIAL (1)
-
SPECIAL
_ CONST _ P (1) -
SPECIAL
_ RETURN (1) -
SPECIFICATION
_ VERSION _ HISTORY (1) - SPECIFIERS (1)
- SecureRandom (1)
- SpecFetcher (1)
- Specification (1)
- SpecificationCommand (1)
- StoreContext (1)
- TODAY (1)
-
TOPLEVEL
_ BINDING (1) -
TRUST
_ OBJECT _ SIGN (1) - TemporaryRedirect (1)
- UndefinedConversionError (1)
- UnexpectedEOF (1)
- UpdateCommand (1)
- VISIBILITIES (1)
-
V
_ ERR _ CERT _ REJECTED (1) -
V
_ ERR _ SUBJECT _ ISSUER _ MISMATCH (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
_ FLAG _ CRL _ CHECK (1) -
V
_ FLAG _ CRL _ CHECK _ ALL (1) - WeakMap (1)
- [] (12)
- []= (3)
- ^ (2)
-
_ _ getobj _ _ (1) -
_ _ inspect _ _ (1) -
_ _ setobj _ _ (1) -
_ dump (3) -
_ getproperty (1) -
_ id2ref (1) -
_ invoke (1) -
_ load (1) - abbreviate (1)
- add (2)
-
add
_ bindir (1) -
add
_ class (1) -
add
_ class _ or _ module (2) -
add
_ dependency (1) -
add
_ development _ dependency (1) -
add
_ module (1) -
add
_ recipient (1) -
add
_ runtime _ dependency (1) -
add
_ spec (1) -
add
_ special (1) -
add
_ specific _ extra _ args (1) -
add
_ specs (1) -
add
_ trusted _ cert (1) -
add
_ value (1) - all (1)
-
all
_ classes _ and _ modules (1) -
allocation
_ sourcefile (1) -
allocation
_ sourceline (1) - args (1)
-
array
_ attribute (1) -
array
_ attributes (1) -
ask
_ if _ ok (1) -
asn1
_ flag (1) -
asn1
_ flag= (1) -
assign
_ defaults (1) - atan (1)
- attlistdecl (1)
- attlistdecl? (1)
- attr (1)
- attribute (1)
-
attribute
_ alias _ singular (1) -
attribute
_ defaults (1) -
attribute
_ names (1) - attributes (1)
-
auth
_ cram _ md5 (1) -
auth
_ login (1) -
auth
_ plain (1) - authenticate (1)
- autorequire (1)
- autorequire= (1)
- base64 (1)
- begin (1)
- bigdecimal (1)
-
bigdecimal
/ ludcmp (1) - bind (1)
- bindir (1)
- bindir= (1)
-
body
_ stream (1) - build (3)
-
build
_ cert (1) -
build
_ self _ signed _ cert (1) -
builtin
_ curves (1) -
cache
_ dir (1) -
call
_ op (1) - casecmp (2)
- casecmp? (2)
- catch (2)
- ceil (1)
-
cert
_ chain (1) -
cert
_ chain= (1) - chain (1)
- chdir (2)
- check (4)
-
check
_ closed (1) -
check
_ key (1) -
check
_ nonce (1) -
check
_ point (3) -
check
_ private _ key (1) -
check
_ signedness (2) -
check
_ sizeof (2) -
check
_ until (1) -
checkbox
_ group (2) - checksum (1)
- children (1)
- clamp (2)
- class (1)
-
class
_ eval (2) -
class
_ exec (1) -
class
_ variable _ get (1) -
class
_ variable _ set (1) - cleanup (1)
-
clock
_ gettime (1) - clone (1)
- code (1)
- cofactor (1)
-
cofactor
_ expansion (1) - collect (9)
- collect! (3)
- collect2 (2)
-
collect
_ method (1) -
collect
_ specs (1) - column (1)
-
column
_ vectors (1) -
compact
_ specs (1) - component (1)
- connect (4)
-
connect
_ address (1) -
connect
_ from (2) -
connect
_ nonblock (1) -
connect
_ to (2) -
connection
_ for (1) -
const
_ get (1) - context (1)
-
continue
_ timeout= (1) - conversion (1)
- convert (1)
- convpath (1)
- correct? (1)
- cos (1)
-
count
_ nodes (1) -
count
_ objects (1) -
count
_ objects _ size (1) -
count
_ space? (1) -
count
_ tdata _ objects (1) - covector (1)
- create (1)
-
cross
_ product (1) -
current
_ cert (1) -
current
_ crl (1) -
curve
_ name (1) - d (1)
- data (2)
- date (1)
- date= (1)
- decode (1)
-
decode
_ all (1) -
decode
_ utf7 (1) -
decode
_ www _ form (1) -
decode
_ www _ form _ component (1) - decrypt (3)
-
def
_ builtin _ commands (1) -
def
_ class (1) -
def
_ inspector (1) - default (3)
-
default
_ executable (1) -
default
_ executable= (1) -
default
_ record _ separator (1) -
default
_ record _ separator= (1) -
default
_ value (1) -
define
_ finalizer (2) - degree (1)
- delete (6)
-
delete
_ at (1) -
delete
_ field (1) -
delete
_ if (1) - dependencies (1)
-
dependencies
_ ok? (1) -
dependency
_ order (1) -
dependent
_ gems (1) -
deprecate
_ constant (1) - deq (2)
- description (1)
- description= (1)
- det (1)
- detect (2)
- determinant (1)
-
development
_ dependencies (1) -
dh
_ compute _ key (1) - dig (1)
- dir (1)
- directory? (6)
-
directory
_ makable? (1) - disable (1)
- disconnect (1)
- disconnected? (1)
- display (1)
- dlunwrap (1)
-
do
_ rubygems _ update (1) -
double
_ fig (1) - download (1)
-
dsa
_ sign _ asn1 (1) -
dsa
_ verify _ asn1 (1) - dump (1)
-
dump
_ stream (1) - dup (2)
- each (7)
-
each
_ active _ object (1) -
each
_ child (3) -
each
_ object (4) -
each
_ prime (1) -
each
_ resource (1) -
each
_ strongly _ connected _ component (4) -
each
_ strongly _ connected _ component _ from (4) - echo (1)
- eigen (1)
- eigensystem (1)
-
eigenvalue
_ matrix (1) - eigenvalues (1)
-
eigenvector
_ matrix (1) -
eigenvector
_ matrix _ inv (1) - eigenvectors (1)
- elementdecl? (1)
- elements (1)
-
elements
_ to _ f (1) -
elements
_ to _ i (1) -
elements
_ to _ r (1) - email (1)
- email= (1)
- enable (1)
-
enc
_ key (1) -
ensure
_ dependency (1) -
entity
_ expansion _ limit (1) -
entity
_ expansion _ limit= (1) -
entity
_ expansion _ text _ limit (1) -
entity
_ expansion _ text _ limit= (1) - entitydecl (1)
- entitydecl? (1)
-
enum
_ for (2) - eql? (3)
- equal? (1)
- error (1)
- error= (1)
-
error
_ bytes (1) -
error
_ depth (1) -
error
_ string (1) - eval (3)
- exec (5)
- executable (1)
- executable= (1)
- executable? (4)
-
executable
_ real? (4) - executables (1)
- executables= (1)
- execute (10)
-
exit
_ value (1) - exp (1)
- expect (3)
- exponent (1)
- extend (1)
-
extend
_ object (1) - extensions (1)
- extensions= (1)
-
extra
_ rdoc _ files (1) -
extra
_ rdoc _ files= (1) -
extract
_ entry (1) -
fast
_ unparse (1) - fetch (11)
-
fetch
_ spec (1) - fetcher (1)
- fetcher= (1)
- file (1)
-
file
_ name (1) - files (1)
- files= (1)
- find (3)
-
find
_ all (1) -
find
_ class _ named (1) -
find
_ executable (1) -
find
_ local _ symbol (1) -
find
_ matching (1) -
find
_ name (2) -
find
_ reverse _ dependencies (1) -
find
_ spec _ by _ name _ and _ version (1) - finish (1)
-
finish
_ all _ jobs (3) - first (3)
- flags= (1)
-
flat
_ map (3) - floor (1)
- format (1)
- freeze (1)
-
from
_ file _ by _ path (1) -
from
_ gems _ in (1) -
from
_ installed _ gems (1) -
from
_ io (1) -
from
_ yaml (1) - frozen? (1)
-
full
_ gem _ path (1) -
full
_ name (1) -
garbage
_ collect (2) - gecos (1)
- gecos= (1)
-
gem
_ paths (1) -
gem
_ spec (1) -
gem
_ spec= (1) -
generate
_ key (1) - generator (1)
-
get
_ value (1) - getresource (1)
- getresources (1)
- gm (2)
- grep (2)
-
grep
_ v (2) - group (2)
- group= (1)
-
handle
_ interrupt (1) -
has
_ rdoc (1) -
has
_ rdoc= (1) -
has
_ rdoc? (1) -
has
_ test _ suite? (1) -
has
_ unit _ tests? (1) - hash (1)
- hex (1)
- homepage (1)
- homepage= (1)
-
incomplete
_ input? (1) - independent? (2)
- index (1)
- infinity? (1)
- init (2)
-
init
_ gemspecs (1) - initialize (1)
-
initialize
_ copy (1) - inject (4)
-
inner
_ product (1) -
insert
_ output (1) - inspect (53)
- inspect? (1)
-
inspect
_ i (1) -
inspect
_ mode (1) -
inspect
_ mode= (1) -
inspect
_ obj (1) -
inspect
_ sockaddr (1) -
inspect
_ value (1) - install (1)
-
installation
_ path (1) -
installed
_ spec _ directories (1) - instance (1)
-
instance
_ eval (2) -
instance
_ of? (1) -
instance
_ variable _ defined? (1) -
instance
_ variable _ get (1) -
instance
_ variable _ set (1) -
instance
_ variables (1) - intersect? (1)
- intersection (1)
- invert! (1)
-
ip
_ pktinfo (1) -
ipv6
_ unspecified? (1) -
irb
/ inspector (1) -
is
_ a? (1) - iso8601 (1)
- issuer (1)
- j (1)
- join (2)
-
keep
_ alive _ timeout= (1) - key (2)
- keys (1)
-
keys
_ with _ inspector (1) -
kind
_ of? (1) - l (1)
-
laplace
_ expansion (1) - last (1)
-
last
_ error (1) -
last
_ spec (1) -
last
_ spec _ tried (1) -
latest
_ specs (3) -
legacy
_ repos (1) - letter (1)
-
lib
_ dirs _ for (1) -
lib
_ files (1) - linger (1)
- list (2)
- ln (1)
- load (4)
-
load
_ documents (1) -
load
_ file (1) -
load
_ gems _ in (1) -
load
_ gemspec (1) -
load
_ gemspecs (1) -
load
_ specification (1) -
load
_ specs (1) -
load
_ stream (1) - loaded= (1)
- loaded? (1)
-
loaded
_ from (1) -
loaded
_ from= (1) - local (2)
- log (1)
- logger (2)
-
long
_ name (1) - lookup (1)
- loop (1)
- ludecomp (1)
- lup (1)
-
lup
_ decomposition (1) - lusolve (1)
- mail (1)
-
make
_ affine! (1) -
make
_ temp _ directories (1) - map (9)
- map! (3)
- map2 (1)
-
mark
_ version (1) -
marshal
_ dump (2) - match (3)
- matched (1)
-
matched
_ string (1) -
matching
_ file? (1) -
matching
_ files (1) -
max
_ by (1) -
memsize
_ of (1) -
memsize
_ of _ all (1) - method (1)
-
method
_ inspect (1) -
method
_ missing (1) - methods (1)
-
mid
_ match? (1) -
minitest
/ spec (1) - mktime (2)
- mktmpdir (1)
-
module
_ eval (2) -
module
_ exec (1) - name (3)
- name= (1)
- new (44)
- new2 (1)
- nil? (1)
-
node
_ type (2) - normalize (1)
-
normalize
_ yaml _ input (1) - notation (1)
- notationdecl (1)
- notationdecl? (1)
- notations (1)
- notify (2)
- nsec (1)
-
object
_ group (1) -
object
_ id (1) - oid (1)
-
on
_ XXX (1) -
on
_ curve? (1) -
on
_ default (1) -
only
_ signed (1) -
only
_ signed= (1) -
only
_ trusted (1) -
only
_ trusted= (1) - open (20)
-
open
_ timeout= (2) - order (1)
-
original
_ name (1) -
original
_ platform (1) -
original
_ platform= (1) - output (1)
-
overwrite
_ accessor (1) - parameters (3)
- parent (2)
- parent= (1)
-
parent
_ file _ name (1) -
parent
_ name (1) - parse (5)
- parse! (1)
-
parse
_ openssl (1) -
parse
_ range _ header (1) -
parse
_ rfc2253 (1) - partition (1)
-
path
_ ok? (1) - pathmap (2)
- peek (1)
- pipe (4)
- pivots (1)
- platform (1)
- platform= (1)
-
point
_ conversion _ form (1) -
point
_ conversion _ form= (1) - pop (4)
- popen (11)
-
post
_ connection _ check (1) - power (2)
- pp (3)
- ppx (1)
- precs (1)
-
pretty
_ generate (1) -
pretty
_ inspect (1) -
pretty
_ print (1) -
pretty
_ print _ cycle (1) -
pretty
_ print _ inspect (1) -
pretty
_ print _ instance _ variables (1) -
pretty
_ unparse (1) - prime? (1)
-
prime
_ fasttest? (1) -
primitive
_ convert (4) -
primitive
_ errinfo (1) -
print
_ dependencies (1) -
private
_ decrypt (1) -
private
_ key (1) -
private
_ key= (1) -
private
_ key? (1) -
private
_ methods (1) - protected (1)
-
protected
_ instance _ methods (1) -
protected
_ method _ defined? (1) -
protected
_ methods (2) -
psych
_ to _ yaml (1) -
psych
_ y (1) - public (1)
- public= (1)
-
public
_ decrypt (1) -
public
_ key (2) -
public
_ key= (1) -
public
_ key? (1) -
public
_ method (1) -
public
_ methods (1) -
public
_ send (2) - purpose= (1)
- push (2)
- pushd (1)
- pushdir (1)
- putback (2)
- putc (5)
- puts (1)
-
random
_ bytes (1) -
random
_ number (1) -
rb
_ apply (1) -
rb
_ call (1) -
rb
_ call0 (1) -
rb
_ check _ convert _ type (1) -
rb
_ class _ protected _ instance _ methods (1) -
rb
_ cstr _ to _ dbl (1) -
rb
_ data _ object _ alloc (1) -
rb
_ define _ protected _ method (1) -
rb
_ eval _ string _ protect (1) -
rb
_ exec _ end _ proc (1) -
rb
_ gc _ force _ recycle (1) -
rb
_ inspect (1) -
rb
_ load _ protect (1) -
rb
_ mod _ protected (1) -
rb
_ obj _ inspect (1) -
rb
_ obj _ protected _ methods (1) -
rb
_ protect (1) -
rb
_ thread _ inspect (1) -
rb
_ thread _ sleep (1) -
rb
_ time _ timespec _ new (1) -
rb
_ timespec _ now (1) -
rcptto
_ list (1) -
re
_ string (1) -
reachable
_ objects _ from (1) - read (2)
-
read
_ only (1) -
read
_ timeout= (2) - receiver (1)
- recipients (1)
-
record
_ location (1) -
record
_ separator (1) -
record
_ separator= (1) - recover (1)
- rect (2)
- rectangular (2)
- recv (1)
-
recv
_ io (1) - recvfrom (3)
-
recvfrom
_ nonblock (1) - recvmsg (1)
-
recvmsg
_ nonblock (1) - redirect? (1)
- reduce (3)
- register (1)
- reject (4)
- reject! (6)
-
relative
_ path _ from (1) - remove (1)
-
remove
_ by _ name (1) -
remove
_ class _ variable (1) -
remove
_ const (1) -
remove
_ entry _ secure (1) -
remove
_ executables (1) -
remove
_ instance _ variable (1) -
remove
_ spec (1) - renew (1)
- replacement (1)
- replacement= (1)
-
require
_ path (1) -
require
_ path= (1) -
require
_ paths (1) -
require
_ paths= (1) -
require
_ relative (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) - requirements (1)
- requirements= (1)
- reset (1)
-
respond
_ to? (1) -
respond
_ to _ missing? (1) - responses (1)
- restore (2)
- result (1)
- resume (1)
-
return
_ value (1) - round (1)
- row (1)
-
row
_ vectors (1) -
rubygems
/ commands / specification _ command (1) -
rubygems
/ security (1) -
rubygems
/ spec _ fetcher (1) -
rubygems
/ specification (1) -
rubygems
_ version (1) -
rubygems
_ version= (1) -
runtime
_ dependencies (1) -
safe
_ load (1) - sample (2)
- sanitize (1)
-
satisfies
_ requirement? (1) -
save
_ exception _ mode (1) -
scan
_ full (1) - search (3)
-
search
_ full (1) - sec (1)
- section (1)
- sections (1)
- seed (1)
- seed= (1)
- select (7)
- select! (4)
- self (1)
- send (2)
- serial (1)
-
set
_ generator (1) -
set
_ redirect (1) -
set
_ to _ infinity! (1) - sexp (1)
-
sexp
_ raw (1) -
sharing
_ detection (1) -
sharing
_ detection= (1) - shift (4)
-
short
_ name (1) - sign (1)
-
sign
_ cert (1) -
signing
_ key (1) -
signing
_ key= (1) - sin (1)
-
singleline
_ format (1) -
singleline
_ pp (1) -
singleton
_ methods (1) - singular? (1)
- sleep (1)
- slice (1)
- sn (1)
- solve (1)
-
sort
_ by (1) - spec (4)
- spec= (2)
-
spec
_ count (1) -
spec
_ dirs (1) -
spec
_ dirs= (1) -
spec
_ path (1) -
spec
_ predecessors (1) -
special
_ local _ set (1) - specific? (1)
-
specific
_ eval (1) -
specific
_ extra _ args (1) -
specific
_ extra _ args _ hash (1) - specification (1)
-
specification
_ version (1) -
specification
_ version= (1) - specs (2)
- split (1)
- sqrt (1)
-
ssl
_ timeout= (2) - start (6)
-
start
_ document (1) -
start
_ profile (1) - stat (1)
-
stop
_ doc (1) - store (1)
-
strongly
_ connected _ components (2) - subject (3)
- subject= (2)
-
subject
_ certificate (1) -
subject
_ certificate= (1) -
subject
_ request (1) -
subject
_ request= (1) - subsec (1)
- sum (2)
- summary (1)
- summary= (1)
- switch (2)
-
sync
_ inspect (1) - synchronize (1)
- tag (1)
-
tag
_ directives (1) -
tag
_ directives= (1) - taint (1)
- tainted? (1)
- take (2)
- tap (1)
- tcp (2)
-
tcp
_ server _ sockets (2) -
test
_ file (1) -
test
_ file= (1) -
test
_ files (1) -
test
_ files= (1) -
test
_ suite _ file (1) -
test
_ suite _ file= (1) - time= (1)
- timeout (3)
- timeout= (1)
-
to
_ a (4) -
to
_ ary (3) -
to
_ bn (1) -
to
_ d (3) -
to
_ der (2) -
to
_ enum (2) -
to
_ h (1) -
to
_ hash (1) -
to
_ int (1) -
to
_ pem (2) -
to
_ proc (1) -
to
_ re (1) -
to
_ regexp (1) -
to
_ ruby (2) -
to
_ s (17) -
to
_ str (1) -
to
_ text (2) -
to
_ value (1) -
to
_ yaml (1) - tokenize (1)
-
trace
_ object _ allocations (1) -
trace
_ object _ allocations _ start (1) -
trace
_ object _ allocations _ stop (1) - transact (1)
- transaction (1)
- transfer (1)
- transform (1)
- truncate (1)
- trust= (1)
-
trusted
_ cert _ path (1) -
tv
_ nsec (1) -
tv
_ sec (1) -
tv
_ usec (1) - typecode (1)
- typecode= (1)
- u (1)
-
udp
_ server _ recv (1) -
udp
_ server _ sockets (2) -
undefine
_ finalizer (1) - unescape (1)
-
uninstall
_ gem (1) -
unit
_ test (1) - unix (1)
-
unix
_ server _ socket (1) - unpack (1)
- unpack1 (1)
- unparse (1)
- unshift (1)
- untaint (1)
-
update
_ checksum (1) -
urlsafe
_ base64 (1) - usec (1)
- utc (2)
- uuid (1)
- v (1)
-
v
_ inv (1) - validate (1)
- value (4)
- values (1)
-
values
_ at (3) - verify (1)
-
verify
_ chain (1) -
verify
_ chain= (1) -
verify
_ data (1) -
verify
_ data= (1) -
verify
_ gem (1) -
verify
_ root (1) -
verify
_ root= (1) -
verify
_ signer (1) -
verify
_ signer= (1) -
verify
_ trust _ dir (1) - version (1)
- version= (1)
- visibility (2)
-
wait
_ all _ jobs _ execution (1) -
warn
_ legacy (1) -
which
_ to _ update (1) - width (1)
-
with
_ index (1) -
with
_ object (2) -
with
_ werror (2) - wrap (2)
- write (5)
-
write
_ require _ paths _ file _ if _ needed (1) -
write
_ spec (1) - xmldecl? (1)
- xmlschema (1)
- xpopen (1)
- y (1)
-
yaml
_ initialize (1) -
yaml
_ tag (1) - yield (2)
- yyparse (1)
- zip (2)
- | (2)
- はじめに (1)
- オブジェクト (1)
- クラス (1)
- クラス/メソッドの定義 (1)
- コマンド (1)
- スレッド (1)
- セキュリティモデル (1)
- プログラム・文・式 (1)
- メソッド呼び出し(super・ブロック付き・yield) (1)
- リテラル (1)
- 制御構造 (1)
- 変数と定数 (1)
- 多言語化 (1)
- 字句構造 (1)
- 手続きオブジェクトの挙動の詳細 (1)
- 正規表現 (1)
- 演算子式 (1)
- 環境変数 (1)
- 終了処理 (1)
検索結果
先頭5件
-
Gem
:: DependencyList # spec _ predecessors -> Hash (63901.0) -
@todo ???
@todo ???
Return a hash of predecessors. <tt>result[spec]</tt> is an
Array of gemspecs that have a dependency satisfied by the named
spec. -
Object
# pretty _ print _ inspect -> String (63901.0) -
Object#pretty_print を使って Object#inspect と同様に オブジェクトを人間が読める形式に変換した文字列を返します。
Object#pretty_print を使って Object#inspect と同様に
オブジェクトを人間が読める形式に変換した文字列を返します。
出力する全てのオブジェクトに Object#pretty_print が定義されている必要があります。
そうでない場合には RuntimeError が発生します。
@raise RuntimeError 出力する全てのオブジェクトに Object#pretty_print が定義されて
いない場合に発生します。 -
Matrix
:: LUPDecomposition # p -> Matrix (63304.0) -
LUP分解の置換行列部分を返します。
LUP分解の置換行列部分を返します。 -
OpenSSL
:: PKey :: EC (63049.0) -
EC(Ellicptic Curve,楕円曲線)暗号鍵のクラスです。
EC(Ellicptic Curve,楕円曲線)暗号鍵のクラスです。
このクラスのメソッドについてより詳しく知りたい場合は openssl のドキュメント
の対応する関数の項を見てください。 -
Gem
:: SpecFetcher # fetch _ spec(spec , source _ uri) -> object (55501.0) -
@todo
@todo
@param spec
@param source_uri -
IRB
:: Inspector . keys _ with _ inspector(inspector) -> Array (55237.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"] -
Gem
:: Indexer # collect _ specs -> Gem :: SourceIndex (54901.0) -
Gem のキャッシュディレクトリ内の *.gem ファイルから Gem::Specification を集めます。
Gem のキャッシュディレクトリ内の *.gem ファイルから Gem::Specification を集めます。 -
Gem
:: SourceIndex . installed _ spec _ directories -> [String] (54901.0) -
gemspec ファイルがインストールされているディレクトリのリストを返します。
gemspec ファイルがインストールされているディレクトリのリストを返します。
@see Gem.#path -
Gem
:: SpecFetcher # load _ specs(source _ uri , file) -> object (54901.0) -
指定された source_uri, file から gemspec をロードします。
指定された source_uri, file から gemspec をロードします。
また、内部ではキャッシュの更新も行っています。
@param source_uri gemspec の置いてある URI を指定します。
@param file gemspec のファイル名を指定します。 -
IRB
:: Inspector . def _ inspector(key , arg = nil) { |v| . . . } -> object (54901.0) -
新しい実行結果の出力方式を定義します。
新しい実行結果の出力方式を定義します。
@param key conf.inspect_mode や IRB.conf[:INSPECT_MODE] に指定するキー
オブジェクトを指定します。配列を指定した場合は配列中の要素全
てが対象になります。
@param arg ブロックを指定する場合には、inspect_mode の初期化のための手続
きオブジェクトを指定します。あらかじめ require が必要な場合
などに、proc { require "foo" } といった指定を行います。
... -
OpenSSL
:: SSL :: SSLSocket # post _ connection _ check(hostname) -> true (54901.0) -
接続後検証を行います。
接続後検証を行います。
検証に成功した場合は true を返し、失敗した場合は例外
OpenSSL::SSL::SSLError を発生させます。
OpenSSL の API では、
OpenSSL::SSL::SSLSocket#connect や OpenSSL::SSL::SSLSocket#accept
での検証は実用的には不完全です。
CA が証明書に署名してそれが失効していないことしか確認しません。
実用上は証明書に記載されている事項を見て、接続先が妥当であるかを確認する
必要があります。通常は接続先ホストの FQDN と証明書に記載されている FQDN が
一致しているか... -
Kernel
. # p(*arg) -> object | Array (54658.0) -
引数を人間に読みやすい形に整形して改行と順番に標準出力 $stdout に出力します。主にデバッグに使用します。
引数を人間に読みやすい形に整形して改行と順番に標準出力 $stdout に出力します。主にデバッグに使用します。
引数の inspect メソッドの返り値と改行を順番に出力します。つまり以下のコードと同じです。
//emlist[例][ruby]{
print arg[0].inspect, "\n", arg[1].inspect, "\n" #, ...
//}
整形に用いられるObject#inspectは普通に文字列に変換すると
区別がつかなくなるようなクラス間の差異も表現できるように工夫されています。
p に引数を与えずに呼び出した場合は特に何もしません。
@param ... -
Gem
:: SpecFetcher # latest _ specs -> Hash (54601.0) -
キャッシュされている最新の gemspec を返します。
キャッシュされている最新の gemspec を返します。 -
Gem
:: SpecFetcher # specs -> Hash (54601.0) -
キャッシュされている全ての gemspec を返します。
キャッシュされている全ての gemspec を返します。 -
Gem
:: Specification # specification _ version -> Integer (54601.0) -
この Gem パッケージに用いられている gemspec のバージョンを返します。
この Gem パッケージに用いられている gemspec のバージョンを返します。 -
Gem
:: Specification # specification _ version=(version) (54601.0) -
この Gem パッケージに用いられている gemspec のバージョンをセットします。
この Gem パッケージに用いられている gemspec のバージョンをセットします。
@param version gemspec のバージョンを指定します。
@see Gem::Specification::SPECIFICATION_VERSION_HISTORY -
Gem
:: Specification :: CURRENT _ SPECIFICATION _ VERSION -> 2 (54601.0) -
現在の gemspec のバージョンを表す定数です。
現在の gemspec のバージョンを表す定数です。 -
Gem
:: Specification :: NONEXISTENT _ SPECIFICATION _ VERSION -> -1 (54601.0) -
明確に指定されていない時の gemspec のバージョンを表します。
明確に指定されていない時の gemspec のバージョンを表します。 -
Gem
:: Specification :: SPECIFICATION _ VERSION _ HISTORY -> Hash (54601.0) -
gemspec ファイルのバージョンの歴史を表す定数です。
gemspec ファイルのバージョンの歴史を表す定数です。 -
IRB
:: Inspector # inspect _ value(v) -> () (54601.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
IRB
:: Inspector :: INSPECTORS (54001.0) -
定義された inspect_mode を管理する Hash オブジェクトです。
定義された inspect_mode を管理する Hash オブジェクトです。
デフォルトで扱える Inspector については lib:irb#inspect_mode を
参照してください。 -
Net
:: HTTPExpectationFailed (54001.0) -
HTTP レスポンス 417 (Expectation Failed) を表現するクラスです。
HTTP レスポンス 417 (Expectation Failed) を表現するクラスです。
詳しくは 7231 Section 6.5.14 を見てください。 -
OpenStruct
:: InspectKey -> : _ _ inspect _ key _ _ (46201.0) -
内部的に使用する定数です。
内部的に使用する定数です。 -
Object
# inspect -> String (45637.0) -
オブジェクトを人間が読める形式に変換した文字列を返します。
オブジェクトを人間が読める形式に変換した文字列を返します。
組み込み関数 Kernel.#p は、このメソッドの結果を使用して
オブジェクトを表示します。
//emlist[][ruby]{
[ 1, 2, 3..4, 'five' ].inspect # => "[1, 2, 3..4, \"five\"]"
Time.new.inspect # => "2008-03-08 19:43:39 +0900"
//}
inspect メソッドをオーバーライドしなかった場合、クラス名とインスタンス
変数の名前、値の組を元にした文字列を返します。
//... -
BigDecimal
# inspect -> String (45601.0) -
BigDecimal オブジェクトを表す文字列を返します。
BigDecimal オブジェクトを表す文字列を返します。
//emlist[][ruby]{
require "bigdecimal"
BigDecimal("1234.5678").inspect
# => "0.12345678e4"
//} -
BigDecimal
# precs -> [Integer , Integer] (45601.0) -
self の有効数字と最大有効数字の配列を返します。
self の有効数字と最大有効数字の配列を返します。 -
FalseClass
# inspect -> String (45601.0) -
常に文字列 "false" を返します。
常に文字列 "false" を返します。
//emlist[例][ruby]{
false.to_s # => "false"
//} -
Gem
:: DependencyInstaller # find _ spec _ by _ name _ and _ version(gem _ name , version = Gem :: Requirement . default) -> Array (45601.0) -
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と それの存在する URI を含む配列を返します。
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と
それの存在する URI を含む配列を返します。
@param gem_name Gem の名前を指定します。
@param version Gem が満たすバージョンに関する条件を指定します。 -
Object
# pretty _ inspect -> String (45601.0) -
self を pp で表示したときの結果を文字列として返します。
self を pp で表示したときの結果を文字列として返します。 -
Object
# pretty _ print(pp) -> () (45601.0) -
PP.pp や Kernel.#pp がオブジェクトの内容を出力するときに 呼ばれるメソッドです。PP オブジェクト pp を引数として呼ばれます。
PP.pp や Kernel.#pp がオブジェクトの内容を出力するときに
呼ばれるメソッドです。PP オブジェクト pp を引数として呼ばれます。
あるクラスの pp の出力をカスタマイズしたい場合は、このメソッドを再定義します。
そのとき pretty_print メソッドは指定された pp に対して表示したい自身の内容を追加して
いかなければいけません。いくつかの組み込みクラスについて、
pp ライブラリはあらかじめ pretty_print メソッドを定義しています。
@param pp PP オブジェクトです。
//emlist[][ruby]{
require 'pp'
... -
Object
# pretty _ print _ cycle(pp) -> () (45601.0) -
プリティプリント時にオブジェクトの循環参照が検出された場合、 Object#pretty_print の代わりに呼ばれるメソッドです。
プリティプリント時にオブジェクトの循環参照が検出された場合、
Object#pretty_print の代わりに呼ばれるメソッドです。
あるクラスの pp の出力をカスタマイズしたい場合は、
このメソッドも再定義する必要があります。
@param pp PP オブジェクトです。
//emlist[][ruby]{
class Array
def pretty_print_cycle(q)
q.text(empty? ? '[]' : '[...]')
end
end
//}
@see Object#pretty_print -
Object
# pretty _ print _ instance _ variables -> [String | Symbol] (45601.0) -
プリティプリント時に表示すべき自身のインスタンス変数名の配列をソートして返します。 返されたインスタンス変数はプリティプリント時に表示されます。
プリティプリント時に表示すべき自身のインスタンス変数名の配列をソートして返します。
返されたインスタンス変数はプリティプリント時に表示されます。
pp に表示したくないインスタンス変数がある場合にこのメソッドを再定義します。 -
Object
# protected _ methods(include _ inherited = true) -> [Symbol] (45601.0) -
そのオブジェクトが理解できる protected メソッド名の一覧を返します。
そのオブジェクトが理解できる protected メソッド名の一覧を返します。
@param include_inherited 偽となる値を指定すると自身のクラスのスーパークラスで定義されたメソッドを除きます。
@see Module#protected_instance_methods,Object#methods,Object#singleton_methods -
ObjectSpace
. # trace _ object _ allocations _ stop -> nil (45601.0) -
オブジェクト割り当てのトレースを終了します。
オブジェクト割り当てのトレースを終了します。
トレースを終了する為には、ObjectSpace.#trace_object_allocations_startを呼んだ回数分だけこのメソッドを呼ぶ必要があります。
@see ObjectSpace.#trace_object_allocations_start -
OpenSSL
:: OCSP :: REVOKED _ STATUS _ UNSPECIFIED -> Integer (45601.0) -
OpenSSL::OCSP::BasicResponse#status の失効理由コードで、 未指定を意味します。
OpenSSL::OCSP::BasicResponse#status の失効理由コードで、
未指定を意味します。
詳しくは 3280 や X.509 を参照してください。 -
OpenSSL
:: X509 :: Name :: DEFAULT _ OBJECT _ TYPE -> Integer (45601.0) -
属性値のデフォルトの ASN.1 の型です。
属性値のデフォルトの ASN.1 の型です。
OpenSSL::X509::Name.parse や OpenSSL::X509::Name.new で
template に指定されなかった属性はこの型であると仮定して処理されます。
OpenSSL::ASN1::UTF8STRING を返します。 -
OpenSSL
:: X509 :: Name :: OBJECT _ TYPE _ TEMPLATE -> { String => Integer } (45601.0) -
属性型に対応する ASN.1の型を格納したハッシュです。
属性型に対応する ASN.1の型を格納したハッシュです。
OpenSSL::X509::Name.parse や OpenSSL::X509::Name.new
などでデフォルト値として使われます。
キーは属性型文字列で、ASN.1の型を表わす整数が対応します。
以下の文字列がキーです。
'C', 'countryName', 'serialNumber', 'dnQualifier',
'DC', 'domainComponent', 'emailAddress' -
OpenStruct
# inspect -> String (45601.0) -
オブジェクトを人間が読める形式に変換した文字列を返します。
オブジェクトを人間が読める形式に変換した文字列を返します。
@see Object#inspect -
Process
:: CLOCK _ MONOTONIC _ PRECISE -> Integer (45601.0) -
Process.#clock_gettime で使われます。
Process.#clock_gettime で使われます。
システムによっては定義されていません。 -
Process
:: CLOCK _ REALTIME _ PRECISE -> Integer (45601.0) -
Process.#clock_gettime で使われます。
Process.#clock_gettime で使われます。
システムによっては定義されていません。 -
Process
:: CLOCK _ UPTIME _ PRECISE -> Integer (45601.0) -
Process.#clock_gettime で使われます。
Process.#clock_gettime で使われます。
システムによっては定義されていません。 -
RDoc
:: Context :: Section # inspect -> String (45601.0) -
自身の情報を人間に読みやすい文字列にして返します。
自身の情報を人間に読みやすい文字列にして返します。 -
TrueClass
# inspect -> String (45601.0) -
常に文字列 "true" を返します。
常に文字列 "true" を返します。
//emlist[例][ruby]{
true.inspect # => "true"
//} -
Vector
# inspect -> String (45601.0) -
オブジェクトの内容を文字列化します。
オブジェクトの内容を文字列化します。 -
WIN32OLE
_ TYPE # inspect -> String (45601.0) -
selfを説明的な文字列で表現します。
selfを説明的な文字列で表現します。
@return "#<WIN32OLE_TYPE"とWIN32OLE_TYPE#to_sの結果を「:」で結合
し、「>」で閉じた文字列を返します。
x = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'Worksheet')
puts x.inspect #=> #<WIN32OLE_TYPE:Worksheet>
@see WIN32OLE_TYPE#to_s -
Gem
:: SourceIndex # add _ spec(gem _ spec) -> Gem :: Specification (37801.0) -
自身に引数で与えられた Gem::Specification のインスタンスを追加します。
自身に引数で与えられた Gem::Specification のインスタンスを追加します。
@param gem_spec Gem::Specification のインスタンスを指定します。 -
IRB
. Inspector(inspect , init = nil) -> IRB :: Inspector (37801.0) -
IRB::Inspector オブジェクトを生成します。
IRB::Inspector オブジェクトを生成します。
@param inspect 実行結果の出力のための手続きオブジェクトを指定します。
@param init inspect_mode の初期化のための手続きオブジェクトを指定します。
あらかじめ require が必要な場合などに、proc { require "foo" }
といった指定を行います。 -
Gem
:: Format # spec -> Gem :: Specification (37201.0) -
Gem の Gem::Specification を返します。
Gem の Gem::Specification を返します。 -
Gem
:: Format # spec=(spec) (37201.0) -
Gem の Gem::Specification をセットします。
Gem の Gem::Specification をセットします。
@param spec Gem の Gem::Specification をセットします。 -
Gem
:: GemPathSearcher # init _ gemspecs -> [Gem :: Specification] (37201.0) -
インストール済みの Gem の Gem::Specification のリストを返します。
インストール済みの Gem の Gem::Specification のリストを返します。
リストはアルファベット順かつバージョンの新しい順にソートされています。 -
Gem
:: Installer # spec -> Gem :: Specification (37201.0) -
インストールしようとしている Gem に対応する Gem::Specification のインスタンスを返します。
インストールしようとしている Gem に対応する Gem::Specification のインスタンスを返します。 -
Gem
:: OldFormat # spec -> Gem :: Specification (37201.0) -
Gem の Gem::Specification を返します。
Gem の Gem::Specification を返します。 -
Gem
:: OldFormat # spec=(spec) (37201.0) -
Gem の Gem::Specification をセットします。
Gem の Gem::Specification をセットします。
@param spec Gem の Gem::Specification をセットします。 -
Gem
:: Package :: TarInput # load _ gemspec(io) -> Gem :: Specification | nil (37201.0) -
YAML 形式の gemspec を io から読み込みます。
YAML 形式の gemspec を io から読み込みます。
@param io 文字列か IO オブジェクトを指定します。
@see Gem::Specification.from_yaml -
Gem
:: SourceIndex # add _ specs(*gem _ specs) -> Hash (37201.0) -
自身に引数で与えられた Gem::Specification のインスタンスを全て追加します。
自身に引数で与えられた Gem::Specification のインスタンスを全て追加します。
@param gem_specs 複数の Gem::Specification のインスタンスを指定します。 -
Gem
:: SourceIndex # remove _ spec(full _ name) -> Gem :: Specification (37201.0) -
引数で指定された名前を持つ Gem をインデックスから削除します。
引数で指定された名前を持つ Gem をインデックスから削除します。 -
Gem
:: SourceIndex # specification(full _ name) -> Gem :: Specification | nil (37201.0) -
指定された名前の Gem::Specification オブジェクトを返します。
指定された名前の Gem::Specification オブジェクトを返します。
@param full_name Gem のフルネームを指定します。 -
Gem
:: SourceIndex . load _ specification(file _ name) -> Gem :: Specification | nil (37201.0) -
与えられたファイル名から Ruby スクリプト形式の gemspec をロードして Gem::Specification のインスタンスを返します。
与えられたファイル名から Ruby スクリプト形式の gemspec をロードして
Gem::Specification のインスタンスを返します。
@param file_name ファイル名を指定します。
@raise SignalException gemspec をロードしているときに発生します。
@raise SystemExit gemspec をロードしているときに発生します。 -
Gem
:: Uninstaller # spec -> Gem :: Specification (37201.0) -
Gem::Uninstaller#uninstall_gem の実行中のみセットされます。
Gem::Uninstaller#uninstall_gem の実行中のみセットされます。 -
OpenSSL
:: PKCS7 # add _ recipient(recipient) -> self (37201.0) -
送信者を追加します。
送信者を追加します。
このメソッドは使わないでください。
このメソッドは PKCS#7 の低レベル API であり、正しく使うのは
難しいでしょう。
@param recipient 追加する送信者(OpenSSL::PKCS7::RecipientInfo) -
OpenSSL
:: PKCS7 # recipients -> [OpenSSL :: PKCS7 :: RecipientInfo] (37201.0) -
メッセージの送信先の情報を配列で返します。
メッセージの送信先の情報を配列で返します。
これは暗号化した場合のみ意味があります。 -
Rake
:: GemPackageTask # gem _ spec -> Gem :: Specification (37201.0) -
package ターゲットで使用する gemspec を返します。
package ターゲットで使用する gemspec を返します。
gemspec にはパッケージ名、バージョン、パッケージに含まれるファイルなどが定義
されているので、それらを明示的に指定する必要はありません。 -
Rake
:: GemPackageTask # gem _ spec=(gem _ spec) (37201.0) -
gemspec をセットします。
gemspec をセットします。
@param gem_spec Gem::Specification のインスタンスを指定します。 -
VALUE rb
_ time _ timespec _ new(const struct timespec *ts , int offset) (37201.0) -
引数 ts、offset を元に Time オブジェクトを作成して返します。
引数 ts、offset を元に Time オブジェクトを作成して返します。
@param ts timespec 構造体のポインタ
@param offset 協定世界時との時差(秒)。
-86400 < offset < 86400 の場合は指定した時差に、INT_MAX
を指定した場合は地方時、INT_MAX-1 を指定した場合は UTC に
なります。
@raise ArgumentError offset に上述の範囲以外の値を指定した場合に発生し
ま... -
void rb
_ timespec _ now(struct timespec *ts) (37201.0) -
現在時刻を取得してその結果を引数 ts で指定した timespec 構造体に格納します。
現在時刻を取得してその結果を引数 ts で指定した timespec 構造体に格納します。
@param ts timespec 構造体のポインタ -
Gem
:: Indexer # compact _ specs(specs) -> Array (36901.0) -
与えられたスペックを元にスペックを一意に特定できるだけの情報を持った配列を作成して 返します。
与えられたスペックを元にスペックを一意に特定できるだけの情報を持った配列を作成して
返します。
@param specs Gem::Specification の配列を指定します。 -
IRB
:: Context # inspect _ mode -> object | nil (36901.0) -
実行結果の出力方式を返します。
実行結果の出力方式を返します。
@see IRB::Context#inspect_mode= -
OpenSSL
:: X509 :: Certificate # check _ private _ key(private _ key) -> bool (36901.0) -
与えられた秘密鍵が証明書に記載されている subject の公開鍵と対応するものかを確かめます。
与えられた秘密鍵が証明書に記載されている subject の公開鍵と対応するものかを確かめます。
確認に成功した場合に真を返します。
@param private_key 確認用の秘密鍵 -
Prime
:: PseudoPrimeGenerator # with _ object(obj) {|prime , obj| . . . } -> object (36901.0) -
与えられた任意のオブジェクトと要素をブロックに渡して評価します。
与えられた任意のオブジェクトと要素をブロックに渡して評価します。
@param obj 任意のオブジェクトを指定します。
@return 最初に与えられたオブジェクトを返します。
@return ブロックを与えられた場合は obj を返します。ブロックを与えられなかった場合は Enumerator を返します。
@see Enumerator#with_object -
VALUE rb
_ check _ convert _ type(VALUE val , int type , const char *tname , const char *method) (36901.0) -
val.method を実行してクラス tname のインスタンスを返します。 val がメソッド method を持たなければ nil を返します。
val.method を実行してクラス tname のインスタンスを返します。
val がメソッド method を持たなければ nil を返します。
type は、T_ARRAY, T_STRING などの構造体を表す ID です。
method の結果の型が type でなければ例外 TypeError が発生します。 -
VALUE rb
_ protect(VALUE (*proc)() , VALUE data , int *state) (36901.0) -
初出: 4064
初出: 4064
proc(data) を評価中のあらゆる大域脱出(例外を含む)を捕捉します。
val = rb_protect(func, arg, &status);
if (status != 0) {
puts("大域脱出が起きた");
rb_jump_tag(status);
} -
void Check
_ Type(VALUE val , int typeflag) (36901.0) -
val の構造体型フラグが typeflag でなければ 例外 TypeError を発生します。val は即値の VALUE であっても 構いません。
val の構造体型フラグが typeflag でなければ
例外 TypeError を発生します。val は即値の VALUE であっても
構いません。 -
Module
# inspect -> String (36745.0) -
モジュールやクラスの名前を文字列で返します。
モジュールやクラスの名前を文字列で返します。
このメソッドが返す「モジュール / クラスの名前」とは、
より正確には「クラスパス」を指します。
クラスパスとは、ネストしているモジュールすべてを
「::」を使って表示した名前のことです。
クラスパスの例としては「CGI::Session」「Net::HTTP」が挙げられます。
@return 名前のないモジュール / クラスに対しては、name は nil を、それ以外はオブジェクト ID の文字列を返します。
//emlist[例][ruby]{
module A
module B
end
p B.name #=> "A... -
Method
# inspect -> String (36709.0) -
self を読みやすい文字列として返します。
self を読みやすい文字列として返します。
以下の形式の文字列を返します。
#<Method: klass1(klass2)#method> (形式1)
klass1 は、Method#inspect では、レシーバのクラス名、
UnboundMethod#inspect では、UnboundMethod オブジェクトの生成
元となったクラス/モジュール名です。
klass2 は、実際にそのメソッドを定義しているクラス/モジュール名、
method は、メソッド名を表します。
//emlist[例][ruby]{
module Foo
def... -
Integer
# inspect(base=10) -> String (36673.0) -
整数を 10 進文字列表現に変換します。
整数を 10 進文字列表現に変換します。
引数を指定すれば、それを基数とした文字列表
現に変換します。
//emlist[][ruby]{
p 10.to_s(2) # => "1010"
p 10.to_s(8) # => "12"
p 10.to_s(16) # => "a"
p 35.to_s(36) # => "z"
//}
@return 数値の文字列表現
@param base 基数となる 2 - 36 の数値。
@raise ArgumentError base に 2 - 36 以外の数値を指定した場合に発生します。 -
Gem
:: Requirement # specific? -> bool (36655.0) -
条件に上限のある指定で、最新のバージョンにマッチしない可能性のある場合は、true を返します。
条件に上限のある指定で、最新のバージョンにマッチしない可能性のある場合は、true を返します。
//emlist[][ruby]{
p Gem::Requirement.new(">= 3").specific? # => false
p Gem::Requirement.new("~> 3").specific? # => true
p Gem::Requirement.new("= 3").specific? # => true
//} -
ObjectSpace
. # each _ object {|object| . . . } -> Integer (36655.0) -
指定された klass と Object#kind_of? の関係にある全ての オブジェクトに対して繰り返します。引数が省略された時には全てのオブ ジェクトに対して繰り返します。 繰り返した数を返します。
指定された klass と Object#kind_of? の関係にある全ての
オブジェクトに対して繰り返します。引数が省略された時には全てのオブ
ジェクトに対して繰り返します。
繰り返した数を返します。
ブロックが与えられなかった場合は、
Enumerator オブジェクトを返します。
次のクラスのオブジェクトについては繰り返しません
* Fixnum
* Symbol
* TrueClass
* FalseClass
* NilClass
とくに、klass に Fixnum や Symbol などのクラスを指定した場合は、
何も繰り返さないことになります。
なお、Sy... -
ObjectSpace
. # each _ object(klass) {|object| . . . } -> Integer (36655.0) -
指定された klass と Object#kind_of? の関係にある全ての オブジェクトに対して繰り返します。引数が省略された時には全てのオブ ジェクトに対して繰り返します。 繰り返した数を返します。
指定された klass と Object#kind_of? の関係にある全ての
オブジェクトに対して繰り返します。引数が省略された時には全てのオブ
ジェクトに対して繰り返します。
繰り返した数を返します。
ブロックが与えられなかった場合は、
Enumerator オブジェクトを返します。
次のクラスのオブジェクトについては繰り返しません
* Fixnum
* Symbol
* TrueClass
* FalseClass
* NilClass
とくに、klass に Fixnum や Symbol などのクラスを指定した場合は、
何も繰り返さないことになります。
なお、Sy... -
Regexp
# inspect -> String (36637.0) -
Regexp#to_s より自然な文字列を返します。
Regexp#to_s より自然な文字列を返します。
//emlist[例][ruby]{
p /^ugou.*?/i.to_s # => "(?i-mx:^ugou.*?)"
p /^ugou.*?/i.inspect # => "/^ugou.*?/i"
//}
@see Regexp#to_s -
TSort
. each _ strongly _ connected _ component(each _ node , each _ child) -> Enumerator (36637.0) -
TSort.strongly_connected_components メソッドのイテレータ版です。
TSort.strongly_connected_components メソッドのイテレータ版です。
引数 each_node と each_child でグラフを表します。
@param each_node グラフ上の頂点をそれぞれ評価するcallメソッドを持つオブ
ジェクトを指定します。
@param each_child 引数で与えられた頂点の子をそれぞれ評価するcallメソッ
ドを持つオブジェクトを指定します。
//emlist[使用例][ruby]{
require 'tsort'
g = {1=>[2... -
TSort
. each _ strongly _ connected _ component(each _ node , each _ child) {|nodes| . . . } -> nil (36637.0) -
TSort.strongly_connected_components メソッドのイテレータ版です。
TSort.strongly_connected_components メソッドのイテレータ版です。
引数 each_node と each_child でグラフを表します。
@param each_node グラフ上の頂点をそれぞれ評価するcallメソッドを持つオブ
ジェクトを指定します。
@param each_child 引数で与えられた頂点の子をそれぞれ評価するcallメソッ
ドを持つオブジェクトを指定します。
//emlist[使用例][ruby]{
require 'tsort'
g = {1=>[2... -
TSort
. strongly _ connected _ components(each _ node , each _ child) -> Array (36637.0) -
強連結成分の集まりを配列の配列として返します。 この配列は子から親に向かってソートされています。 各要素は強連結成分を表す配列です。
強連結成分の集まりを配列の配列として返します。
この配列は子から親に向かってソートされています。
各要素は強連結成分を表す配列です。
引数 each_node と each_child でグラフを表します。
@param each_node グラフ上の頂点をそれぞれ評価するcallメソッドを持つオブ
ジェクトを指定します。
@param each_child 引数で与えられた頂点の子をそれぞれ評価するcallメソッ
ドを持つオブジェクトを指定します。
//emlist[使用例][ruby]{
require 'ts... -
CSV
:: Table # inspect -> String (36619.0) -
モードとサイズを US-ASCII な文字列で返します。
モードとサイズを US-ASCII な文字列で返します。
//emlist[][ruby]{
require 'csv'
csv = CSV.new("a,b,c\n1,2,3", headers: true)
table = csv.read
p table.inspect # => "#<CSV::Table mode:col_or_row row_count:2>"
//} -
Exception
# inspect -> String (36619.0) -
self のクラス名と message を文字列にして返します。
self のクラス名と message を文字列にして返します。
//emlist[例][ruby]{
begin
raise "exception"
rescue
p $!.inspect # => "#<RuntimeError: exception>"
end
//} -
IRB
:: Context # inspect _ mode=(opt) (36619.0) -
実行結果の出力方式を opt に設定します。
実行結果の出力方式を opt に設定します。
@param opt 以下のいずれかを指定します。
: false, :to_s, :raw
出力結果を to_s したものを表示します。
: true, :p, :inspect
出力結果を inspect したものを表示します。
: :pp, :pretty_inspect
出力結果を pretty_inspect したものを表示します。
: :yaml, :YAML
出力結果を YAML 形式にしたものを表示します。
: :marshal, :Marshal, :MARSHAL, Marshal
出力結果を Marsh... -
Kernel
$ $ INPUT _ RECORD _ SEPARATOR -> String | nil (36619.0) -
$/ の別名
$/ の別名
require "English"
$INPUT_RECORD_SEPARATOR = '|'
array = []
while line = DATA.gets
array << line
end
p array #=> ["ugo|", "ego|", "fogo\n"]
__END__
ugo|ego|fogo -
Matrix
# inspect -> String (36619.0) -
自分自身を見やすい形式に文字列化し、その文字列を返します。
自分自身を見やすい形式に文字列化し、その文字列を返します。
//emlist[例][ruby]{
require 'matrix'
a1 = [1, 2]
a2 = [3, 4.5]
m = Matrix[a1, a2]
p m.inspect # => "Matrix[[1, 2], [3, 4.5]]"
//} -
Proc
# inspect -> String (36619.0) -
self の文字列表現を返します。
self の文字列表現を返します。
可能なら self を生成したソースファイル名、行番号を含みます。
//emlist[例][ruby]{
p Proc.new {
true
}.to_s
# => "#<Proc:0x0x401a880c@-:3>"
//} -
String
# inspect -> String (36619.0) -
文字列オブジェクトの内容を、出力したときに人間が読みやすいような適当な形式に変換します。 変換された文字列は印字可能な文字のみによって構成されます
文字列オブジェクトの内容を、出力したときに人間が読みやすいような適当な形式に変換します。
変換された文字列は印字可能な文字のみによって構成されます
現在の実装では、Ruby のリテラル形式を使って、
文字列中の不可視文字をエスケープシーケンスに変換します。
このメソッドは主にデバッグのために用意されています。
永続化などの目的で文字列をダンプしたいときは、
String#dump を使うべきです。
//emlist[例][ruby]{
# p ではないことに注意
puts "string".inspect # => "string"
puts "\t\r\n".inspect ... -
TSort
# each _ strongly _ connected _ component -> Enumerator (36619.0) -
TSort#strongly_connected_components メソッドのイテレータ版です。 obj.each_strongly_connected_component は obj.strongly_connected_components.each に似ていますが、 ブロックの評価中に obj が変更された場合は予期しない結果になる ことがあります。
TSort#strongly_connected_components メソッドのイテレータ版です。
obj.each_strongly_connected_component は
obj.strongly_connected_components.each に似ていますが、
ブロックの評価中に obj が変更された場合は予期しない結果になる
ことがあります。
each_strongly_connected_component は nil を返します。
//emlist[使用例][ruby]{
require 'tsort'
class Hash
include TSort
a... -
TSort
# each _ strongly _ connected _ component {|nodes| . . . } -> nil (36619.0) -
TSort#strongly_connected_components メソッドのイテレータ版です。 obj.each_strongly_connected_component は obj.strongly_connected_components.each に似ていますが、 ブロックの評価中に obj が変更された場合は予期しない結果になる ことがあります。
TSort#strongly_connected_components メソッドのイテレータ版です。
obj.each_strongly_connected_component は
obj.strongly_connected_components.each に似ていますが、
ブロックの評価中に obj が変更された場合は予期しない結果になる
ことがあります。
each_strongly_connected_component は nil を返します。
//emlist[使用例][ruby]{
require 'tsort'
class Hash
include TSort
a... -
TSort
# each _ strongly _ connected _ component _ from(node , id _ map={} , stack=[]) -> Enumerator (36619.0) -
node から到達可能な強連結成分についてのイテレータです。
node から到達可能な強連結成分についてのイテレータです。
返す値は規定されていません。
each_strongly_connected_component_from は
tsort_each_node を呼びません。
@param node ノードを指定します。
//emlist[例 到達可能なノードを表示する][ruby]{
require 'tsort'
class Hash
include TSort
alias tsort_each_node each_key
def tsort_each_child(node, &block)
fetch(node... -
TSort
# each _ strongly _ connected _ component _ from(node , id _ map={} , stack=[]) {|nodes| . . . } -> () (36619.0) -
node から到達可能な強連結成分についてのイテレータです。
node から到達可能な強連結成分についてのイテレータです。
返す値は規定されていません。
each_strongly_connected_component_from は
tsort_each_node を呼びません。
@param node ノードを指定します。
//emlist[例 到達可能なノードを表示する][ruby]{
require 'tsort'
class Hash
include TSort
alias tsort_each_node each_key
def tsort_each_child(node, &block)
fetch(node... -
TSort
# strongly _ connected _ components -> Array (36619.0) -
強連結成分の集まりを配列の配列として返します。 この配列は子から親に向かってソートされています。 各要素は強連結成分を表す配列です。
強連結成分の集まりを配列の配列として返します。
この配列は子から親に向かってソートされています。
各要素は強連結成分を表す配列です。
//emlist[使用例][ruby]{
require 'tsort'
class Hash
include TSort
alias tsort_each_node each_key
def tsort_each_child(node, &block)
fetch(node).each(&block)
end
end
non_sort = {1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}
p non_sor... -
TSort
. each _ strongly _ connected _ component _ from(node , each _ child , id _ map={} , stack=[]) -> Enumerator (36619.0) -
node から到達可能な強連結成分についてのイテレータです。
node から到達可能な強連結成分についてのイテレータです。
引数 node と each_child でグラフを表します。
返す値は規定されていません。
TSort.each_strongly_connected_component_fromはTSortをincludeして
グラフを表現する必要のないクラスメソッドです。
@param node ノードを指定します。
@param each_child 引数で与えられた頂点の子をそれぞれ評価するcallメソッ
ドを持つオブジェクトを指定します。
//emlist[使用例][ruby]{
req... -
TSort
. each _ strongly _ connected _ component _ from(node , each _ child , id _ map={} , stack=[]) {|nodes| . . . } -> () (36619.0) -
node から到達可能な強連結成分についてのイテレータです。
node から到達可能な強連結成分についてのイテレータです。
引数 node と each_child でグラフを表します。
返す値は規定されていません。
TSort.each_strongly_connected_component_fromはTSortをincludeして
グラフを表現する必要のないクラスメソッドです。
@param node ノードを指定します。
@param each_child 引数で与えられた頂点の子をそれぞれ評価するcallメソッ
ドを持つオブジェクトを指定します。
//emlist[使用例][ruby]{
req... -
TracePoint
# inspect -> String (36619.0) -
self の状態を人間に読みやすい文字列にして返します。
self の状態を人間に読みやすい文字列にして返します。
//emlist[例][ruby]{
def foo(ret)
ret
end
trace = TracePoint.new(:call) do |tp|
p tp.inspect # "#<TracePoint:call `foo'@/path/to/test.rb:1>"
end
trace.enable
foo 1
//} -
URI
. decode _ www _ form _ component(str , enc=Encoding :: UTF _ 8) -> String (36619.0) -
URL-encoded form data の文字列の各コンポーネント をデコードした文字列を返します。
URL-encoded form data の文字列の各コンポーネント
をデコードした文字列を返します。
通常は URI.decode_www_form を使うほうがよいでしょう。
"+" という文字は空白文字にデコードします。
enc で指定したエンコーディングの文字列が URL エンコードされたものと
みなし、エンコーディングを付加します。
このメソッドは
https://www.w3.org/TR/html5/sec-forms.html#urlencoded-form-data
にもとづいて実装されています。
//emlist[][ruby]{
require 'uri'
... -
ARGF
. class # inspect -> String (36601.0) -
常に文字列 "ARGF" を返します。
常に文字列 "ARGF" を返します。 -
Addrinfo
# inspect _ sockaddr -> String (36601.0) -
アドレスやポート番号などの情報を人間に読める形の文字列で返します。
アドレスやポート番号などの情報を人間に読める形の文字列で返します。
require 'socket'
Addrinfo.tcp("localhost", 80).inspect_sockaddr #=> "127.0.0.1:80"
Addrinfo.tcp("ip6-localhost", 80).inspect_sockaddr #=> "[::1]:80"
Addrinfo.unix("/tmp/sock").inspect_sockaddr #=> "/tmp/sock"