種類
ライブラリ
- English (4)
- ビルトイン (343)
- base64 (1)
- bigdecimal (99)
-
bigdecimal
/ ludcmp (2) -
bigdecimal
/ math (6) -
bigdecimal
/ util (7) -
cgi
/ html (5) - continuation (1)
- csv (5)
- date (7)
- dbm (3)
- debug (1)
- delegate (10)
- digest (2)
- drb (7)
- e2mmap (1)
- erb (1)
- etc (5)
- expect (2)
- fcntl (1)
- fiddle (3)
- fileutils (2)
- gdbm (7)
-
io
/ console (3) -
io
/ nonblock (1) - ipaddr (1)
-
irb
/ cmd / help (1) -
irb
/ cmd / load (3) -
irb
/ cmd / subirb (1) -
irb
/ context (8) -
irb
/ ext / save-history (1) -
irb
/ extend-command (6) -
irb
/ inspector (3) -
irb
/ magic-file (2) - json (20)
-
json
/ add / bigdecimal (2) - matrix (72)
-
minitest
/ mock (1) -
minitest
/ spec (10) -
minitest
/ unit (10) - mkmf (9)
-
mutex
_ m (1) -
net
/ ftp (1) -
net
/ http (7) -
net
/ imap (8) -
net
/ pop (4) -
net
/ smtp (5) - objspace (10)
- observer (1)
- open-uri (1)
- openssl (151)
- optparse (3)
- ostruct (2)
- pathname (8)
- pp (6)
- prettyprint (2)
- prime (2)
- profiler (1)
- pstore (4)
- psych (15)
- pty (2)
- rake (13)
-
rdoc
/ code _ object (9) -
rdoc
/ context (13) -
rdoc
/ markup (1) -
rdoc
/ single _ class (1) -
rdoc
/ top _ level (4) - resolv (9)
-
rexml
/ document (67) -
rexml
/ parsers / pullparser (7) -
rexml
/ sax2listener (5) -
rexml
/ streamlistener (5) -
rinda
/ rinda (8) -
rinda
/ tuplespace (6) -
ripper
/ filter (3) -
ripper
/ sexp (2) - rss (3)
-
rubygems
/ builder (1) -
rubygems
/ commands / build _ command (2) -
rubygems
/ commands / dependency _ command (1) -
rubygems
/ commands / lock _ command (1) -
rubygems
/ commands / stale _ command (1) -
rubygems
/ commands / update _ command (1) -
rubygems
/ config _ file (2) -
rubygems
/ defaults (1) -
rubygems
/ dependency _ installer (1) -
rubygems
/ dependency _ list (5) -
rubygems
/ exceptions (1) -
rubygems
/ ext / builder (1) -
rubygems
/ ext / configure _ builder (1) -
rubygems
/ ext / ext _ conf _ builder (1) -
rubygems
/ ext / rake _ builder (1) -
rubygems
/ format (2) -
rubygems
/ gem _ path _ searcher (5) -
rubygems
/ indexer (1) -
rubygems
/ installer (7) -
rubygems
/ old _ format (2) -
rubygems
/ package / tar _ input (4) -
rubygems
/ package / tar _ reader / entry (1) -
rubygems
/ package / tar _ writer (1) -
rubygems
/ remote _ fetcher (1) -
rubygems
/ require _ paths _ builder (1) -
rubygems
/ requirement (1) -
rubygems
/ security (27) -
rubygems
/ server (1) -
rubygems
/ source _ index (9) -
rubygems
/ source _ info _ cache (1) -
rubygems
/ spec _ fetcher (7) -
rubygems
/ specification (62) -
rubygems
/ timer (1) -
rubygems
/ uninstaller (7) -
rubygems
/ validator (1) -
rubygems
/ version (1) - scanf (3)
- sdbm (4)
- securerandom (6)
- set (5)
- shell (14)
-
shell
/ builtin-command (3) -
shell
/ command-processor (8) -
shell
/ filter (9) -
shell
/ process-controller (2) - singleton (1)
- socket (28)
- strscan (4)
- syslog (1)
- tempfile (2)
- thread (6)
- time (2)
- timeout (3)
- tmpdir (1)
- tracer (1)
- tsort (6)
- uri (9)
-
webrick
/ httpauth / authenticator (1) -
webrick
/ httpauth / basicauth (1) -
webrick
/ httpresponse (1) -
webrick
/ httpstatus (6) -
webrick
/ httputils (1) -
webrick
/ utils (1) -
win32
/ registry (3) - win32ole (14)
-
yaml
/ dbm (13) - zlib (6)
クラス
-
ARGF
. class (3) - Addrinfo (3)
- Array (30)
- BasicObject (9)
- BasicSocket (4)
- BigDecimal (98)
- Binding (2)
-
CGI
:: Cookie (2) -
CSV
:: Row (3) -
CSV
:: Table (2) - Class (4)
- Complex (6)
- DBM (3)
-
DRb
:: DRbObject (4) -
DRb
:: DRbServer (1) -
DRb
:: DRbUnknown (1) - DateTime (7)
- Delegator (6)
-
Digest
:: Base (1) - Dir (2)
- ERB (1)
-
Encoding
:: Converter (8) -
Encoding
:: InvalidByteSequenceError (2) -
Enumerator
:: Lazy (7) -
Enumerator
:: Yielder (2) - FalseClass (5)
- Fiber (2)
-
Fiddle
:: Closure :: BlockCaller (1) -
Fiddle
:: Pointer (1) - File (4)
-
File
:: Stat (3) - Float (4)
- GDBM (7)
-
Gem
:: Builder (1) -
Gem
:: Commands :: BuildCommand (2) -
Gem
:: Commands :: DependencyCommand (1) -
Gem
:: Commands :: LockCommand (1) -
Gem
:: Commands :: UpdateCommand (1) -
Gem
:: ConfigFile (2) -
Gem
:: DependencyInstaller (1) -
Gem
:: DependencyList (5) -
Gem
:: Ext :: Builder (1) -
Gem
:: Ext :: ConfigureBuilder (1) -
Gem
:: Ext :: ExtConfBuilder (1) -
Gem
:: Ext :: RakeBuilder (1) -
Gem
:: Format (2) -
Gem
:: GemPathSearcher (5) -
Gem
:: Indexer (1) -
Gem
:: Installer (7) -
Gem
:: OldFormat (2) -
Gem
:: Package :: TarInput (4) -
Gem
:: Package :: TarReader :: Entry (1) -
Gem
:: Package :: TarWriter (1) -
Gem
:: RemoteFetcher (1) -
Gem
:: Requirement (1) -
Gem
:: Security :: Policy (15) -
Gem
:: Security :: Signer (1) -
Gem
:: Server (1) -
Gem
:: SourceIndex (9) -
Gem
:: SourceInfoCache (1) -
Gem
:: SpecFetcher (7) -
Gem
:: Specification (62) -
Gem
:: Uninstaller (7) -
Gem
:: Validator (1) -
Gem
:: Version (1) - Hash (19)
- IO (10)
- IPAddr (1)
- IPSocket (1)
-
IRB
:: Context (8) -
IRB
:: ExtendCommand :: Help (1) -
IRB
:: ExtendCommand :: Kill (1) -
IRB
:: ExtendCommand :: Load (1) -
IRB
:: ExtendCommand :: Require (1) -
IRB
:: ExtendCommand :: Source (1) -
IRB
:: Inspector (2) - Integer (1)
-
JSON
:: State (3) - LocalJumpError (1)
- Matrix (21)
-
Matrix
:: EigenvalueDecomposition (10) -
Matrix
:: LUPDecomposition (10) - Method (2)
-
MiniTest
:: Mock (1) - Module (20)
-
Net
:: FTP (1) -
Net
:: HTTP (3) -
Net
:: IMAP (5) -
Net
:: IMAP :: Envelope (1) -
Net
:: IMAP :: ResponseCode (1) -
Net
:: IMAP :: ResponseText (1) -
Net
:: POP3 (1) -
Net
:: POPMail (3) -
Net
:: SMTP (5) - Numeric (1)
- Object (73)
-
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 (2)
- OptionParser (2)
- PP (3)
- PStore (4)
- Pathname (8)
- PrettyPrint (2)
- Prime (2)
-
Psych
:: Handler (1) -
Psych
:: Nodes :: Document (1) -
Psych
:: ScalarScanner (1) -
Psych
:: Visitors :: YAMLTree (2) -
RDoc
:: CodeObject (9) -
RDoc
:: Context (9) -
RDoc
:: Context :: Section (4) -
RDoc
:: Markup (1) -
RDoc
:: Options (2) -
RDoc
:: TopLevel (4) -
REXML
:: AttlistDecl (7) -
REXML
:: Attribute (1) -
REXML
:: CData (1) -
REXML
:: Declaration (2) -
REXML
:: DocType (3) -
REXML
:: Document (2) -
REXML
:: Element (1) -
REXML
:: ElementDecl (1) -
REXML
:: Elements (2) -
REXML
:: NotationDecl (8) -
REXML
:: Parent (8) -
REXML
:: Parsers :: PullEvent (7) -
REXML
:: Text (1) -
REXML
:: XMLDecl (18) -
Rake
:: FileCreationTask (2) -
Rake
:: FileList (2) -
Rake
:: Task (1) -
Rake
:: TaskArguments (1) - Range (7)
- Rational (6)
- Regexp (1)
-
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 (1) -
Scanf
:: FormatString (2) - Set (5)
- Shell (14)
-
Shell
:: CommandProcessor (8) -
Shell
:: Echo (2) -
Shell
:: Filter (9) -
Shell
:: ProcessController (2) - SimpleDelegator (3)
- Socket (10)
-
Socket
:: AncillaryData (1) -
Socket
:: Option (1) - StopIteration (1)
- String (4)
- StringScanner (4)
- Struct (4)
- Symbol (2)
- Tempfile (2)
- Thread (5)
-
Thread
:: Backtrace :: Location (1) -
Thread
:: Queue (3) -
Thread
:: SizedQueue (3) - Time (8)
- TracePoint (4)
- Tracer (2)
- TrueClass (5)
- UDPSocket (1)
- UNIXSocket (2)
-
URI
:: FTP (3) -
URI
:: Generic (2) -
URI
:: HTTP (1) -
URI
:: LDAP (1) -
URI
:: MailTo (1) - Vector (29)
-
WEBrick
:: Cookie (2) -
WEBrick
:: HTTPAuth :: BasicAuth (1) -
WEBrick
:: HTTPResponse (1) - WIN32OLE (7)
-
WIN32OLE
_ EVENT (1) -
WIN32OLE
_ PARAM (1) -
WIN32OLE
_ TYPE (1) -
WIN32OLE
_ VARIABLE (1) -
WIN32OLE
_ VARIANT (3) -
Win32
:: Registry (1) -
YAML
:: DBM (13) -
Zlib
:: GzipFile :: Error (1) -
Zlib
:: GzipReader (2) -
Zlib
:: GzipWriter (3)
モジュール
- Base64 (1)
- BigMath (8)
-
CGI
:: HtmlExtension (5) - DRb (1)
- DublinCoreModel (3)
- Enumerable (49)
- Etc (5)
- Exception2MessageMapper (1)
- Fcntl (1)
- Fiddle (1)
-
File
:: Constants (1) - FileTest (3)
- FileUtils (2)
- GC (2)
- Gem (1)
-
Gem
:: RequirePathsBuilder (1) -
Gem
:: Security (10) - IRB (1)
-
IRB
:: ContextExtender (2) -
IRB
:: ExtendCommandBundle (4) -
IRB
:: HistorySavingAbility (1) - JSON (7)
-
JSON
:: Generator :: GeneratorMethods :: FalseClass (1) -
JSON
:: Generator :: GeneratorMethods :: Object (1) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (1) - Kernel (50)
- LUSolve (2)
- Marshal (2)
-
MiniTest
:: Assertions (10) -
Mutex
_ m (1) - ObjectSpace (17)
- Observable (1)
-
OpenSSL
:: ASN1 (6) -
OpenSSL
:: OCSP (2) -
OpenSSL
:: SSL (3) -
OpenSSL
:: X509 (8) -
OptionParser
:: Arguable (1) - PTY (2)
- Process (5)
-
Profiler
_ _ (1) - Psych (5)
-
REXML
:: Node (2) -
REXML
:: SAX2Listener (5) -
REXML
:: Security (4) -
REXML
:: StreamListener (5) -
Rake
:: Cloneable (2) - SecureRandom (5)
- Singleton (1)
-
Socket
:: Constants (5) -
Syslog
:: Facility (1) - TSort (6)
- Timeout (1)
-
WEBrick
:: HTTPAuth :: Authenticator (1) -
WEBrick
:: HTTPStatus (3) -
WEBrick
:: HTTPUtils (1) -
WEBrick
:: Utils (1) -
Win32
:: Registry :: API (1) -
Win32
:: Registry :: Constants (1)
オブジェクト
- ENV (8)
-
IRB
:: MagicFile (2)
キーワード
- ! (1)
- != (1)
- !~ (1)
-
$ > (1) -
$ IGNORECASE (1) -
$ INPUT _ RECORD _ SEPARATOR (1) -
$ OUTPUT _ RECORD _ SEPARATOR (1) -
$ RS (1) -
$ stderr (1) -
$ stdin (1) -
$ stdout (1) - % (1)
- & (2)
- * (1)
- ** (1)
- + (1)
- +@ (2)
- - (1)
- -@ (2)
-
/ (1) - < (1)
- << (4)
- <= (1)
- <=> (2)
- == (9)
- === (3)
- =~ (1)
- > (1)
- >= (1)
- ARGV (1)
- AlmostNoSecurity (1)
- AttlistDecl (1)
- BASE (1)
- BigDecimal (3)
-
CLOCK
_ MONOTONIC _ PRECISE (1) -
CLOCK
_ REALTIME _ PRECISE (1) -
CLOCK
_ SECOND (1) -
CLOCK
_ UPTIME _ PRECISE (1) -
Check
_ SafeStr (1) -
Check
_ Type (1) - DATA (1)
- DECLARATION (1)
-
DEFAULT
_ OBJECT _ TYPE (1) -
DEFAULT
_ PARAMS (1) -
DEFAULT
_ VERSION (1) - DIRECT (1)
- DRbObjectTemplate (1)
- Declaration (1)
- DecodeError (1)
- DelegateClass (1)
- Digest (1)
- ECANCELED (1)
- ECError (1)
- ECHILD (1)
- ELIBEXEC (1)
-
EMPTY
_ MARSHAL _ CHECKSUM (1) -
ENCODING
_ SPEC _ RE (1) - ENOTRECOVERABLE (1)
-
EXCEPTION
_ ALL (1) -
EXCEPTION
_ INFINITY (1) -
EXCEPTION
_ NaN (1) -
EXCEPTION
_ OVERFLOW (1) -
EXCEPTION
_ UNDERFLOW (1) -
EXCEPTION
_ ZERODIVIDE (1) - Echo (1)
- EigenvalueDecomposition (1)
- ElementDecl (1)
- Error (2)
- ExpectationFailed (1)
- FALSE (1)
-
FD
_ CLOEXEC (1) - FalseClass (3)
- FileCreationTask (1)
- Group (1)
- HTTPExpectationFailed (1)
- HTTPMultipleChoice (1)
- HTTPMultipleChoices (1)
- HTTPPreconditionFailed (1)
- HighSecurity (1)
- INFINITY (1)
-
INSECURE
_ METHOD (1) -
IPV6
_ RECVHOPLIMIT (2) -
IPV6
_ RECVTCLASS (2) -
IP
_ IPSEC _ POLICY (2) -
IP
_ RECVSLLA (2) -
IP
_ RECVTTL (2) - Inspector (1)
- InvalidSpecificationException (1)
- JSON (1)
-
KEY
_ EXECUTE (1) -
LOG
_ SECURITY (1) - LUPDecomposition (1)
- LowSecurity (1)
-
MARSHAL
_ FIELDS (1) - MediumSecurity (1)
- MultipleChoices (1)
-
NAMED
_ CURVE (1) - NAN (1)
- NIL (1)
- NOCHECKS (1)
- NOSELECT (1)
- NOSMIMECAP (1)
- NoSecurity (1)
- NotationDecl (1)
- OBJECT (1)
-
OBJECT
_ DESCRIPTOR (1) -
OBJECT
_ TYPE _ TEMPLATE (1) -
OBJ
_ INFECT (1) -
OP
_ PKCS1 _ CHECK _ 1 (1) -
OP
_ PKCS1 _ CHECK _ 2 (1) -
OP
_ SINGLE _ ECDH _ USE (1) - ObjectId (3)
-
PC
_ REC _ INCR _ XFER _ SIZE (1) -
PC
_ REC _ MAX _ XFER _ SIZE (1) -
PC
_ REC _ MIN _ XFER _ SIZE (1) -
PC
_ REC _ XFER _ ALIGN (1) - PI (1)
- PKey (1)
- Point (1)
- Policies (1)
- Policy (1)
- PreconditionFailed (1)
-
RC
_ EXPECTATION _ FAILED (1) -
RC
_ PRECONDITION _ FAILED (1) - RECENT (1)
-
REVOKED
_ STATUS _ UNSPECIFIED (1) - ROBJECT (1)
-
ROUND
_ CEILING (1) -
ROUND
_ DOWN (1) -
ROUND
_ FLOOR (1) -
ROUND
_ HALF _ DOWN (1) -
ROUND
_ HALF _ EVEN (1) -
ROUND
_ HALF _ UP (1) -
ROUND
_ MODE (1) -
ROUND
_ UP (1) -
RUBY
_ PATCHLEVEL (1) -
RUBY
_ PLATFORM (1) -
RUBY
_ RELEASE _ DATE (1) - RecipientInfo (1)
-
Regex
_ 6Hex4Dec (1) -
Regex
_ 8Hex (1) -
Regex
_ CompressedHex (1) -
Regex
_ CompressedHex4Dec (1) - Ruby プログラムの実行 (1)
- Rubyの起動 (1)
- RuleRecursionOverflowError (1)
-
SCRIPT
_ LINES _ _ (1) -
SC
_ CLOCK _ SELECTION (1) -
SIGN
_ NEGATIVE _ FINITE (1) -
SIGN
_ NEGATIVE _ INFINITE (1) -
SIGN
_ NEGATIVE _ ZERO (1) -
SIGN
_ NaN (1) -
SIGN
_ POSITIVE _ FINITE (1) -
SIGN
_ POSITIVE _ INFINITE (1) -
SIGN
_ POSITIVE _ ZERO (1) - SPECIAL (1)
-
SPECIAL
_ CONST _ P (1) -
SPECIAL
_ RETURN (1) - SecureRandom (1)
- Security (1)
- SingleClass (1)
- StaleCommand (1)
- StoreContext (1)
-
TOPLEVEL
_ BINDING (1) - TRUE (1)
-
TRUST
_ OBJECT _ SIGN (1) - TrueClass (3)
- URI (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) - XMLDecl (1)
- [] (14)
- []= (4)
- ^ (2)
-
_ _ drbref (1) -
_ _ drburi (1) -
_ _ getobj _ _ (2) -
_ _ setobj _ _ (2) -
_ dump (2) -
_ getproperty (1) -
_ invoke (1) -
_ load (2) - abs (1)
- add (3)
-
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
_ special (1) -
add
_ trusted _ cert (1) -
add
_ value (1) - all (1)
-
all
_ classes _ and _ modules (1) - allocate (1)
-
allocation
_ sourcefile (1) -
allocation
_ sourceline (1) -
angle
_ with (1) -
arg
_ config (1) -
ask
_ if _ ok (1) -
asn1
_ flag (1) -
asn1
_ flag= (1) -
assert
_ empty (1) -
assert
_ equal (1) -
assert
_ in _ delta (1) -
assert
_ in _ epsilon (1) -
assert
_ includes (1) -
assert
_ instance _ of (1) -
assert
_ kind _ of (1) -
assert
_ nil (1) -
assert
_ respond _ to (1) -
assert
_ same (1) -
assign
_ defaults (1) - at (1)
- atan (1)
- attlistdecl (2)
- attlistdecl? (1)
-
attribute
_ alias _ singular (1) -
attribute
_ defaults (1) -
auth
_ login (1) -
auth
_ plain (1) - autorequire= (1)
- base64 (1)
- bigdecimal (1)
-
bigdecimal
/ jacobian (1) -
bigdecimal
/ ludcmp (1) -
bigdecimal
/ math (1) -
bigdecimal
/ newton (1) -
bigdecimal
/ util (1) - bsearch (2)
- build (3)
-
build
_ cert (1) -
build
_ self _ signed _ cert (1) -
builtin
_ curves (1) - call (3)
-
call
_ cfunc (1) -
call
_ op (1) - callcc (1)
- casecmp (2)
- catch (2)
- ceil (3)
- chain (1)
- check (3)
-
check
_ circular? (1) -
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 (2)
-
checkbox
_ group (2) - children (1)
- civil (1)
- clamp (1)
- class (1)
-
class
_ eval (2) -
class
_ exec (1) -
class
_ variable _ get (1) -
class
_ variable _ set (1) - classes (1)
- cleanup (1)
-
clock
_ gettime (1) - clone (5)
-
close
_ on _ exec= (1) -
close
_ on _ exec? (1) - code (1)
- coerce (1)
- cofactor (1)
-
cofactor
_ expansion (1) - collect (10)
- collect! (3)
- collect2 (2)
-
collect
_ concat (3) -
collect
_ method (1) -
collect
_ specs (1) - column (1)
-
column
_ vector (1) -
column
_ vectors (1) - comment (1)
- commercial (1)
- component (1)
- config (1)
- connect (2)
-
connect
_ nonblock (2) -
const
_ get (1) -
const
_ set (1) - context (2)
- correct? (1)
- cos (1)
-
count
_ nodes (1) -
count
_ objects (1) -
count
_ objects _ size (1) -
count
_ tdata _ objects (1) - create (1)
-
current
_ cert (1) -
current
_ crl (1) -
curve
_ name (1) -
cvar
_ override _ check (1) - cycle (1)
- d (1)
- data (1)
-
dc
_ subject (1) -
dc
_ subject= (1) -
dc
_ subjects (1) - decode (1)
-
decode
_ all (1) - decrypt (3)
-
def
_ builtin _ commands (1) -
def
_ class (1) -
def
_ extend _ command (2) -
def
_ inspector (1) - default (4)
-
default
_ exec _ format (1) -
default
_ executable (1) -
default
_ executable= (1) -
default
_ record _ separator (1) -
default
_ record _ separator= (1) -
default
_ value (1) -
define
_ finalizer (2) -
define
_ singleton _ method (2) - degree (1)
- delete (11)
-
delete
_ at (1) -
delete
_ field (1) -
delete
_ if (1) -
delete
_ key (1) -
delete
_ observer (1) -
dependencies
_ ok? (1) -
dependency
_ order (1) - deq (2)
- det (1)
- detect (2)
- determinant (1)
-
development
_ dependencies (1) -
dh
_ compute _ key (1) - directory (1)
- directory? (8)
- disable (1)
- disconnect (1)
- disconnected? (1)
- display (1)
- div (2)
- divmod (1)
- dlunwrap (1)
-
document
_ children (1) -
document
_ children= (1) -
document
_ self (1) -
document
_ self= (1) - documented? (1)
- dot (1)
-
double
_ fig (1) - download (1)
- dowrite (1)
-
dsa
_ sign _ asn1 (1) -
dsa
_ verify _ asn1 (1) - dump (1)
- dup (2)
- each (7)
- each2 (1)
-
each
_ active _ object (1) -
each
_ child (3) -
each
_ classmodule (1) -
each
_ object (2) -
each
_ recursive (1) -
each
_ resource (1) -
each
_ strongly _ connected _ component (2) -
each
_ strongly _ connected _ component _ from (2) -
each
_ with _ object (2) - echo (4)
- echo= (2)
- echo? (2)
- eigen (1)
- eigensystem (1)
-
eigenvalue
_ matrix (1) - eigenvalues (1)
-
eigenvector
_ matrix (1) -
eigenvector
_ matrix _ inv (1) - eigenvectors (1)
- element (1)
-
element
_ name (1) - elementdecl (2)
- 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) - encoding (1)
- encoding= (1)
-
ensure
_ dependency (1) -
entity
_ expansion _ limit (1) -
entity
_ expansion _ limit= (1) -
entity
_ expansion _ text _ limit (1) -
entity
_ expansion _ text _ limit= (1) - entitydecl (2)
- entitydecl? (1)
- entries (1)
- eql? (6)
- equal? (2)
- error (1)
- error= (1)
-
error
_ bytes (1) -
error
_ depth (1) -
error
_ string (1) - eval (4)
- evaluate (1)
- exclusive (1)
- exec (4)
-
exec
_ format (1) -
exec
_ format= (1) -
exec
_ under (1) - executable (1)
- executable= (1)
- executable? (7)
-
executable
_ real? (7) - executables (1)
- executables= (1)
- execute (7)
-
exit
_ value (1) - exp (1)
- expect (3)
- exponent (1)
- extend (1)
-
extend
_ object (4) - extended (1)
-
extra
_ rdoc _ files (1) -
extra
_ rdoc _ files= (1) -
extract
_ entry (1) - fetch (7)
- field (1)
- file (1)
-
file
_ create (1) -
file
_ name (1) - files (1)
- files= (1)
- find (3)
-
find
_ all (2) -
find
_ class _ named (1) -
find
_ executable (1) -
find
_ first _ recursive (1) -
find
_ index (3) -
find
_ local _ symbol (1) -
find
_ matching (1) -
find
_ name (2) -
find
_ spec _ by _ name _ and _ version (1) -
finish
_ all _ jobs (3) - finite? (1)
- first (2)
- fix (1)
- flags= (1)
-
flat
_ map (3) - floor (3)
- force (1)
- format (1)
- frac (1)
- freeze (1)
-
from
_ file _ by _ path (1) -
from
_ installed _ gems (1) -
from
_ io (1) -
from
_ yaml (1) - frozen? (1)
-
full
_ gem _ path (1) -
full
_ name (1) -
garbage
_ collect (2) - generate (1)
-
generate
_ key (1) - generator (1)
-
get
_ value (1) - getresource (1)
- getresources (1)
- grep (2)
-
grep
_ v (2) - group (2)
- group= (1)
-
handle
_ interrupt (1) - handler (1)
-
has
_ rdoc (1) -
has
_ rdoc= (1) -
has
_ rdoc? (1) -
has
_ test _ suite? (1) -
has
_ unit _ tests? (1) - hash (1)
- hex (1)
- include? (1)
-
incomplete
_ input? (1) - independent? (2)
- index (4)
-
infect
_ with _ assertions (1) - infinite? (1)
- infinity? (1)
- initialize (1)
-
initialize
_ copy (1) - inject (4)
-
inner
_ product (1) -
insert
_ output (1) - inspect (15)
- inspect? (1)
-
inspect
_ i (1) -
inspect
_ mode (1) -
inspect
_ obj (1) -
inspect
_ value (1) - install (1)
-
install
_ extend _ commands (2) -
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)
- invert (1)
- invert! (1)
- invoke (1)
-
ip
_ pktinfo (1) -
ipv6
_ unspecified? (1) -
irb
_ exit (1) -
is
_ a? (1) - iso8601 (1)
- issuer (1)
- itself (1)
- j (1)
- jd (1)
- jj (1)
-
json
/ add / bigdecimal (1) -
json
_ create (1) -
keep
_ alive _ timeout= (1) - key (2)
-
kind
_ of? (1) -
laplace
_ expansion (1) - last (3)
-
last
_ error (1) -
last
_ spec (1) -
last
_ spec _ tried (1) -
last
_ value (1) -
latest
_ gc _ info (1) -
latest
_ specs (3) -
legacy
_ repos (1) - letter (1)
-
lib
_ dirs _ for (1) -
lib
_ files (1) - limit (1)
- linger (1)
- list (2)
- listen (1)
- ln (1)
- load (4)
-
load
_ documents (1) -
load
_ file (2) -
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)
-
local
_ variable _ get (1) - log (1)
- logger (2)
-
long
_ name (1) - lookup (1)
- loop (1)
- ludecomp (1)
- lup (1)
-
lup
_ decomposition (1) - lusolve (1)
- magnitude (1)
- mail (1)
-
make
_ affine! (1) - map (9)
- map! (3)
-
marshal
_ dump (2) -
marshal
_ load (2) - match (2)
-
matching
_ file? (1) -
matching
_ files (1) - max (4)
-
max
_ by (1) -
memsize
_ of _ all (1) -
method
_ inspect (1) -
method
_ missing (2) - methods (1)
- min (4)
-
min
_ by (1) - minmax (2)
-
minmax
_ by (1) - mktime (2)
- mktmpdir (1)
- mode (2)
-
module
_ eval (2) -
module
_ exec (1) - modulo (1)
- mult (1)
-
must
_ be _ close _ to (1) -
must
_ be _ instance _ of (1) -
must
_ be _ kind _ of (1) -
must
_ be _ nil (1) -
must
_ be _ same _ as (1) -
must
_ be _ within _ delta (1) -
must
_ be _ within _ epsilon (1) -
must
_ equal (1) -
must
_ include (1) - name (2)
- nan? (1)
- needed? (1)
- new (43)
- new2 (1)
- nil? (1)
-
node
_ type (2) - nonblock (1)
- nonzero? (1)
- norm (1)
- normalize (2)
-
normalize
_ yaml _ input (1) - notation (1)
- notationdecl (2)
- notationdecl? (1)
- notations (1)
- notify (2)
- nowrite (1)
-
object
_ nl (1) -
object
_ nl= (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 (14)
- order (1)
- ordinal (1)
-
original
_ name (1) -
original
_ platform (1) -
original
_ platform= (1) - p (2)
- parent= (1)
-
parent
_ file _ name (1) - parse (2)
-
parse
_ openssl (1) -
parse
_ range _ header (1) -
parse
_ rfc2253 (1) - partition (1)
-
path
_ ok? (1) - pathmap (2)
- pivots (1)
- platform (1)
- platform= (1)
-
point
_ conversion _ form (1) -
point
_ conversion _ form= (1) - pop (4)
-
post
_ connection _ check (1) - power (2)
- pp (1)
- precs (1)
-
pretty
_ generate (1) -
pretty
_ print _ cycle (1) -
pretty
_ print _ instance _ variables (1) -
pretty
_ unparse (1) - prime? (1)
-
prime
_ fasttest? (1) -
primitive
_ convert (4) -
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)
- putc (3)
- quo (1)
- r (1)
-
random
_ bytes (1) -
random
_ number (1) - raw (1)
-
rb
_ apply (1) -
rb
_ call (1) -
rb
_ call0 (1) -
rb
_ check _ convert _ type (1) -
rb
_ check _ safe _ str (1) -
rb
_ class _ protected _ instance _ methods (1) -
rb
_ cstr _ to _ dbl (1) -
rb
_ cvar _ declear (1) -
rb
_ data _ object _ alloc (1) -
rb
_ define _ protected _ method (1) -
rb
_ eval _ cmd (1) -
rb
_ eval _ string _ protect (1) -
rb
_ exec _ arg _ addopt (1) -
rb
_ exec _ arg _ init (1) -
rb
_ exec _ err (1) -
rb
_ extend _ object (1) -
rb
_ f _ send (1) -
rb
_ funcall (1) -
rb
_ funcall2 (1) -
rb
_ funcall3 (1) -
rb
_ gc _ force _ recycle (1) -
rb
_ inspect (1) -
rb
_ load _ protect (1) -
rb
_ mod _ extend _ object (1) -
rb
_ mod _ protected (1) -
rb
_ obj _ inspect (1) -
rb
_ obj _ protected _ methods (1) -
rb
_ proc _ exec _ n (1) -
rb
_ protect (1) -
rb
_ read _ check (1) -
rb
_ secure (1) -
rb
_ str _ to _ dbl (1) -
rb
_ thread _ check (1) -
rb
_ thread _ inspect (1) -
rb
_ thread _ select (1) -
rb
_ thread _ sleep (1) -
rcptto
_ list (1) -
reachable
_ objects _ from (1) - read (2)
-
read
_ only (1) - recipients (1)
-
record
_ location (1) -
record
_ separator (1) -
record
_ separator= (1) - rect (2)
- rectangular (4)
- recv (1)
-
recv
_ io (1) -
recv
_ nonblock (1) - recvfrom (3)
-
recvfrom
_ nonblock (2) - recvmsg (1)
-
recvmsg
_ nonblock (1) - redirect? (1)
- redirector (1)
- reduce (3)
- register (1)
- reject (11)
- reject! (10)
-
relative
_ path _ from (1) - reload (1)
- remainder (1)
- remove (1)
-
remove
_ by _ name (1) -
remove
_ class _ variable (1) -
remove
_ classes _ and _ modules (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
_ relative (1) -
required
_ attribute (1) -
required
_ attribute? (1) -
respond
_ to? (1) -
respond
_ to _ missing? (1) - restore (2)
- result (1)
- resume (1)
-
return
_ value (1) - round (4)
- row (1)
-
rubygems
/ commands / specification _ command (1) -
rubygems
/ security (1) -
safe
_ load (1) - sample (2)
-
satisfies
_ requirement? (1) -
save
_ exception _ mode (1) -
save
_ limit (1) -
save
_ rounding _ mode (1) -
scan
_ full (1) - search (2)
-
search
_ full (1) -
sec
_ fraction (1) -
second
_ fraction (1) - section (1)
- section= (1)
- sections (1)
- secure (2)
- secure= (2)
-
secure
_ visibility (1) - seed (1)
- seed= (1)
- select (20)
- select! (7)
- self (1)
- serial (1)
-
set
_ close _ on _ exec (1) -
set
_ current _ section (1) -
set
_ generator (1) -
set
_ last _ value (1) -
set
_ redirect (1) -
set
_ to _ infinity! (1) - sexp (1)
-
sexp
_ raw (1) -
sharing
_ detection (1) -
sharing
_ detection= (1) - shift (5)
-
short
_ name (1) - sign (1)
-
sign
_ cert (1) - sin (1)
-
singleline
_ format (1) -
singleline
_ pp (1) -
singleton
_ class (1) -
singleton
_ method (1) -
singleton
_ method _ added (1) -
singleton
_ method _ removed (1) -
singleton
_ method _ undefined (1) -
singleton
_ methods (1) - singular? (1)
- sleep (1)
- slice (1)
- slice! (1)
- sn (1)
- solve (1)
- sort (2)
-
sort
_ by (1) - spec (3)
- spec= (1)
-
spec
_ path (1) -
spec
_ predecessors (1) -
special
_ local _ set (1) - specific? (1)
-
specific
_ eval (1) - specification (1)
- split (1)
- sqrt (2)
-
ssl
_ timeout= (2) -
st
_ add _ direct (1) -
stand
_ alone? (1) - standalone (1)
- standalone= (1)
- start (4)
-
start
_ document (1) -
start
_ profile (1) - store (2)
-
strongly
_ connected _ components (2) - sub (1)
- subject (3)
- subject= (2)
-
subject
_ certificate (1) -
subject
_ certificate= (1) -
subject
_ request (1) -
subject
_ request= (1) - subsec (1)
- sum (2)
- system (1)
- system= (1)
- taint (1)
- tainted? (1)
- take (2)
- tap (1)
- tcp (2)
-
test
_ file (1) -
test
_ file= (1) -
test
_ files (1) -
test
_ files= (1) -
test
_ suite _ file (1) -
test
_ suite _ file= (1) -
thread
_ variable _ get (1) - time (1)
- time= (1)
- timeout (3)
- timeout= (1)
- title (1)
-
to
_ a (4) -
to
_ ary (2) -
to
_ bn (1) -
to
_ d (6) -
to
_ der (2) -
to
_ digits (1) -
to
_ f (1) -
to
_ h (1) -
to
_ i (1) -
to
_ int (1) -
to
_ json (4) -
to
_ pem (2) -
to
_ r (1) -
to
_ s (9) -
to
_ text (2) -
to
_ value (1) -
to
_ yaml (1) - tokenize (1)
-
trace
_ func (2) -
trace
_ object _ allocations (1) -
trace
_ object _ allocations _ start (1) -
trace
_ object _ allocations _ stop (1) - transact (3)
- transaction (1)
- truncate (3)
- trust (1)
- trust= (1)
-
trusted
_ cert _ path (1) - typecode (1)
- u (1)
- umask (1)
-
umethod
_ bind (1) -
undefine
_ finalizer (1) -
uninstall
_ gem (1) -
unit
_ test (1) - unpack (1)
- unparse (1)
- unshift (1)
- untaint (1)
- untrust (1)
- untrusted? (1)
-
urlsafe
_ base64 (1) -
urlsafe
_ decode64 (1) - v (1)
-
v
_ inv (1) - validate (1)
- value (5)
- values (3)
-
values
_ at (4) - ver (1)
- 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) - version (1)
- version= (1)
- visibility (2)
-
wait
_ all _ jobs _ execution (1) -
warn
_ legacy (1) -
which
_ to _ update (1) -
with
_ werror (2) - wrap (2)
- write (6)
-
write
_ require _ paths _ file _ if _ needed (1) -
write
_ spec (1) - writeencoding (1)
- writethis (1)
-
xml
_ decl (1) - xmldecl (3)
- xmldecl? (1)
- xmlschema (1)
- xpopen (1)
- y (1)
-
yaml
_ initialize (1) -
yaml
_ tag (1) - yield (2)
- zero? (1)
- zip (2)
- | (3)
- クラス (1)
- セキュリティモデル (1)
- メソッド呼び出し(super・ブロック付き・yield) (1)
- リテラル (1)
- 制御構造 (1)
- 変数と定数 (1)
- 字句構造 (1)
- 手続きオブジェクトの挙動の詳細 (1)
- 正規表現 (1)
検索結果
先頭5件
-
Gem
:: Indexer # collect _ specs -> Gem :: SourceIndex (82501.0) -
Gem のキャッシュディレクトリ内の *.gem ファイルから Gem::Specification を集めます。
Gem のキャッシュディレクトリ内の *.gem ファイルから Gem::Specification を集めます。 -
OpenSSL
:: SSL :: SSLSocket # post _ connection _ check(hostname) -> true (82201.0) -
接続後検証を行います。
接続後検証を行います。
検証に成功した場合は true を返し、失敗した場合は例外
OpenSSL::SSL::SSLError を発生させます。
OpenSSL の API では、
OpenSSL::SSL::SSLSocket#connect や OpenSSL::SSL::SSLSocket#accept
での検証は実用的には不完全です。
CA が証明書に署名してそれが失効していないことしか確認しません。
実用上は証明書に記載されている事項を見て、接続先が妥当であるかを確認する
必要があります。通常は接続先ホストの FQDN と証明書に記載されている FQDN が
一致しているか... -
OpenSSL
:: PKey :: EC (81049.0) -
EC(Ellicptic Curve,楕円曲線)暗号鍵のクラスです。
EC(Ellicptic Curve,楕円曲線)暗号鍵のクラスです。
このクラスのメソッドについてより詳しく知りたい場合は openssl のドキュメント
の対応する関数の項を見てください。 -
ObjectSpace
. # garbage _ collect(full _ mark: true , immediate _ sweep: true) -> nil (73501.0) -
どこからも参照されなくなったオブジェクトを回収します。 GC.start と同じです。
どこからも参照されなくなったオブジェクトを回収します。
GC.start と同じです。
@param full_mark マイナー GC を動作させる場合は false を、そうでない場
合は true を指定します。
@param immediate_sweep sweep を遅らせる(Lazy Sweep を行う)場合は false
を、そうでない場合は true を指定します。
注意: これらのキーワード引数は Ruby の実装やバージョンによって異なりま
す。将来のバージョンとの互換性も保証されませ... -
Vector
# collect {|x| . . . } -> Vector (73501.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]
//} -
Gem
:: DependencyList # spec _ predecessors -> Hash (73201.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. -
Gem
:: SourceIndex . installed _ spec _ directories -> [String] (73201.0) -
gemspec ファイルがインストールされているディレクトリのリストを返します。
gemspec ファイルがインストールされているディレクトリのリストを返します。
@see Gem.#path -
static void special
_ local _ set(char c , VALUE val) (73201.0) -
$~ と $_ をセットします。 現在は c=0 が $_ で c=1 が $~ です。
$~ と $_ をセットします。
現在は c=0 が $_ で c=1 が $~ です。 -
IRB
:: Inspector # inspect _ value(v) -> () (72901.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
ObjectSpace
. # reachable _ objects _ from(obj) -> Array | nil (72901.0) -
obj から到達可能なすべてのオブジェクトを返します。マーク不能なオブジェ クトを指定した場合は nil を返します。本メソッドを使う事でメモリリークの 調査が行えます。
obj から到達可能なすべてのオブジェクトを返します。マーク不能なオブジェ
クトを指定した場合は nil を返します。本メソッドを使う事でメモリリークの
調査が行えます。
//emlist[例][ruby]{
# 配列クラス(Array)と 'a'、'b'、'c' に到達可能。
ObjectSpace.reachable_objects_from(['a', 'b', 'c'])
# => [Array, 'a', 'b', 'c']
//}
obj が 2 つ以上の同じオブジェクト x への参照を持つ場合、戻り値に含まれ
るオブジェクト x は 1 つだけです。
//emlist[例... -
ObjectSpace
. # trace _ object _ allocations { . . . } (72901.0) -
与えられたブロック内でオブジェクトのトレースを行います。
与えられたブロック内でオブジェクトのトレースを行います。
//emlist[例][ruby]{
require 'objspace'
class C
include ObjectSpace
def foo
trace_object_allocations do
obj = Object.new
p "#{allocation_sourcefile(obj)}:#{allocation_sourceline(obj)}"
end
end
end
C.new.foo #=> "objtrace.rb:8"
//} -
ObjectSpace
. # trace _ object _ allocations _ start -> nil (72901.0) -
オブジェクト割り当てのトレースを開始します。
オブジェクト割り当てのトレースを開始します。
@see ObjectSpace.#trace_object_allocations_stop -
ObjectSpace
. # trace _ object _ allocations _ stop -> nil (72901.0) -
オブジェクト割り当てのトレースを終了します。
オブジェクト割り当てのトレースを終了します。
トレースを終了する為には、ObjectSpace.#trace_object_allocations_startを呼んだ回数分だけこのメソッドを呼ぶ必要があります。
@see ObjectSpace.#trace_object_allocations_start -
Shell
:: ProcessController # wait _ all _ jobs _ execution -> () (72901.0) -
全てのジョブの実行が終わるまで待ちます。
全てのジョブの実行が終わるまで待ちます。 -
Vector
# collect -> Enumerator (72901.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]
//} -
Vector
# collect2(v) -> Enumerator (72901.0) -
ベクトルの各要素と引数 v の要素との組に対してブロックを評価し、その結果を要素として持つ配列を返します。
ベクトルの各要素と引数 v の要素との組に対してブロックを評価し、その結果を要素として持つ配列を返します。
ベクトルの各要素と、それに対応するインデックスを持つ引数 v (ベクトル or 配列)の要素との組に対して (2引数の) ブロックを評価し、その結果を要素として持つ配列を返します。
ブロックを省略した場合は Enumerator を返します。
@param v ブロック内で評価される(ベクトル or 配列)
@raise ExceptionForMatrix::ErrDimensionMismatch 自分自身と引数のベクト
ルの要素の数(次元)が異なっていたとき... -
Vector
# collect2(v) {|x , y| . . . } -> Array (72901.0) -
ベクトルの各要素と引数 v の要素との組に対してブロックを評価し、その結果を要素として持つ配列を返します。
ベクトルの各要素と引数 v の要素との組に対してブロックを評価し、その結果を要素として持つ配列を返します。
ベクトルの各要素と、それに対応するインデックスを持つ引数 v (ベクトル or 配列)の要素との組に対して (2引数の) ブロックを評価し、その結果を要素として持つ配列を返します。
ブロックを省略した場合は Enumerator を返します。
@param v ブロック内で評価される(ベクトル or 配列)
@raise ExceptionForMatrix::ErrDimensionMismatch 自分自身と引数のベクト
ルの要素の数(次元)が異なっていたとき... -
Matrix
:: LUPDecomposition # l -> Matrix (72304.0) -
LUP分解の下半行列部分を返します。
LUP分解の下半行列部分を返します。 -
Rake
:: RuleRecursionOverflowError (72001.0) -
ルールのネストが多すぎる場合に発生する例外です。
ルールのネストが多すぎる場合に発生する例外です。 -
Gem
:: Specification # executable=(executable) (64801.0) -
実行可能ファイル名をセットします。
実行可能ファイル名をセットします。
@param executable 実行可能ファイル名を指定します。 -
Gem
:: Specification # executables=(executables) (64801.0) -
実行可能ファイル名のリストをセットします。
実行可能ファイル名のリストをセットします。
@param executables 実行可能ファイル名のリストを指定します。 -
Enumerable
# collect {|item| . . . } -> [object] (64501.0) -
各要素に対してブロックを評価した結果を全て含む配列を返します。
各要素に対してブロックを評価した結果を全て含む配列を返します。
ブロックを省略した場合は Enumerator を返します。
//emlist[例][ruby]{
# すべて 3 倍にした配列を返す
p (1..3).map {|n| n * 3 } # => [3, 6, 9]
p (1..3).collect { "cat" } # => ["cat", "cat", "cat"]
//}
@see Array#collect, Array#map -
Gem
:: Package :: TarInput # load _ gemspec(io) -> Gem :: Specification | nil (64501.0) -
YAML 形式の gemspec を io から読み込みます。
YAML 形式の gemspec を io から読み込みます。
@param io 文字列か IO オブジェクトを指定します。
@see Gem::Specification.from_yaml -
Gem
:: Security :: AlmostNoSecurity -> Gem :: Security :: Policy (64501.0) -
ほとんどの検証を行わないポリシーです。
ほとんどの検証を行わないポリシーです。
署名されたデータの検証のみ行います。
このポリシーは何もしないよりはマシですが、ほとんど役に立たない上、
簡単に騙すことができるので、使用しないでください。
:verify_data => true,
:verify_signer => false,
:verify_chain => false,
:verify_root => false,
:only_trusted => false,
:only_signed => false -
Gem
:: Security :: LowSecurity -> Gem :: Security :: Policy (64501.0) -
低レベルのセキュリティのポリシーです。
低レベルのセキュリティのポリシーです。
署名されたデータと署名者の検証を行います。
このポリシーは何もしないよりはマシですが、ほとんど役に立たない上、
簡単に騙すことができるので、使用しないでください。
:verify_data => true,
:verify_signer => true,
:verify_chain => false,
:verify_root => false,
:only_trusted => false,
:only_signed => false -
Gem
:: SpecFetcher # load _ specs(source _ uri , file) -> object (64501.0) -
指定された source_uri, file から gemspec をロードします。
指定された source_uri, file から gemspec をロードします。
また、内部ではキャッシュの更新も行っています。
@param source_uri gemspec の置いてある URI を指定します。
@param file gemspec のファイル名を指定します。 -
Gem
:: Uninstaller # remove _ executables(gemspec) (64501.0) -
与えられた Gem::Specification に対応する実行ファイルを削除します。
与えられた Gem::Specification に対応する実行ファイルを削除します。
@param gemspec アンインストール指定されている Gem の Gem::Specification を指定します。 -
OpenSSL
:: X509 :: V _ ERR _ UNABLE _ TO _ DECODE _ ISSUER _ PUBLIC _ KEY -> Integer (64501.0) -
証明書の SubjectPublicKeyInfo フィールドが読めなかった ことを意味します。
証明書の SubjectPublicKeyInfo フィールドが読めなかった
ことを意味します。 -
OpenSSL
:: X509 :: V _ ERR _ UNABLE _ TO _ DECRYPT _ CERT _ SIGNATURE -> Integer (64501.0) -
証明書の署名が復号できないことを意味します。
証明書の署名が復号できないことを意味します。
OpenSSL::X509::Store#error や
OpenSSL::X509::StoreContext#error のエラーコードとして
使われます。 -
FileTest
. # executable?(file) -> bool (64201.0) -
ファイルがカレントプロセスにより実行できる時に真を返しま す。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
ファイルがカレントプロセスにより実行できる時に真を返しま
す。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
@param file ファイル名を表す文字列を指定します。
例:
FileTest.executable?('/bin') # => true
FileTest.executable?('/bin/bash') # => true -
FileTest
. # executable _ real?(file) -> bool (64201.0) -
ファイルがカレントプロセスの実ユーザか実グループで実行できる時に真を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
ファイルがカレントプロセスの実ユーザか実グループで実行できる時に真を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
@param file ファイル名を表す文字列を指定します。
//emlist[例][ruby]{
IO.write("empty.txt", "")
File.chmod(0744, "empty.txt")
FileTest.executable_real?("empty.txt") # => true
File.chmod(0644, "empty.txt")
FileTest.ex... -
Gem
:: Specification # default _ executable=(executable) (64201.0) -
Gem パッケージ内で gem コマンド経由で実行するファイルをセットします。
Gem パッケージ内で gem コマンド経由で実行するファイルをセットします。
@param executable 実行ファイルを指定します。 -
Base64
. # urlsafe _ decode64(str) -> String (63901.0) -
与えられた文字列を Base64 デコードしたデータを返します。
与えられた文字列を Base64 デコードしたデータを返します。
このメソッドは 4648 の "Base 64 Encoding with URL and Filename Safe Alphabet" に対応しています。
"+" を "-" に "/" を "_" に置き換えます。
@param str Base64 デコードする文字列を指定します。
@raise ArgumentError 与えられた引数が Base64 エンコードされたデータとして正しい形式ではない場合に発生します。
例えば、アルファベットでない文字列や CR, LF などが含まれている場合にこの例... -
Enumerable
# collect -> Enumerator (63901.0) -
各要素に対してブロックを評価した結果を全て含む配列を返します。
各要素に対してブロックを評価した結果を全て含む配列を返します。
ブロックを省略した場合は Enumerator を返します。
//emlist[例][ruby]{
# すべて 3 倍にした配列を返す
p (1..3).map {|n| n * 3 } # => [3, 6, 9]
p (1..3).collect { "cat" } # => ["cat", "cat", "cat"]
//}
@see Array#collect, Array#map -
Enumerable
# collect _ concat -> Enumerator (63901.0) -
各要素をブロックに渡し、その返り値を連結した配列を返します。
各要素をブロックに渡し、その返り値を連結した配列を返します。
ブロックの返り値は基本的に配列を返すべきです。
ブロックを省略した場合は Enumerator を返します。
//emlist[例][ruby]{
[[1,2], [3,4]].flat_map{|i| i.map{|j| j*2}} # => [2,4,6,8]
//} -
Enumerable
# collect _ concat {| obj | block } -> Array (63901.0) -
各要素をブロックに渡し、その返り値を連結した配列を返します。
各要素をブロックに渡し、その返り値を連結した配列を返します。
ブロックの返り値は基本的に配列を返すべきです。
ブロックを省略した場合は Enumerator を返します。
//emlist[例][ruby]{
[[1,2], [3,4]].flat_map{|i| i.map{|j| j*2}} # => [2,4,6,8]
//} -
File
. executable?(path) -> bool (63901.0) -
FileTest.#executable? と同じです。
FileTest.#executable? と同じです。
@param path パスを表す文字列を指定します。 -
File
. executable _ real?(path) -> bool (63901.0) -
FileTest.#executable_real? と同じです。
FileTest.#executable_real? と同じです。
@param path パスを表す文字列を指定します。 -
File
:: Stat # executable? -> bool (63901.0) -
実効ユーザ/グループIDで実行できる時に真を返します。
実効ユーザ/グループIDで実行できる時に真を返します。
//emlist[][ruby]{
p File::Stat.new($0).executable?
# 例
#=> true
//} -
File
:: Stat # executable _ real? -> bool (63901.0) -
実ユーザ/グループIDで実行できる時に真を返します。
実ユーザ/グループIDで実行できる時に真を返します。
//emlist[][ruby]{
p File::Stat.new($0).executable_real?
#例
#=> true
//} -
FileUtils
. collect _ method(opt) -> Array (63901.0) -
与えられたオプションを持つメソッド名の配列を返します。
与えられたオプションを持つメソッド名の配列を返します。
@param opt オプション名をシンボルで指定します。
//emlist[][ruby]{
require 'fileutils'
FileUtils.collect_method(:preserve) # => ["cp", "cp_r", "copy", "install"]
//} -
Gem
:: Commands :: BuildCommand # load _ gemspecs(filename) -> Array (63901.0) -
gemspec ファイルをロードします。
gemspec ファイルをロードします。
@param filename ファイル名を指定します。 -
Gem
:: SpecFetcher # latest _ specs -> Hash (63901.0) -
キャッシュされている最新の gemspec を返します。
キャッシュされている最新の gemspec を返します。 -
Gem
:: Specification # default _ executable -> String | nil (63901.0) -
Gem パッケージ内で gem コマンド経由で実行するファイルを返します。
Gem パッケージ内で gem コマンド経由で実行するファイルを返します。 -
Gem
:: Specification # executable -> String (63901.0) -
実行可能ファイル名を返します。
実行可能ファイル名を返します。 -
Gem
:: Specification # executables -> [String] (63901.0) -
実行可能ファイル名のリストを返します。
実行可能ファイル名のリストを返します。 -
LUSolve
. # ludecomp(a , n , zero = 0 , one = 1) -> [Integer] (63901.0) -
n 次正方行列を表す配列 a を破壊的に変更し、返り値と併せて元の行列の LU 分解を提供します。
n 次正方行列を表す配列 a を破壊的に変更し、返り値と併せて元の行列の LU 分解を提供します。
LUSolve.#lusolve の引数を構築するために使います。
@param a 行列を BigDecimal の配列で指定します。(各要素を
Row-major order で 1 次元の配列にしたオブジェクトを指定し
ます)
@param n 引数 a の次元を整数で指定します。
@param zero 0 を表す値を指定します。
@param one 1 を表す値を指定します。
@return ピボットの位置を表す Integer の配... -
Matrix
:: EigenvalueDecomposition # eigenvectors -> [Vector] (63901.0) -
右固有ベクトルを配列で返します。
右固有ベクトルを配列で返します。 -
Observable
# delete _ observer(observer) -> object | nil (63901.0) -
オブザーバを削除します。
オブザーバを削除します。
指定されたオブジェクトがオブザーバとして登録されていた場合は、
リストからオブジェクトを削除し、取り除かれたオブジェクトを返します。
登録されていなかった場合は、nil を返します。
@param observer 削除するオブザーバ -
OpenSSL
:: SSL :: OP _ SINGLE _ ECDH _ USE -> Integer (63901.0) -
@todo OpenSSL::SSL::SSLContext#options= で利用します。
@todo
OpenSSL::SSL::SSLContext#options= で利用します。 -
OpenSSL
:: SSL :: SSLSocket # connect _ nonblock -> self (63901.0) -
ノンブロッキング方式で TLS/SSL 通信をクライアントモードとして開始し、 サーバとのハンドシェイクを実行します。
ノンブロッキング方式で
TLS/SSL 通信をクライアントモードとして開始し、
サーバとのハンドシェイクを実行します。
IO が読み込み待ち、もしくは書き込み待ちになった場合は例外を
発生させ、ハンドシェイクを中断します。IO が読み込み/書き込み
可能状態になってからこのメソッドをもう一度呼ぶと
ハンドシェイクを再開します。
@raise OpenSSL::SSL::SSLError ハンドシェイクに失敗した(VERIFY_PEER で
証明書の検証に失敗した場合や、プロトコル合意に失敗したなど)
場合に発生します
@raise OpenSSL::SSL::S... -
REXML
:: XMLDecl # xmldecl(version , encoding , standalone) -> () (63901.0) -
内容を更新します。
内容を更新します。
@param version バージョン(文字列)
@param encoding エンコーディング(文字列 or nil)
@param standalone スタンドアロン文章かどうか("yes", "no", nil) -
BigDecimal
# inspect -> String (63619.0) -
BigDecimal オブジェクトを表す文字列を返します。
BigDecimal オブジェクトを表す文字列を返します。
//emlist[][ruby]{
require "bigdecimal"
BigDecimal("1234.5678").inspect
# => "0.12345678e4"
//} -
BigDecimal
# precs -> [Integer , Integer] (63601.0) -
self の有効数字と最大有効数字の配列を返します。
self の有効数字と最大有効数字の配列を返します。 -
FalseClass
# inspect -> String (63601.0) -
常に文字列 "false" を返します。
常に文字列 "false" を返します。
//emlist[例][ruby]{
false.to_s # => "false"
//} -
Matrix
:: EigenvalueDecomposition # eigenvalues -> [Float] (63601.0) -
固有値を配列で返します。
固有値を配列で返します。 -
Matrix
:: EigenvalueDecomposition # eigenvector _ matrix -> Matrix (63601.0) -
右固有ベクトルを横に並べた行列を返します。
右固有ベクトルを横に並べた行列を返します。 -
Matrix
:: EigenvalueDecomposition # eigenvector _ matrix _ inv -> Matrix (63601.0) -
左固有ベクトルを縦に並べた行列を返します。
左固有ベクトルを縦に並べた行列を返します。
これは Matrix::EigenvalueDecomposition#v の逆行列です -
REXML
:: Security . entity _ expansion _ text _ limit -> Integer (63601.0) -
実体参照の展開による文字列の増分(テキストのバイト数)の 最大値を指定します。
実体参照の展開による文字列の増分(テキストのバイト数)の
最大値を指定します。
展開によって増分値がこの値を越えると
例外を発生させ、処理を中断します。
実体参照の展開処理を使った DoS 攻撃に対抗するための
仕組みです。
デフォルトは 10240 (byte) です。
@see REXML::Document.entity_expansion_text_limit=,
http://www.ruby-lang.org/ja/news/2013/02/22/rexml-dos-2013-02-22/ -
REXML
:: Security . entity _ expansion _ text _ limit=(val) (63601.0) -
実体参照の展開による文字列の増分(テキストのバイト数)の 最大値を指定します。
実体参照の展開による文字列の増分(テキストのバイト数)の
最大値を指定します。
展開によって増分値がこの値を越えると
例外を発生させ、処理を中断します。
実体参照の展開処理を使った DoS 攻撃に対抗するための
仕組みです。
デフォルトは 10240 (byte) です。
@see REXML::Document.entity_expansion_text_limit
http://www.ruby-lang.org/ja/news/2013/02/22/rexml-dos-2013-02-22/ -
TrueClass
# inspect -> String (63601.0) -
常に文字列 "true" を返します。
常に文字列 "true" を返します。
//emlist[例][ruby]{
true.inspect # => "true"
//} -
Errno
:: ENOTRECOVERABLE (63001.0) -
システムコールのエラーコードを表す例外クラスです。詳細は Errno::EXXX を参照してください。
システムコールのエラーコードを表す例外クラスです。詳細は Errno::EXXX を参照してください。 -
JSON
:: Generator :: GeneratorMethods :: FalseClass (63001.0) -
FalseClass に JSON で使用するインスタンスメソッドを追加するためのモジュールです。
FalseClass に JSON で使用するインスタンスメソッドを追加するためのモジュールです。 -
JSON
:: Generator :: GeneratorMethods :: TrueClass (63001.0) -
TrueClass に JSON で使用するインスタンスメソッドを追加するためのモジュールです。
TrueClass に JSON で使用するインスタンスメソッドを追加するためのモジュールです。 -
static VALUE specific
_ eval(int argc , VALUE *argv , VALUE klass , VALUE self) (56701.0) -
rb_obj_instance_eval と rb_mod_module_eval を共通化するための補助関数です。
rb_obj_instance_eval と rb_mod_module_eval を共通化するための補助関数です。 -
VALUE rb
_ class _ protected _ instance _ methods(int argc , VALUE *argv , VALUE mod) (56101.0) -
Module#protected_instance_methods の実体。 モジュール mod に定義されている protected メソッド名の リストを文字列の配列で返します。
Module#protected_instance_methods の実体。
モジュール mod に定義されている protected メソッド名の
リストを文字列の配列で返します。 -
Gem
:: RequirePathsBuilder # write _ require _ paths _ file _ if _ needed(spec = @spec , gem _ home = @gem _ home) (55801.0) -
必要であれば、'.require_paths' というファイルを Gem ごとに作成します。
必要であれば、'.require_paths' というファイルを Gem ごとに作成します。 -
Set
# select! {|element| . . . } -> self | nil (55801.0) -
各要素に対してブロックを評価し、その結果が偽であった要素を self から削除します。
各要素に対してブロックを評価し、その結果が偽であった要素を self から削除します。
@return 変更があった場合は self を、変更がなかった場合は nil を返します。 -
Kernel
. # BigDecimal(s) -> BigDecimal (55537.0) -
引数で指定した値を表す BigDecimal オブジェクトを生成します。
引数で指定した値を表す BigDecimal オブジェクトを生成します。
@param s 数値を表現する初期値を文字列、Integer、
Float、Rational、BigDecimal オブジェクトのい
ずれかで指定します。
文字列中のスペースは無視されます。また、判断できない文字が出現
した時点で文字列は終了したものとみなされます。
@param n 必要な有効桁数(self の最大有効桁数)を整数で指定します。 n が
0 または省略されたときは、n の値は s の有効桁数とみなされます。... -
Kernel
. # BigDecimal(s , n) -> BigDecimal (55537.0) -
引数で指定した値を表す BigDecimal オブジェクトを生成します。
引数で指定した値を表す BigDecimal オブジェクトを生成します。
@param s 数値を表現する初期値を文字列、Integer、
Float、Rational、BigDecimal オブジェクトのい
ずれかで指定します。
文字列中のスペースは無視されます。また、判断できない文字が出現
した時点で文字列は終了したものとみなされます。
@param n 必要な有効桁数(self の最大有効桁数)を整数で指定します。 n が
0 または省略されたときは、n の値は s の有効桁数とみなされます。... -
Array
# collect {|item| . . . } -> [object] (55501.0) -
各要素に対してブロックを評価した結果を全て含む配列を返します。
各要素に対してブロックを評価した結果を全て含む配列を返します。
ブロックを省略した場合は Enumerator を返します。
//emlist[例][ruby]{
# すべて 3 倍にする
p [1, 2, 3].map {|n| n * 3 } # => [3, 6, 9]
//}
@see Enumerable#collect, Enumerable#map -
GC
# garbage _ collect(full _ mark: true , immediate _ sweep: true) -> nil (55501.0) -
ガーベージコレクトを開始します。
ガーベージコレクトを開始します。
GC.start や ObjectSpace.#garbage_collect と同じ働きをします。
GC.disable により GC が禁止されている場合は何もしません。
nil を返します。
@param full_mark マイナー GC を動作させる場合は false を、そうでない場
合は true を指定します。
@param immediate_sweep sweep を遅らせる(Lazy Sweep を行う)場合は false
を、そうでない場合は tr... -
Gem
:: Server # latest _ specs(request , response) -> () (55501.0) -
メソッド名に対応する URI に対するリクエストを処理するメソッドです。
メソッド名に対応する URI に対するリクエストを処理するメソッドです。
@param request WEBrick::HTTPRequest オブジェクトが自動的に指定されます。
@param response WEBrick::HTTPResponse オブジェクトが自動的に指定されます。 -
Gem
:: SourceIndex . load _ specification(file _ name) -> Gem :: Specification | nil (55501.0) -
与えられたファイル名から Ruby スクリプト形式の gemspec をロードして Gem::Specification のインスタンスを返します。
与えられたファイル名から Ruby スクリプト形式の gemspec をロードして
Gem::Specification のインスタンスを返します。
@param file_name ファイル名を指定します。
@raise SignalException gemspec をロードしているときに発生します。
@raise SystemExit gemspec をロードしているときに発生します。 -
Gem
:: Specification # test _ files=(files) (55501.0) -
ユニットテストのファイルのリストをセットします。
ユニットテストのファイルのリストをセットします。
@param files ユニットテストのファイルのリストを指定します。 -
Matrix
# column _ vectors -> [Vector] (55501.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]]
//} -
OpenSSL
:: PKCS7 # add _ recipient(recipient) -> self (55501.0) -
送信者を追加します。
送信者を追加します。
このメソッドは使わないでください。
このメソッドは PKCS#7 の低レベル API であり、正しく使うのは
難しいでしょう。
@param recipient 追加する送信者(OpenSSL::PKCS7::RecipientInfo) -
OpenSSL
:: PKCS7 # recipients -> [OpenSSL :: PKCS7 :: RecipientInfo] (55501.0) -
メッセージの送信先の情報を配列で返します。
メッセージの送信先の情報を配列で返します。
これは暗号化した場合のみ意味があります。 -
OpenSSL
:: X509 :: StoreContext # current _ crl -> OpenSSL :: X509 :: CRL | nil (55501.0) -
直前に検証に利用した CRL のオブジェクトを返します。
直前に検証に利用した CRL のオブジェクトを返します。
証明書チェインの各証明書検証後
コールバック(OpenSSL::X509::Store#verify_callback=)呼び出しに
渡される StoreContext オブジェクトにこのメソッドを呼び出すと
直前に検証に利用した CRL オブジェクトを返します。 -
REXML
:: Document # xml _ decl -> REXML :: XMLDecl | nil (55501.0) -
文書の XML 宣言を返します。
文書の XML 宣言を返します。
文書が XML 宣言を持たない場合は nil を返します。 -
REXML
:: Document :: DECLARATION -> REXML :: XMLDecl (55501.0) -
この定数は deprecated です。REXML::XMLDecl.default を 代わりに使ってください。
この定数は deprecated です。REXML::XMLDecl.default を
代わりに使ってください。
デフォルトとして使えるXML宣言オブジェクト。 -
REXML
:: Elements # collect(xpath = nil) {|element| . . } -> [object] (55501.0) -
Enumerable#collect と同様、 各子要素に対しブロックを呼び出し、その返り値の配列を返します。
Enumerable#collect と同様、
各子要素に対しブロックを呼び出し、その返り値の配列を返します。
xpath を指定した場合は、その XPath 文字列に
マッチする要素に対し同様の操作をします。
@param xpath XPath文字列
@see REXML::Elements#each -
TSort
. each _ strongly _ connected _ component(each _ node , each _ child) {|nodes| . . . } -> nil (55501.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... -
VALUE rb
_ data _ object _ alloc(VALUE klass , void *datap , RUBY _ DATA _ FUNC dmark , RUBY _ DATA _ FUNC dfree) (55501.0) -
datap をラップするオブジェクトを生成し、返します。 そのクラスは klass となり、datap をマークするときは dmark、解放するときは dfree を使うようになります。
datap をラップするオブジェクトを生成し、返します。
そのクラスは klass となり、datap をマークするときは
dmark、解放するときは dfree を使うようになります。 -
BigMath
. # E(prec) -> BigDecimal (55360.0) -
自然対数の底 e を prec で指定した精度で計算します。
自然対数の底 e を prec で指定した精度で計算します。
@param prec 計算結果の精度。
@raise ArgumentError prec に 0 以下が指定された場合に発生します。
//emlist[][ruby]{
require "bigdecimal/math"
puts BigMath::E(2) #=> 0.27e1
puts BigMath::E(4) #=> 0.2718e1
puts BigMath::E(10) #=> 0.2718281828e1
//} -
Struct
# select {|i| . . . } -> [object] (55255.0) -
構造体のメンバの値に対してブロックを評価した値が真であった要素を全て含 む配列を返します。真になる要素がひとつもなかった場合は空の配列を返しま す。
構造体のメンバの値に対してブロックを評価した値が真であった要素を全て含
む配列を返します。真になる要素がひとつもなかった場合は空の配列を返しま
す。
ブロックを省略した場合は Enumerator を返します。
//emlist[例][ruby]{
Lots = Struct.new(:a, :b, :c, :d, :e, :f)
l = Lots.new(11, 22, 33, 44, 55, 66)
l.select {|v| (v % 2).zero? } #=> [22, 44, 66]
//}
[注意] 本メソッドの記述は Struct の下位クラスのインスタンスに対して... -
Array
# select! {|item| block } -> self | nil (55237.0) -
ブロックが真を返した要素を残し、偽を返した要素を自身から削除します。 変更があった場合は self を、 変更がなかった場合には nil を返します。
ブロックが真を返した要素を残し、偽を返した要素を自身から削除します。
変更があった場合は self を、
変更がなかった場合には nil を返します。
//emlist[例][ruby]{
a = %w{ a b c d e f }
a.select! {|v| v =~ /[a-z]/ } # => nil
a # => ["a", "b", "c", "d", "e", "f"]
//}
ブロックが与えられなかった場合は、自身と select! から生成した
Enumerator オブジェクトを返します。
@see Array#keep_if, Array#reject! -
Array
# select {|item| . . . } -> [object] (55201.0) -
各要素に対してブロックを評価した値が真であった要素を全て含む配列を 返します。真になる要素がひとつもなかった場合は空の配列を返します。
各要素に対してブロックを評価した値が真であった要素を全て含む配列を
返します。真になる要素がひとつもなかった場合は空の配列を返します。
ブロックを省略した場合は Enumerator を返します。
//emlist[例][ruby]{
[1,2,3,4,5].select # => #<Enumerator: [1, 2, 3, 4, 5]:select>
[1,2,3,4,5].select { |num| num.even? } # => [2, 4]
//}
@see Enumerable#select
@see Array#select... -
BasicObject
# singleton _ method _ added(name) -> object (55201.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 (55201.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 (55201.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... -
Gem
:: Uninstaller # uninstall _ gem(spec , specs) (55201.0) -
与えられた spec に対応する Gem をアンインストールします。
与えられた spec に対応する Gem をアンインストールします。
@param spec アンインストール指定されている Gem の Gem::Specification を指定します。
@param specs アンインストールする Gem のリストを指定します。
このパラメータは破壊的に変更されます。 -
IRB
:: ExtendCommandBundle . extend _ object(obj) -> IRB :: ExtendCommandBundle (55201.0) -
IRB::ExtendCommandBundle で定義済みの拡張に指定されたエイリアスを obj に定義します。
IRB::ExtendCommandBundle で定義済みの拡張に指定されたエイリアスを
obj に定義します。
@param obj IRB::ExtendCommandBundle を extend したオブジェクト -
IRB
:: Inspector . def _ inspector(key , arg = nil) { |v| . . . } -> object (55201.0) -
新しい実行結果の出力方式を定義します。
新しい実行結果の出力方式を定義します。
@param key conf.inspect_mode や IRB.conf[:INSPECT_MODE] に指定するキー
オブジェクトを指定します。配列を指定した場合は配列中の要素全
てが対象になります。
@param arg ブロックを指定する場合には、inspect_mode の初期化のための手続
きオブジェクトを指定します。あらかじめ require が必要な場合
などに、proc { require "foo" } といった指定を行います。
... -
Kernel
# DelegateClass(superclass) -> object (55201.0) -
クラス superclass のインスタンスへメソッドを委譲するクラスを定義し、 そのクラスを返します。
クラス superclass のインスタンスへメソッドを委譲するクラスを定義し、
そのクラスを返します。
@param superclass 委譲先となるクラス
例:
//emlist{
require 'delegate'
class ExtArray < DelegateClass(Array)
def initialize
super([])
end
end
a = ExtArray.new
p a.class # => ExtArray
a.push 25
p a # => [25]
//} -
Matrix
. column _ vector(column) -> Matrix (55201.0) -
要素がcolumnの(n,1)型の行列(列ベクトル)を生成します。
要素がcolumnの(n,1)型の行列(列ベクトル)を生成します。
@param column (n,1)型の行列として生成するVector Array オブジェクト -
Module
# class _ exec(*args) {|*vars| . . . } -> object (55201.0) -
与えられたブロックを指定された args を引数としてモジュールのコンテキストで評価します。
与えられたブロックを指定された args を引数としてモジュールのコンテキストで評価します。
モジュールのコンテキストで評価するとは、実行中そのモジュールが self になるということです。
つまり、そのモジュールの定義式の中にあるかのように実行されます。
ローカル変数、定数とクラス変数のスコープはブロックの外側のスコープになります。
@param args ブロックに渡す引数を指定します。
//emlist[例][ruby]{
class Thing
end
c = 1
Thing.class_exec{
def hello()
"Hello there!"
... -
Module
# module _ exec(*args) {|*vars| . . . } -> object (55201.0) -
与えられたブロックを指定された args を引数としてモジュールのコンテキストで評価します。
与えられたブロックを指定された args を引数としてモジュールのコンテキストで評価します。
モジュールのコンテキストで評価するとは、実行中そのモジュールが self になるということです。
つまり、そのモジュールの定義式の中にあるかのように実行されます。
ローカル変数、定数とクラス変数のスコープはブロックの外側のスコープになります。
@param args ブロックに渡す引数を指定します。
//emlist[例][ruby]{
class Thing
end
c = 1
Thing.class_exec{
def hello()
"Hello there!"
... -
Object
# instance _ variable _ get(var) -> object | nil (55201.0) -
オブジェクトのインスタンス変数の値を取得して返します。
オブジェクトのインスタンス変数の値を取得して返します。
インスタンス変数が定義されていなければ nil を返します。
@param var インスタンス変数名を文字列か Symbol で指定します。
//emlist[][ruby]{
class Foo
def initialize
@foo = 1
end
end
obj = Foo.new
p obj.instance_variable_get("@foo") #=> 1
p obj.instance_variable_get(:@foo) #=> 1
p obj.instance_variab... -
Object
# instance _ variable _ set(var , value) -> object (55201.0) -
オブジェクトのインスタンス変数 var に値 value を設定します。
オブジェクトのインスタンス変数 var に値 value を設定します。
インスタンス変数が定義されていなければ新たに定義されます。
@param var インスタンス変数名を文字列か Symbol で指定します。
@param value 設定する値です。
@return value を返します。
//emlist[][ruby]{
obj = Object.new
p obj.instance_variable_set("@foo", 1) #=> 1
p obj.instance_variable_set(:@foo, 2) #=> 2
p obj.instance_var...