ライブラリ
- ビルトイン (383)
- benchmark (1)
- bigdecimal (18)
-
bigdecimal
/ util (4) -
cgi
/ core (3) -
cgi
/ html (4) -
cgi
/ session (12) -
cgi
/ session / pstore (4) - csv (13)
- date (4)
- dbm (1)
- delegate (2)
- digest (2)
- drb (2)
-
drb
/ timeridconv (2) - erb (3)
- fiddle (20)
-
fiddle
/ import (5) - forwardable (6)
- gdbm (2)
- getoptlong (14)
- ipaddr (5)
-
irb
/ cmd / help (1) -
irb
/ context (7) -
irb
/ ext / history (2) -
irb
/ ext / save-history (7) -
irb
/ extend-command (1) -
irb
/ frame (2) -
irb
/ inspector (2) - json (13)
-
json
/ add / bigdecimal (1) -
json
/ add / complex (1) -
json
/ add / date (1) -
json
/ add / date _ time (1) -
json
/ add / exception (1) -
json
/ add / ostruct (1) -
json
/ add / range (1) -
json
/ add / rational (1) -
json
/ add / regexp (1) -
json
/ add / struct (1) -
json
/ add / symbol (1) -
json
/ add / time (1) - kconv (8)
- logger (1)
- matrix (52)
-
minitest
/ spec (1) -
minitest
/ unit (2) - mkmf (5)
- monitor (15)
-
net
/ ftp (5) -
net
/ http (4) -
net
/ imap (8) -
net
/ pop (1) -
net
/ smtp (4) - openssl (121)
- optparse (13)
- ostruct (4)
- pathname (61)
- prime (27)
- pstore (4)
- psych (10)
- rake (14)
-
rdoc
/ context (3) -
rdoc
/ generator / darkfish (2) -
rdoc
/ generator / json _ index (1) -
rdoc
/ generator / ri (2) -
rdoc
/ markup (2) -
rdoc
/ parser / simple (1) -
rdoc
/ top _ level (8) - resolv (6)
- rexml (1)
-
rexml
/ document (30) -
rexml
/ parsers / pullparser (1) -
ripper
/ filter (2) -
ripper
/ lexer (1) - rss (21)
-
rubygems
/ commands / update _ command (1) -
rubygems
/ dependency _ installer (1) -
rubygems
/ dependency _ list (1) -
rubygems
/ indexer (3) -
rubygems
/ installer (1) -
rubygems
/ package / tar _ header (1) -
rubygems
/ package / tar _ reader / entry (1) -
rubygems
/ platform (1) -
rubygems
/ requirement (1) -
rubygems
/ source _ index (1) -
rubygems
/ specification (3) -
rubygems
/ validator (3) -
rubygems
/ version (2) - scanf (3)
- sdbm (2)
- shell (4)
-
shell
/ command-processor (6) -
shell
/ filter (9) - singleton (2)
- socket (13)
- stringio (11)
- tsort (1)
- uri (11)
-
webrick
/ httpauth / authenticator (3) -
webrick
/ httprequest (1) -
webrick
/ httpresponse (7) -
webrick
/ httputils (1) -
webrick
/ httpversion (1) -
webrick
/ log (5) -
webrick
/ server (2) -
win32
/ registry (9) - win32ole (16)
-
yaml
/ dbm (1) - zlib (6)
クラス
-
ARGF
. class (20) - Addrinfo (6)
- Array (53)
- BasicObject (4)
- BasicSocket (1)
-
Benchmark
:: Tms (1) - BigDecimal (20)
- Bignum (4)
-
CGI
:: Cookie (3) -
CGI
:: Session :: FileStore (4) -
CGI
:: Session :: MemoryStore (4) -
CGI
:: Session :: NullStore (4) -
CGI
:: Session :: PStore (4) - CSV (5)
-
CSV
:: FieldInfo (1) -
CSV
:: Row (2) -
CSV
:: Table (4) - Complex (8)
- DBM (1)
-
DRb
:: DRbIdConv (2) -
DRb
:: TimerIdConv (2) - Date (5)
- DateTime (1)
- Delegator (2)
-
Digest
:: Base (2) - Dir (3)
- ERB (3)
- Encoding (2)
-
Encoding
:: Converter (4) - Enumerator (7)
-
Enumerator
:: Lazy (17) -
Enumerator
:: Yielder (2) - Exception (4)
- FalseClass (2)
-
Fiddle
:: CStruct (2) -
Fiddle
:: Closure (1) -
Fiddle
:: Function (2) -
Fiddle
:: Handle (1) -
Fiddle
:: Pointer (16) - File (3)
- Fixnum (3)
- Float (7)
- GDBM (2)
-
Gem
:: Commands :: UpdateCommand (1) -
Gem
:: DependencyInstaller (1) -
Gem
:: DependencyList (1) -
Gem
:: Indexer (3) -
Gem
:: Installer (1) -
Gem
:: Package :: TarHeader (1) -
Gem
:: Package :: TarReader :: Entry (1) -
Gem
:: Platform (1) -
Gem
:: Requirement (1) -
Gem
:: SourceIndex (1) -
Gem
:: Specification (3) -
Gem
:: Validator (3) -
Gem
:: Version (2) - GetoptLong (14)
- Hash (9)
- IO (20)
- IPAddr (5)
-
IRB
:: Context (14) -
IRB
:: ExtendCommand :: Help (1) -
IRB
:: Frame (2) -
IRB
:: Inspector (2) - Integer (16)
-
JSON
:: State (2) - Logger (1)
- MatchData (10)
- Matrix (26)
-
Matrix
:: EigenvalueDecomposition (7) -
Matrix
:: LUPDecomposition (3) - Method (2)
- Module (10)
- Monitor (3)
-
MonitorMixin
:: ConditionVariable (5) - NameError (1)
-
Net
:: FTP (5) -
Net
:: HTTP (1) -
Net
:: HTTPGenericRequest (2) -
Net
:: HTTPResponse (1) -
Net
:: IMAP (5) -
Net
:: IMAP :: Envelope (3) -
Net
:: POPMail (1) -
Net
:: SMTP (4) - NilClass (7)
- Numeric (11)
- Object (18)
-
OpenSSL
:: ASN1 :: ASN1Data (1) -
OpenSSL
:: BN (9) -
OpenSSL
:: Config (1) -
OpenSSL
:: HMAC (3) -
OpenSSL
:: Netscape :: SPKI (4) -
OpenSSL
:: OCSP :: BasicResponse (1) -
OpenSSL
:: OCSP :: Request (2) -
OpenSSL
:: OCSP :: Response (1) -
OpenSSL
:: PKCS12 (1) -
OpenSSL
:: PKCS7 (4) -
OpenSSL
:: PKey :: DH (5) -
OpenSSL
:: PKey :: DSA (8) -
OpenSSL
:: PKey :: EC (3) -
OpenSSL
:: PKey :: EC :: Group (4) -
OpenSSL
:: PKey :: EC :: Point (3) -
OpenSSL
:: PKey :: RSA (8) -
OpenSSL
:: SSL :: SSLContext (1) -
OpenSSL
:: SSL :: SSLServer (1) -
OpenSSL
:: SSL :: SSLSocket (2) -
OpenSSL
:: SSL :: Session (3) -
OpenSSL
:: X509 :: Attribute (1) -
OpenSSL
:: X509 :: CRL (4) -
OpenSSL
:: X509 :: Certificate (4) -
OpenSSL
:: X509 :: Extension (4) -
OpenSSL
:: X509 :: ExtensionFactory (16) -
OpenSSL
:: X509 :: Name (3) -
OpenSSL
:: X509 :: Request (4) -
OpenSSL
:: X509 :: Store (10) -
OpenSSL
:: X509 :: StoreContext (8) - OpenStruct (5)
- OptionParser (10)
-
OptionParser
:: ParseError (2) - PStore (3)
-
PStore
:: DummyMutex (1) - Pathname (61)
- Prime (4)
-
Prime
:: EratosthenesGenerator (3) -
Prime
:: Generator23 (3) -
Prime
:: PseudoPrimeGenerator (13) -
Prime
:: TrialDivisionGenerator (3) - Proc (3)
-
Process
:: Status (5) -
Psych
:: Nodes :: Node (2) -
Psych
:: ScalarScanner (1) -
Psych
:: Visitors :: YAMLTree (5) -
RDoc
:: Context (3) -
RDoc
:: Generator :: Darkfish (2) -
RDoc
:: Generator :: JsonIndex (1) -
RDoc
:: Generator :: RI (2) -
RDoc
:: Markup (2) -
RDoc
:: Options (2) -
RDoc
:: Parser :: Simple (1) -
RDoc
:: TopLevel (8) -
REXML
:: Attribute (2) -
REXML
:: CData (2) -
REXML
:: Child (2) -
REXML
:: Comment (2) -
REXML
:: Declaration (1) -
REXML
:: DocType (1) -
REXML
:: Element (3) -
REXML
:: Elements (4) -
REXML
:: Entity (2) -
REXML
:: ExternalEntity (1) -
REXML
:: NotationDecl (1) -
REXML
:: Parent (6) -
REXML
:: ParseException (1) -
REXML
:: Parsers :: PullParser (1) -
REXML
:: Text (2) -
RSS
:: Maker :: ChannelBase (2) -
RSS
:: Rss :: Channel (2) -
RSS
:: TaxonomyTopicModel :: TaxonomyTopic (6) -
RSS
:: TaxonomyTopicsModel :: TaxonomyTopics (1) -
Rake
:: Application (3) -
Rake
:: DefaultLoader (1) -
Rake
:: EarlyTime (1) -
Rake
:: FileList (1) -
Rake
:: InvocationChain (1) -
Rake
:: InvocationChain :: EmptyInvocationChain (1) -
Rake
:: Task (1) -
Rake
:: TaskArguments (3) - Random (2)
- Range (7)
- Rational (13)
- Regexp (5)
-
Resolv
:: DNS :: Name (1) -
Resolv
:: DNS :: Resource :: IN :: WKS (1) -
Resolv
:: IPv4 (2) -
Resolv
:: IPv6 (2) -
Ripper
:: Filter (2) -
Ripper
:: Lexer (1) -
RubyVM
:: InstructionSequence (1) - SDBM (2)
-
Scanf
:: FormatSpecifier (2) -
Scanf
:: FormatString (1) - Shell (4)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (9) -
Socket
:: Option (2) - StopIteration (1)
- String (42)
- StringIO (11)
- Struct (5)
- Symbol (20)
- Thread (4)
-
Thread
:: Backtrace :: Location (3) - Time (11)
- TracePoint (2)
- TrueClass (1)
- UDPSocket (3)
- UNIXSocket (1)
-
URI
:: Generic (7) -
URI
:: MailTo (4) - UnboundMethod (2)
- Vector (16)
-
WEBrick
:: BasicLog (5) -
WEBrick
:: Cookie (1) -
WEBrick
:: GenericServer (2) -
WEBrick
:: HTTPRequest (1) -
WEBrick
:: HTTPResponse (7) -
WEBrick
:: HTTPUtils :: FormData (1) -
WEBrick
:: HTTPVersion (1) - WIN32OLE (3)
-
WIN32OLE
_ EVENT (1) -
WIN32OLE
_ METHOD (3) -
WIN32OLE
_ PARAM (2) -
WIN32OLE
_ TYPE (3) -
WIN32OLE
_ TYPELIB (2) -
WIN32OLE
_ VARIABLE (2) -
Win32
:: Registry (9) -
YAML
:: DBM (1) -
Zlib
:: GzipReader (3) -
Zlib
:: GzipWriter (1) -
Zlib
:: ZStream (2)
モジュール
-
CGI
:: HtmlExtension (4) -
CGI
:: QueryExtension (1) -
CGI
:: QueryExtension :: Value (2) - DublinCoreModel (6)
- Enumerable (35)
-
Fiddle
:: Importer (3) - Forwardable (2)
-
IRB
:: ExtendCommandBundle (1) -
IRB
:: HistorySavingAbility (2) -
JSON
:: Generator :: GeneratorMethods :: Array (1) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (1) -
JSON
:: Generator :: GeneratorMethods :: Float (1) -
JSON
:: Generator :: GeneratorMethods :: Hash (1) -
JSON
:: Generator :: GeneratorMethods :: Integer (1) -
JSON
:: Generator :: GeneratorMethods :: NilClass (1) -
JSON
:: Generator :: GeneratorMethods :: Object (1) -
JSON
:: Generator :: GeneratorMethods :: String (3) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (1) - Kernel (6)
-
MiniTest
:: Assertions (2) - MonitorMixin (7)
-
OpenSSL
:: Buffering (1) -
OptionParser
:: Arguable (1) -
REXML
:: Node (1) -
RSS
:: RootElementMixin (1) -
RSS
:: TaxonomyTopicModel (2) -
RSS
:: TaxonomyTopicsModel (1) - SingleForwardable (4)
- Singleton (2)
- TSort (1)
-
WEBrick
:: HTTPAuth :: Authenticator (3)
キーワード
- % (2)
- & (1)
- * (1)
- +@ (1)
- -@ (1)
- << (4)
- <=> (2)
- == (1)
- === (1)
- =~ (1)
- > (1)
- >> (2)
- [] (16)
- []= (4)
-
_ _ to _ s _ _ (1) - about (1)
- about= (1)
-
absolute
_ path (1) - add (1)
-
add
_ class _ or _ module (1) -
add
_ element (1) -
add
_ file (1) -
add
_ namespace (2) -
add
_ special (1) -
add
_ to (1) -
add
_ word _ pair (1) - alien (1)
-
angle
_ with (1) - append (4)
- ascend (1)
-
assert
_ operator (1) -
assert
_ respond _ to (1) - at (1)
- atime (1)
-
auto
_ indent _ mode (1) -
auto
_ indent _ mode= (1) - autoload (1)
- autoload? (1)
- autorequire (1)
- autorequire= (1)
-
backtrace
_ locations (2) - basename (1)
- begin (1)
- bind (1)
- binread (1)
- binwrite (1)
- body= (1)
-
body
_ stream (1) -
body
_ stream= (1) - bottom (1)
- broadcast (1)
- bsearch (2)
-
buffer
_ initial _ length= (1) - bytes (4)
- call (1)
- captures (1)
- casecmp (1)
- cat (1)
- ceil (3)
-
cert
_ store (2) - chain (2)
- chars (4)
-
check
_ signedness (2) - children (2)
- chmod (1)
- chown (1)
- chunk (1)
-
chunk
_ while (1) - chunked= (1)
- clone (1)
- close (4)
- codepoints (5)
- coerce (1)
- cofactor (1)
-
cofactor
_ expansion (1) -
col
_ sep (1) - collect (2)
- collect! (1)
-
collect
_ concat (2) - column (1)
-
column
_ vectors (1) - combination (2)
- component (1)
- config (1)
- config= (1)
-
connect
_ to (2) -
content
_ length (1) -
content
_ length= (1) -
convertible
_ int (2) - covector (1)
-
create
_ ext (1) -
create
_ ext _ from _ array (1) -
create
_ ext _ from _ hash (1) -
create
_ ext _ from _ string (1) -
create
_ extension (2) -
create
_ makefile (1) - crl (1)
- crl= (1)
- ctime (1)
-
current
_ cert (1) -
current
_ crl (1) - cycle (3)
- data (1)
- date (1)
- date= (1)
-
dc
_ contributor (1) -
dc
_ contributor= (1) -
dc
_ contributors (1) -
dc
_ creator (1) -
dc
_ creator= (1) -
dc
_ creators (1) - debug (1)
-
def
_ delegator (1) -
def
_ delegators (1) -
def
_ instance _ delegator (1) -
def
_ instance _ delegators (1) -
def
_ single _ delegator (1) -
def
_ single _ delegators (1) -
define
_ singleton _ method (2) - delete (6)
-
delete
_ at (1) -
delete
_ if (4) - denominator (5)
- descend (1)
-
descriptor
_ length (1) -
dest
_ directory (1) - detect (1)
- directory (2)
- directory? (3)
- dirname (1)
- downto (4)
-
drop
_ while (3) - dup (1)
- each (14)
-
each
_ byte (4) -
each
_ char (4) -
each
_ child (3) -
each
_ codepoint (5) -
each
_ entry (1) -
each
_ index (2) -
each
_ line (11) -
each
_ option (1) -
each
_ pair (4) -
each
_ slice (1) -
each
_ with _ index (4) -
each
_ with _ object (1) - echo (3)
- eigen (1)
- eigensystem (1)
-
eigenvector
_ matrix (1) -
eigenvector
_ matrix _ inv (1) - eigenvectors (1)
- element (1)
-
elements
_ to _ f (1) -
elements
_ to _ i (2) -
elements
_ to _ r (1) - enter (1)
- entities (1)
- entries (1)
-
enum
_ for (2) - eql? (1)
- error (4)
- error? (1)
-
error
_ depth (1) -
error
_ string (2) -
eval
_ history (1) -
eval
_ history= (1) - execute (1)
- exist? (1)
- exit (1)
- export (5)
- extname (1)
- fatal (1)
- feed (1)
- fetch (1)
- file? (1)
-
file
_ absolute _ name (1) -
file
_ absolute _ name= (1) -
file
_ relative _ name (1) -
file
_ relative _ name= (1) - fileno (3)
- find (3)
-
find
_ all (2) -
find
_ index (5) -
find
_ local _ symbol (1) -
find
_ module _ named (1) - finish (1)
- finished (1)
- finished? (1)
- first (4)
-
flat
_ map (2) - flatten (1)
- flatten! (1)
- flock (1)
- floor (3)
- formatter (1)
- ftype (1)
-
full
_ name (1) -
gems
_ to _ install (1) - generate (3)
- generator (2)
- generator= (1)
- get (1)
-
get
_ option (1) - getopts (3)
- glob (3)
- gmtoff (1)
- grep (1)
-
group
_ by (1) - gsub (1)
- gsub! (1)
- handler= (1)
- hash (1)
-
header
_ convert (2) - headers (1)
- help (1)
- helpstring (1)
- hex (1)
- hexdigest (2)
-
history
_ file (1) -
history
_ file= (1) - hostname= (1)
- hton (1)
- httopnly (1)
- httopnly= (1)
-
http
_ version (1) - id2name (1)
-
in
_ reply _ to (1) -
in
_ transaction (1) - independent? (1)
- index (4)
- infinity? (1)
- info (1)
- init (1)
-
init
_ save _ history (1) - initialize (2)
-
inner
_ product (1) - insert (1)
-
insert
_ output (1) - inspect (24)
- inspect? (1)
-
inspect
_ mode= (1) -
inspect
_ value (1) -
install
_ alias _ method (1) -
instance
_ methods (1) - intern (2)
- io (1)
-
ipv6
_ to _ ipv4 (1) -
issuer
_ certificate (1) -
issuer
_ certificate= (1) - join (1)
- kconv (1)
-
keep
_ if (2) -
laplace
_ expansion (1) - last (1)
- lchmod (1)
- lchown (1)
- length (2)
- line (1)
- lines (9)
- load (1)
-
load
_ history (1) - logger (1)
- lshift! (1)
- lstat (1)
- lup (1)
-
lup
_ decomposition (1) - magnitude (1)
-
make
_ link (1) -
make
_ symlink (1) -
make
_ temp _ directories (1) - managingEditor (2)
- managingEditor= (2)
- map (2)
- map! (1)
-
mask
_ bits! (1) - match (3)
-
max
_ by (4) -
max
_ key _ length (1) -
max
_ value _ length (1) -
max
_ value _ name _ length (1) - merge! (1)
-
method
_ missing (2) -
min
_ by (2) -
minmax
_ by (1) - minor (2)
- mkdir (1)
- mkpath (1)
-
mod
_ inverse (1) - modulo (1)
-
mon
_ enter (1) -
mon
_ exit (1) -
mon
_ synchronize (1) -
mon
_ try _ enter (1) - mtime (1)
-
must
_ be _ within _ delta (1) - name (8)
-
new
_ cond (1) - next (4)
-
next
_ sibling= (1) - norm (1)
- normalize (2)
- normalize! (1)
- nsec (1)
-
num
_ bytes (1) -
num
_ keys (1) -
num
_ values (1) - numerator (5)
- oct (1)
-
ok
_ to _ remove? (1) -
ole
_ free (1) -
ole
_ query _ interface (1) -
ole
_ respond _ to? (1) -
on
_ XXX (1) -
on
_ default (1) - open (2)
- opendir (2)
- ordering (1)
- ordering= (1)
-
original
_ dir (1) - pack (1)
- partition (1)
- path (4)
- pathmap (1)
- permutation (2)
- pipe? (1)
- pop (1)
-
pretty
_ print (1) -
previous
_ sibling= (1) - prime? (1)
-
prime
_ division (2) -
primitive
_ errinfo (1) - print (1)
-
private
_ instance _ methods (1) -
program
_ name (1) -
program
_ name= (1) -
protected
_ instance _ methods (1) - protocol (2)
-
psych
_ to _ yaml (1) - ptr (1)
-
public
_ instance _ methods (1) -
public
_ method (1) - putback (2)
- quiet (1)
- quiet= (1)
- quiet? (1)
-
quirks
_ mode= (1) - r (1)
- rand (2)
- rationalize (2)
-
rcptto
_ list (1) - read (1)
-
read
_ body (1) - readlines (4)
- readlink (1)
- realm (1)
-
record
_ location (1) -
record
_ separator (1) - ref (1)
- reject (4)
- reject! (3)
-
relative
_ path _ from (1) - remainder (1)
-
remove
_ leading _ dot _ dir (1) - rename (2)
-
repeated
_ combination (2) -
repeated
_ permutation (2) -
replace
_ child (1) -
reply
_ to (1) - resources (1)
-
respond
_ to? (1) -
respond
_ to _ missing? (2) - restore (4)
- result (2)
- rewind (5)
- rindex (1)
- rmdir (1)
- rmtree (1)
- round (4)
-
route
_ to (1) - row (1)
- rshift! (1)
- run (1)
- sample (2)
-
save
_ history (2) -
save
_ history= (1) - scan (1)
- select (3)
- select! (1)
- send (3)
-
send
_ io (1) -
send
_ mail (1) - sendmail (1)
- separator (1)
-
server
_ protocol (1) -
set
_ backtrace (1) -
set
_ default _ paths (1) -
set
_ to _ infinity! (1) -
set
_ trace _ func (1) -
set
_ visibility _ for (1) - setgid? (1)
- setsockopt (1)
- setuid? (1)
- shift (2)
- signal (1)
-
singleton
_ class (1) -
singleton
_ class? (1) -
singleton
_ method (1) -
singleton
_ method _ added (1) -
singleton
_ method _ removed (1) -
singleton
_ method _ undefined (1) -
singleton
_ methods (1) - size (6)
- size? (1)
- sizeof (1)
- slice (5)
-
slice
_ after (2) -
slice
_ before (5) -
slice
_ when (1) - solve (1)
- sort (1)
-
sort
_ by (1) -
source
_ location (1) - split (2)
- src (1)
- start (1)
- stat (1)
- step (7)
- sticky? (1)
- stop (1)
- stopsig (1)
- storbinary (2)
- store (4)
- storlines (2)
- string (1)
- struct (1)
-
subject
_ certificate (1) -
subject
_ certificate= (1) -
subject
_ request (1) -
subject
_ request= (1) - subsec (1)
- succ (4)
- summarize (2)
- symlink? (1)
- synchronize (2)
- sysopen (1)
- syswrite (1)
-
take
_ while (4) -
taxo
_ link (1) -
taxo
_ link= (1) -
taxo
_ topic (1) -
taxo
_ topic= (1) -
taxo
_ topics (1) - tee (1)
- terminate (1)
- terminated? (1)
- time= (2)
- times (1)
-
to
_ a (19) -
to
_ ary (3) -
to
_ bn (2) -
to
_ c (3) -
to
_ csv (3) -
to
_ d (3) -
to
_ der (18) -
to
_ digits (1) -
to
_ enum (2) -
to
_ f (6) -
to
_ h (3) -
to
_ i (19) -
to
_ id (2) -
to
_ int (6) -
to
_ io (2) -
to
_ json (21) -
to
_ json _ raw (1) -
to
_ json _ raw _ object (1) -
to
_ mailtext (1) -
to
_ name (2) -
to
_ obj (2) -
to
_ path (3) -
to
_ pem (13) -
to
_ ptr (1) -
to
_ r (8) -
to
_ range (1) -
to
_ re (1) -
to
_ rfc822text (1) -
to
_ ruby (1) -
to
_ s (102) -
to
_ sockaddr (1) -
to
_ str (4) -
to
_ string (2) -
to
_ sym (2) -
to
_ text (10) -
to
_ value (1) -
to
_ xml (1) -
to
_ yaml (2) - toeuc (1)
- tojis (1)
- tokenize (2)
- tokens (1)
- tolocale (1)
- top (2)
-
top
_ level (1) -
top
_ level _ tasks (1) - tosjis (1)
-
total
_ in (1) -
total
_ out (1) - toutf16 (1)
- toutf32 (1)
- toutf8 (1)
- transaction (1)
- tree (1)
- truncate (4)
-
try
_ enter (1) -
try
_ mon _ enter (1) -
tsort
_ each _ child (1) -
tv
_ nsec (1) -
tv
_ sec (1) -
tv
_ usec (1) -
uid
_ sort (1) -
uid
_ store (1) - uniq (2)
- uniq! (2)
-
unit
_ test (1) - unlink (1)
- unpack (2)
- unshift (1)
- update (4)
-
upper
_ bound (1) -
upper
_ bound= (1) - upto (3)
- usec (1)
- userdb (1)
- userinfo= (1)
- utime (1)
- v (1)
-
v
_ inv (1) - value (2)
-
values
_ at (1) - verify (6)
-
verify
_ callback (1) -
verify
_ callback= (1) - version (1)
- wait (1)
-
wait
_ until (1) -
wait
_ while (1) - warn (1)
-
which
_ to _ update (1) -
with
_ defaults (1) -
with
_ index (4) -
with
_ object (4) -
world
_ writable? (1) - writable? (1)
-
writable
_ real? (1) - write (6)
- wtime (1)
- yaml (1)
- yield (1)
- zip (5)
- | (1)
検索結果
先頭5件
- Matrix
:: EigenvalueDecomposition # eigenvector _ matrix _ inv -> Matrix - OpenSSL
:: PKey :: EC :: Point # set _ to _ infinity! -> self - Array
# find _ index -> Enumerator - OpenSSL
:: X509 :: ExtensionFactory # create _ extension(obj) -> OpenSSL :: X509 :: Extension - OpenSSL
:: X509 :: ExtensionFactory # create _ extension(oid , value , critical=false) -> OpenSSL :: X509 :: Extension
-
Matrix
:: EigenvalueDecomposition # eigenvector _ matrix _ inv -> Matrix (91204.0) -
左固有ベクトルを縦に並べた行列を返します。
左固有ベクトルを縦に並べた行列を返します。
これは Matrix::EigenvalueDecomposition#v の逆行列です -
OpenSSL
:: PKey :: EC :: Point # set _ to _ infinity! -> self (82207.0) -
自身を無限遠点に設定します。
自身を無限遠点に設定します。
@raise OpenSSL::PKey::EC::Point::Error エラーが生じた場合に発生します
@see OpenSSL::PKey::EC::Point#infinity! -
Array
# find _ index -> Enumerator (73504.0) -
条件に一致する最初の要素の位置を返します。
条件に一致する最初の要素の位置を返します。
@param val 位置を知りたいオブジェクトを指定します。
指定された val と == で等しい最初の要素の位置を返します。
等しい要素がひとつもなかった場合は nil を返します。
//emlist[例][ruby]{
p [1, 0, 0, 1, 0].index(1) #=> 0
p [1, 0, 0, 0, 0].index(1) #=> 0
p [0, 0, 0, 0, 0].index(1) #=> nil
//}
ブロックが与えられた場合には、各要素を引数として順にブロックを実行し、
ブロックが真を返した最初... -
OpenSSL
:: X509 :: ExtensionFactory # create _ extension(obj) -> OpenSSL :: X509 :: Extension (73504.0) -
OpenSSL::X509::Extension のインスタンスを生成して返します。
OpenSSL::X509::Extension のインスタンスを生成して返します。
引数の個数が1個である場合、それが配列、ハッシュ、文字列のいずれかである
ならば、
OpenSSL::X509::ExtensionFactory#create_ext_from_array、
OpenSSL::X509::ExtensionFactory#create_ext_from_hash、
OpenSSL::X509::ExtensionFactory#create_ext_from_string、
がそれぞれ呼びだされてオブジェクトを生成します。
引数が2個以上である場合は、
OpenSSL:... -
OpenSSL
:: X509 :: ExtensionFactory # create _ extension(oid , value , critical=false) -> OpenSSL :: X509 :: Extension (73504.0) -
OpenSSL::X509::Extension のインスタンスを生成して返します。
OpenSSL::X509::Extension のインスタンスを生成して返します。
引数の個数が1個である場合、それが配列、ハッシュ、文字列のいずれかである
ならば、
OpenSSL::X509::ExtensionFactory#create_ext_from_array、
OpenSSL::X509::ExtensionFactory#create_ext_from_hash、
OpenSSL::X509::ExtensionFactory#create_ext_from_string、
がそれぞれ呼びだされてオブジェクトを生成します。
引数が2個以上である場合は、
OpenSSL:... -
Object
# define _ singleton _ method(symbol) { . . . } -> Symbol (73294.0) -
self に特異メソッド name を定義します。
self に特異メソッド name を定義します。
@param symbol メソッド名を String または Symbol で指定します。
@param method Proc、Method あるいは UnboundMethod の
いずれかのインスタンスを指定します。
@return メソッド名を表す Symbol を返します。
//emlist[][ruby]{
class A
class << self
def class_name
to_s
end
end
end
A.define_singleton_me... -
Object
# define _ singleton _ method(symbol , method) -> Symbol (73294.0) -
self に特異メソッド name を定義します。
self に特異メソッド name を定義します。
@param symbol メソッド名を String または Symbol で指定します。
@param method Proc、Method あるいは UnboundMethod の
いずれかのインスタンスを指定します。
@return メソッド名を表す Symbol を返します。
//emlist[][ruby]{
class A
class << self
def class_name
to_s
end
end
end
A.define_singleton_me... -
Net
:: IMAP :: Envelope # to -> [Net :: IMAP :: Address] | nil (72955.0) -
To を Net::IMAP::Address オブジェクトの配列で返します。
To を Net::IMAP::Address オブジェクトの配列で返します。
エンベロープに存在しないときは nil を返します。 -
URI
:: MailTo # to -> String (72925.0) -
自身の e-mail アドレスを文字列で返します。
自身の e-mail アドレスを文字列で返します。
例:
require 'uri'
p URI.parse("mailto:nospam@example.com").to #=> "nospam@example.com" -
Rake
:: InvocationChain :: EmptyInvocationChain # to _ s -> String (72907.0) -
'TOP' という文字列を返します。
'TOP' という文字列を返します。 -
Matrix
:: EigenvalueDecomposition # eigenvector _ matrix -> Matrix (72904.0) -
右固有ベクトルを横に並べた行列を返します。
右固有ベクトルを横に並べた行列を返します。 -
Matrix
:: EigenvalueDecomposition # v _ inv -> Matrix (72604.0) -
左固有ベクトルを縦に並べた行列を返します。
左固有ベクトルを縦に並べた行列を返します。
これは Matrix::EigenvalueDecomposition#v の逆行列です -
RSS
:: TaxonomyTopicModel :: TaxonomyTopic # taxo _ link (72604.0) -
@todo
@todo -
RSS
:: TaxonomyTopicModel :: TaxonomyTopic # taxo _ link= (72604.0) -
@todo
@todo -
Kernel
# check _ signedness(type , headers = nil , opts = nil) -> "signed" | "unsigned" | nil (65248.0) -
Returns the signedness of the given +type+. You may optionally specify additional +headers+ to search in for the +type+. If the +type+ is found and is a numeric type, a macro is passed as a preprocessor constant to the compiler using the +type+ name, in uppercase, prepended with 'SIGNEDNESS_OF_', followed by the +type+ name, followed by '=X' where 'X' is positive integer if the +type+ is unsigned, or negative integer if the +type+ is signed. For example, if size_t is defined as unsigned, then check_signedness('size_t') would returned +1 and the SIGNEDNESS_OF_SIZE_T=+1 preprocessor macro would be passed to the compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int') is done.
Returns the signedness of the given +type+. You may optionally
specify additional +headers+ to search in for the +type+.
If the +type+ is found and is a numeric type, a macro is passed as a
preprocessor constant to the compiler using the +type+ name, in
uppercase, prepended with 'SIGNEDNESS... -
Kernel
# check _ signedness(type , headers = nil , opts = nil) { . . . } -> "signed" | "unsigned" | nil (65248.0) -
Returns the signedness of the given +type+. You may optionally specify additional +headers+ to search in for the +type+. If the +type+ is found and is a numeric type, a macro is passed as a preprocessor constant to the compiler using the +type+ name, in uppercase, prepended with 'SIGNEDNESS_OF_', followed by the +type+ name, followed by '=X' where 'X' is positive integer if the +type+ is unsigned, or negative integer if the +type+ is signed. For example, if size_t is defined as unsigned, then check_signedness('size_t') would returned +1 and the SIGNEDNESS_OF_SIZE_T=+1 preprocessor macro would be passed to the compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int') is done.
Returns the signedness of the given +type+. You may optionally
specify additional +headers+ to search in for the +type+.
If the +type+ is found and is a numeric type, a macro is passed as a
preprocessor constant to the compiler using the +type+ name, in
uppercase, prepended with 'SIGNEDNESS... -
Matrix
# find _ index(selector = :all) {|e| . . . } -> [Integer , Integer] | nil (65104.0) -
指定した値と一致する要素の位置を [row, column] という配列で返します。 ブロックを与えた場合は各要素を引数としてブロックを呼び出し、 返り値が真であった要素の位置を返します。
指定した値と一致する要素の位置を [row, column] という配列で返します。
ブロックを与えた場合は各要素を引数としてブロックを呼び出し、
返り値が真であった要素の位置を返します。
複数の位置で値が一致する/ブロックが真を返す、場合は最初
に見つかった要素の位置を返します。
selector で行列のどの部分を探すかを指定します。この引数の意味は
Matrix#each を参照してください。
//emlist[例][ruby]{
require 'matrix'
Matrix[ [1,2], [3,4] ].index(&:even?) # => [0, 1]
Matrix[ ... -
Matrix
# find _ index(value , selector = :all) -> [Integer , Integer] | nil (65104.0) -
指定した値と一致する要素の位置を [row, column] という配列で返します。 ブロックを与えた場合は各要素を引数としてブロックを呼び出し、 返り値が真であった要素の位置を返します。
指定した値と一致する要素の位置を [row, column] という配列で返します。
ブロックを与えた場合は各要素を引数としてブロックを呼び出し、
返り値が真であった要素の位置を返します。
複数の位置で値が一致する/ブロックが真を返す、場合は最初
に見つかった要素の位置を返します。
selector で行列のどの部分を探すかを指定します。この引数の意味は
Matrix#each を参照してください。
//emlist[例][ruby]{
require 'matrix'
Matrix[ [1,2], [3,4] ].index(&:even?) # => [0, 1]
Matrix[ ... -
Matrix
# find _ index(selector = :all) -> Enumerator (64804.0) -
指定した値と一致する要素の位置を [row, column] という配列で返します。 ブロックを与えた場合は各要素を引数としてブロックを呼び出し、 返り値が真であった要素の位置を返します。
指定した値と一致する要素の位置を [row, column] という配列で返します。
ブロックを与えた場合は各要素を引数としてブロックを呼び出し、
返り値が真であった要素の位置を返します。
複数の位置で値が一致する/ブロックが真を返す、場合は最初
に見つかった要素の位置を返します。
selector で行列のどの部分を探すかを指定します。この引数の意味は
Matrix#each を参照してください。
//emlist[例][ruby]{
require 'matrix'
Matrix[ [1,2], [3,4] ].index(&:even?) # => [0, 1]
Matrix[ ... -
Enumerable
# find _ index -> Enumerator (64612.0) -
条件に一致する最初の要素の位置を返します。
条件に一致する最初の要素の位置を返します。
@param val 位置を知りたいオブジェクトを指定します。
指定された val と == で等しい最初の要素の位置を返します。
等しい要素がひとつもなかった場合は nil を返します。
//emlist[例][ruby]{
(1..10).find_index(11) #=> nil
(1..10).find_index(2) #=> 1
//}
ブロックが与えられた場合には、各要素を引数として先頭から順にブロックを実行し、
ブロックが真を返した最初の要素の位置を返します。
一つも真にならなかった場合は nil を返します。
/... -
Net
:: FTP # storlines(cmd , file) {|line| . . . } -> nil (64504.0) -
サーバーに cmd で指定されたコマンドを送り、テキストデータを 送ります。
サーバーに cmd で指定されたコマンドを送り、テキストデータを
送ります。
一行ずつで file からテキストを読み込み、サーバーに送ります。
送るデータは IO のインスタンスを
file で指定します。
(実際には StringIO のような IO とメソッドレベルで
互換するオブジェクトであればなんでもかまいません)。
ブロックが与えられた場合には各行をそのブロックに渡します。
@param cmd コマンドを文字列で与えます。
@param file 送るデータを与えます。
@raise Net::FTPTempError 応答コードが 4yz のときに発生します。
@ra... -
Vector
# elements _ to _ i -> Vector (64282.0) -
ベクトルの各成分をIntegerに変換したベクトルを返します。
ベクトルの各成分をIntegerに変換したベクトルを返します。
このメソッドは deprecated です。 map(&:to_i) を使ってください。
//emlist[例][ruby]{
require 'matrix'
v = Vector.elements([2.5, 3.0, 5.01, 7])
p v.elements_to_i
# => Vector[2, 3, 5, 7]
//} -
BasicObject
# singleton _ method _ undefined(name) -> object (64204.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... -
Integer
# denominator -> Integer (64204.0) -
分母(常に1)を返します。
分母(常に1)を返します。
@return 分母を返します。
//emlist[][ruby]{
10.denominator # => 1
-10.denominator # => 1
//}
@see Integer#numerator -
Matrix
:: EigenvalueDecomposition # eigenvectors -> [Vector] (64204.0) -
右固有ベクトルを配列で返します。
右固有ベクトルを配列で返します。 -
Rational
# denominator -> Integer (64204.0) -
分母を返します。常に正の整数を返します。
分母を返します。常に正の整数を返します。
@return 分母を返します。
//emlist[例][ruby]{
Rational(7).denominator # => 1
Rational(7, 1).denominator # => 1
Rational(9, -4).denominator # => 4
Rational(-2, -10).denominator # => 5
//}
@see Rational#numerator -
Vector
# independent?(*vectors) -> bool (64204.0) -
self とベクトルの列 vectors が線形独立であれば true を返します。
self とベクトルの列 vectors が線形独立であれば true を返します。
require 'matrix'
Vector.independent?(self, *vectors)
と同じです。
@param vectors 線形独立性を判定するベクトル列 -
JSON
:: Generator :: GeneratorMethods :: String # to _ json _ raw -> String (64039.0) -
自身に対して JSON::Generator::GeneratorMethods::String#to_json_raw_object を呼び出して JSON::Generator::GeneratorMethods::Hash#to_json した結果を返します。
自身に対して JSON::Generator::GeneratorMethods::String#to_json_raw_object を呼び出して JSON::Generator::GeneratorMethods::Hash#to_json した結果を返します。
@see JSON::Generator::GeneratorMethods::String#to_json_raw_object, JSON::Generator::GeneratorMethods::Hash#to_json -
JSON
:: Generator :: GeneratorMethods :: String # to _ json(state _ or _ hash = nil) -> String (63979.0) -
自身から生成した JSON 形式の文字列を返します。
自身から生成した JSON 形式の文字列を返します。
自身のエンコードは UTF-8 であるべきです。
"\u????" のように UTF-16 ビッグエンディアンでエンコードされた文字列を返すことがあります。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]... -
JSON
:: Generator :: GeneratorMethods :: Integer # to _ json(state _ or _ hash = nil) -> String (63925.0) -
自身から生成した JSON 形式の文字列を返します。
自身から生成した JSON 形式の文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
10.to_json # => "10"
//} -
JSON
:: Generator :: GeneratorMethods :: NilClass # to _ json(state _ or _ hash = nil) -> String (63925.0) -
自身から生成した JSON 形式の文字列を返します。
自身から生成した JSON 形式の文字列を返します。
"null" という文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
nil.to_json # => "null"
//} -
OpenSSL
:: PKey :: EC :: Point # infinity? -> bool (63922.0) -
自身が無限遠点であるならば true を返します。
自身が無限遠点であるならば true を返します。
@raise OpenSSL::PKey::EC::Point::Error エラーが生じた場合に発生します
@see OpenSSL::PKey::EC::Point#set_to_infinity! -
Delegator
# respond _ to _ missing?(m , include _ private) -> bool (63907.0) -
@param m メソッド名を指定します。
@param m メソッド名を指定します。
@param include_private 真を指定すると private メソッドも調べます。 -
Gem
:: DependencyInstaller # gems _ to _ install -> Array (63907.0) -
依存関係によりインストールされる予定の Gem のリストを返します。
依存関係によりインストールされる予定の Gem のリストを返します。 -
IRB
:: Context # auto _ indent _ mode -> bool (63904.0) -
入力が次の行に継続した時に自動で字下げを行うかどうかを返します。
入力が次の行に継続した時に自動で字下げを行うかどうかを返します。
デフォルト値は false です。
@return 自動で字下げを行う場合は true を返します。行わない場合は false
を返します。
@see IRB::Context#auto_indent_mode= -
IRB
:: Context # auto _ indent _ mode=(val) (63904.0) -
入力が次の行に継続した時に自動で字下げを行うかどうかを val に設定します。
入力が次の行に継続した時に自動で字下げを行うかどうかを val に設定します。
@param val true を指定した場合、自動で字下げを行います。false を指定し
た場合は自動で字下げを行いません。
IRB::Context#prompt_mode の変更に影響を受ける事に注意してください。
@see IRB::Context#auto_indent_mode -
Net
:: FTP # storlines(cmd , file) -> nil (63904.0) -
サーバーに cmd で指定されたコマンドを送り、テキストデータを 送ります。
サーバーに cmd で指定されたコマンドを送り、テキストデータを
送ります。
一行ずつで file からテキストを読み込み、サーバーに送ります。
送るデータは IO のインスタンスを
file で指定します。
(実際には StringIO のような IO とメソッドレベルで
互換するオブジェクトであればなんでもかまいません)。
ブロックが与えられた場合には各行をそのブロックに渡します。
@param cmd コマンドを文字列で与えます。
@param file 送るデータを与えます。
@raise Net::FTPTempError 応答コードが 4yz のときに発生します。
@ra... -
JSON
:: Generator :: GeneratorMethods :: String # to _ json _ raw _ object -> Hash (63643.0) -
生の文字列を格納したハッシュを生成します。
生の文字列を格納したハッシュを生成します。
このメソッドは UTF-8 の文字列ではなく生の文字列を JSON に変換する場合に使用してください。
require 'json'
"にほんご".encode("euc-jp").to_json_raw_object
# => {"json_class"=>"String", "raw"=>[164, 203, 164, 219, 164, 243, 164, 180]}
"にほんご".encode("euc-jp").to_json # source sequence is illegal/malformed (JSON::... -
MonitorMixin
:: ConditionVariable # wait _ until { . . . } -> () (63604.0) -
モニタのロックを開放し、現在のスレッドを ブロックで指定した条件を満たすまで停止します。
モニタのロックを開放し、現在のスレッドを
ブロックで指定した条件を満たすまで停止します。
MonitorMixin::ConditionVariable#signal や
MonitorMixin::ConditionVariable#broadcast で
スレッドが起こされると、ロックを取得し、ブロックを評価し
その結果によってこのメソッドから抜け処理を継続するか
再びロックを開放しスレッドを停止するかを決めます。
@see MonitorMixin::ConditionVariable#wait -
Prime
:: EratosthenesGenerator # next -> Integer (63604.0) -
次の(擬似)素数を返します。なお、この実装においては擬似素数は真に素数です。
次の(擬似)素数を返します。なお、この実装においては擬似素数は真に素数です。
また内部的な列挙位置を進めます。
//emlist[例][ruby]{
require 'prime'
generator = Prime::EratosthenesGenerator.new
p generator.next #=> 2
p generator.next #=> 3
p generator.succ #=> 5
p generator.succ #=> 7
p generator.next #=> 11
//} -
Prime
:: EratosthenesGenerator # rewind -> nil (63604.0) -
列挙状態を巻き戻します。
列挙状態を巻き戻します。
//emlist[例][ruby]{
require 'prime'
generator = Prime::EratosthenesGenerator.new
p generator.next #=> 2
p generator.next #=> 3
p generator.next #=> 5
generator.rewind
p generator.next #=> 2
//} -
RSS
:: TaxonomyTopicModel # taxo _ topic (63604.0) -
@todo
@todo -
RSS
:: TaxonomyTopicModel # taxo _ topic= (63604.0) -
@todo
@todo -
RSS
:: TaxonomyTopicsModel # taxo _ topics (63604.0) -
@todo
@todo -
Numeric
# to _ int -> Integer (55657.0) -
self.to_i と同じです。
self.to_i と同じです。
//emlist[例][ruby]{
(2+0i).to_int # => 2
Rational(3).to_int # => 3
//} -
IPAddr
# to _ string -> String (55561.0) -
標準的な文字列表現に変換します。
標準的な文字列表現に変換します。
require 'ipaddr'
addr6 = IPAddr.new('::1')
addr6.to_s #=> "::1"
addr6.to_string #=> "0000:0000:0000:0000:0000:0000:0000:0001"
@see IPAddr#to_s -
Object
# to _ int -> Integer (55525.0) -
オブジェクトの Integer への暗黙の変換が必要なときに内部で呼ばれます。 デフォルトでは定義されていません。
オブジェクトの Integer への暗黙の変換が必要なときに内部で呼ばれます。
デフォルトでは定義されていません。
説明のためここに記載してありますが、
このメソッドは実際には Object クラスには定義されていません。
必要に応じてサブクラスで定義すべきものです。
このメソッドを定義する条件は、
* 整数が使われるすべての場面で代置可能であるような、
* 整数そのものとみなせるようなもの
という厳しいものになっています。
//emlist[][ruby]{
class Foo
def to_int
1
end
end
ary = [:a, :b, :c]
p(... -
REXML
:: Attribute # to _ string -> String (55525.0) -
"name='value'" という形式の文字列を返します。
"name='value'" という形式の文字列を返します。
//emlist[][ruby]{
require 'rexml/document'
e = REXML::Element.new("el")
e.add_attribute("ns:r", "rval")
p e.attributes.get_attribute("r").to_string # => "ns:r='rval'"
//} -
Fiddle
:: Pointer # to _ int -> Integer (55513.0) -
自身が指すアドレスを整数で返します。
自身が指すアドレスを整数で返します。 -
OpenSSL
:: BN # to _ int -> Integer (55513.0) -
自身を Integer のインスタンスに変換します。
自身を Integer のインスタンスに変換します。
@raise OpenSSL::BNError 変換に失敗した場合に発生します -
Object
# singleton _ methods(inherited _ too = true) -> [Symbol] (55504.0) -
そのオブジェクトに対して定義されている特異メソッド名 (public あるいは protected メソッド) の一覧を返します。
そのオブジェクトに対して定義されている特異メソッド名
(public あるいは protected メソッド) の一覧を返します。
inherited_too が真のときは継承した特異メソッドを含みます。
継承した特異メソッドとは Object#extend によって追加された特異メソッドや、
self がクラスの場合はスーパークラスのクラスメソッド(Classのインスタンスの特異メソッド)などです。
singleton_methods(false) は、Object#methods(false) と同じです。
@param inherited_too 継承した特異メソッドを含める場合は... -
Addrinfo
# ipv6 _ to _ ipv4 -> Addrinfo|nil (55297.0) -
IPv6 の v4 マップド/互換アドレスを v4 のアドレスに変換します。
IPv6 の v4 マップド/互換アドレスを v4 のアドレスに変換します。
それ以外のアドレスの場合 nil を返します。
require 'socket'
Addrinfo.ip("::192.0.2.3").ipv6_to_ipv4 #=> #<Addrinfo: 192.0.2.3>
Addrinfo.ip("::ffff:192.0.2.3").ipv6_to_ipv4 #=> #<Addrinfo: 192.0.2.3>
Addrinfo.ip("::1").ipv6_to_ipv4 #=> nil
Addrinfo.i... -
Complex
# denominator -> Integer (55258.0) -
分母を返します。
分母を返します。
以下のように、実部と虚部の分母の最小公倍数を整数で返します。
1 2 3+4i <- numerator(分子)
- + -i -> ----
2 3 6 <- denominator(分母)
//emlist[例][ruby]{
Complex('1/2+2/3i').denominator # => 6
Complex(3).numerator # => 1
//}
@see Complex#numerator -
Net
:: IMAP :: Envelope # in _ reply _ to -> String | nil (55255.0) -
In-reply-to の内容を文字列で返します。
In-reply-to の内容を文字列で返します。
エンベロープに存在しないときは nil を返します。 -
Integer
# downto(min) -> Enumerator (55243.0) -
self から min まで 1 ずつ減らしながらブロックを繰り返し実行します。 self < min であれば何もしません。
self から min まで 1 ずつ減らしながらブロックを繰り返し実行します。
self < min であれば何もしません。
@param min 数値
@return self を返します。
//emlist[][ruby]{
5.downto(1) {|i| print i, " " } # => 5 4 3 2 1
//}
@see Integer#upto, Numeric#step, Integer#times -
Float
# denominator -> Integer (55204.0) -
自身を Rational に変換した時の分母を返します。
自身を Rational に変換した時の分母を返します。
@return 分母を返します。
//emlist[例][ruby]{
2.0.denominator # => 1
0.5.denominator # => 2
//}
@see Float#numerator -
GetoptLong
# ordering=(ordering) (55204.0) -
順序形式を設定します。
順序形式を設定します。
環境変数 POSIXLY_CORRECT が定義されていると、引数に
GetoptLong::PERMUTE を与えてこのメソッドを呼び出しても、実際のところの順
序形式は GetoptLong::REQUIRE_ORDER に設定されます。
環境変数 POSIXLY_CORRECT が定義されていない限り、GetoptLong::PERMUTE
が初期値です。定義されていれば、GetoptLong::REQUIRE_ORDER が初期値になり
ます。
@param ordering GetoptLong::REQUIRE_ORDER, GetoptLong::... -
Matrix
# cofactor _ expansion(row: nil , column: nil) -> object | Integer | Rational | Float (55204.0) -
row 行、もしくは column 列に関するラプラス展開をする。
row 行、もしくは column 列に関するラプラス展開をする。
通常の行列に対してはこれは単に固有値を計算するだけです。かわりにMatrix#determinant を
利用すべきです。
変則的な形状の行列に対してはそれ以上の意味を持ちます。例えば
row行/column列が行列やベクトルである場合には
//emlist[例][ruby]{
require 'matrix'
# Matrix[[7,6], [3,9]].laplace_expansion(column: 1) # => 45
Matrix[[Vector[1, 0], Vector[0, 1]], [2, 3]].... -
Numeric
# denominator -> Integer (55204.0) -
自身を Rational に変換した時の分母を返します。
自身を Rational に変換した時の分母を返します。
@return 分母を返します。
@see Numeric#numerator、Integer#denominator、Float#denominator、Rational#denominator、Complex#denominator -
OpenSSL
:: X509 :: ExtensionFactory # config -> OpenSSL :: Config (55204.0) -
自身に設定されているコンフィグファイルオブジェクトを設定します。
自身に設定されているコンフィグファイルオブジェクトを設定します。 -
OpenSSL
:: X509 :: ExtensionFactory # config=(config) (55204.0) -
自身にコンフィグファイルオブジェクトを設定します。
自身にコンフィグファイルオブジェクトを設定します。
例
require 'openssl'
factory.config = OpenSSL::Config.load(OpenSSL::Config::DEFAULT_CONFIG_FILE)
@param config 設定ファイル(OpenSSL::Config オブジェクト) -
Zlib
:: ZStream # total _ in -> Integer (55204.0) -
ストリームに入力されたデータの総バイト数を返します。
ストリームに入力されたデータの総バイト数を返します。 -
Object
# respond _ to _ missing?(symbol , include _ private) -> bool (55087.0) -
自身が symbol で表されるメソッドに対し BasicObject#method_missing で反応するつもりならば真を返します。
自身が symbol で表されるメソッドに対し
BasicObject#method_missing で反応するつもりならば真を返します。
Object#respond_to? はメソッドが定義されていない場合、
デフォルトでこのメソッドを呼びだし問合せます。
BasicObject#method_missing を override した場合にこのメソッドも
override されるべきです。
false を返します。
@param symbol メソッド名シンボル
@param include_private private method も含めたい場合に true が渡されます... -
JSON
:: Generator :: GeneratorMethods :: Object # to _ json(state _ or _ hash = nil) -> String (55009.0) -
自身を to_s で文字列にした結果を JSON 形式の文字列に変換して返します。
自身を to_s で文字列にした結果を JSON 形式の文字列に変換して返します。
このメソッドはあるオブジェクトに to_json メソッドが定義されていない場合に使用する
フォールバックのためのメソッドです。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby... -
Integer
# to _ int -> self (54949.0) -
self を返します。
self を返します。
//emlist[][ruby]{
10.to_i # => 10
//} -
Matrix
# elements _ to _ i -> Matrix (54946.0) -
各要素を整数 Integer に変換した行列を返します。
各要素を整数 Integer に変換した行列を返します。
このメソッドは deprecated です。 map(&:to_i) を使ってください。 -
Integer
# downto(min) {|n| . . . } -> self (54943.0) -
self から min まで 1 ずつ減らしながらブロックを繰り返し実行します。 self < min であれば何もしません。
self から min まで 1 ずつ減らしながらブロックを繰り返し実行します。
self < min であれば何もしません。
@param min 数値
@return self を返します。
//emlist[][ruby]{
5.downto(1) {|i| print i, " " } # => 5 4 3 2 1
//}
@see Integer#upto, Numeric#step, Integer#times -
Object
# singleton _ method(name) -> Method (54940.0) -
オブジェクトの特異メソッド name をオブジェクト化した Method オブ ジェクトを返します。
オブジェクトの特異メソッド name をオブジェクト化した Method オブ
ジェクトを返します。
@param name メソッド名をSymbol またはStringで指定します。
@raise NameError 定義されていないメソッド名を引数として与えると発生します。
//emlist[][ruby]{
class Demo
def initialize(n)
@iv = n
end
def hello()
"Hello, @iv = #{@iv}"
end
end
k = Demo.new(99)
def k.hi
"Hi, @iv = ... -
IRB
:: ExtendCommandBundle # install _ alias _ method(to , from , override = NO _ OVERRIDE) (54925.0) -
メソッドのエイリアスを定義します。ライブラリ内部で使用します。
メソッドのエイリアスを定義します。ライブラリ内部で使用します。
@param to 新しいメソッド名を Symbol か文字列で指定します。
@param from 元のメソッド名を Symbol か文字列で指定します。
@param override 新しいメソッド名が定義済みであった場合にそのメソッドを
上書きするかどうかを
IRB::ExtendCommandBundle::NO_OVERRIDE、
IRB::ExtendCommandBundle::OVERRIDE_PRIVATE_... -
JSON
:: Generator :: GeneratorMethods :: Array # to _ json(state _ or _ hash = nil) -> String (54925.0) -
自身から生成した JSON 形式の文字列を返します。
自身から生成した JSON 形式の文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
[1, 2, 3].to_json # => "[1,2,3]"
//} -
JSON
:: Generator :: GeneratorMethods :: FalseClass # to _ json(state _ or _ hash = nil) -> String (54925.0) -
自身から生成した JSON 形式の文字列を返します。
自身から生成した JSON 形式の文字列を返します。
"false" という文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
false.to_json # => "false"
//} -
JSON
:: Generator :: GeneratorMethods :: Float # to _ json(state _ or _ hash = nil) -> String (54925.0) -
自身から生成した JSON 形式の文字列を返します。
自身から生成した JSON 形式の文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
(1.0).to_json # => "1.0"
//} -
JSON
:: Generator :: GeneratorMethods :: Hash # to _ json(state _ or _ hash = nil) -> String (54925.0) -
自身から生成した JSON 形式の文字列を返します。
自身から生成した JSON 形式の文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
person = { "name" => "tanaka", "age" => 19 }
person.to_json # ... -
JSON
:: Generator :: GeneratorMethods :: TrueClass # to _ json(state _ or _ hash = nil) -> String (54925.0) -
自身から生成した JSON 形式の文字列を返します。
自身から生成した JSON 形式の文字列を返します。
"true" という文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
true.to_json # => "true"
//} -
DRb
:: DRbIdConv # to _ id(obj) -> Integer (54907.0) -
オブジェクトを識別子に変換します。
オブジェクトを識別子に変換します。 -
Gem
:: Commands :: UpdateCommand # which _ to _ update(highest _ installed _ gems , gem _ names) -> Array (54907.0) -
更新が必要な Gem のリストを返します。
更新が必要な Gem のリストを返します。 -
Array
# index -> Enumerator (54904.0) -
条件に一致する最初の要素の位置を返します。
条件に一致する最初の要素の位置を返します。
@param val 位置を知りたいオブジェクトを指定します。
指定された val と == で等しい最初の要素の位置を返します。
等しい要素がひとつもなかった場合は nil を返します。
//emlist[例][ruby]{
p [1, 0, 0, 1, 0].index(1) #=> 0
p [1, 0, 0, 0, 0].index(1) #=> 0
p [0, 0, 0, 0, 0].index(1) #=> nil
//}
ブロックが与えられた場合には、各要素を引数として順にブロックを実行し、
ブロックが真を返した最初... -
BasicObject
# singleton _ method _ added(name) -> object (54904.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 (54904.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... -
CGI
:: HtmlExtension # image _ button(attributes) -> String (54904.0) -
タイプが image の input 要素を生成します。
タイプが image の input 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
image_button({ "SRC" => "url", "ALT" => "string" })
# <INPUT TYPE="image" SRC="url" ALT="string"> -
CGI
:: HtmlExtension # image _ button(src = "" , name = nil , alt = nil) -> String (54904.0) -
タイプが image の input 要素を生成します。
タイプが image の input 要素を生成します。
@param src src 属性の値を指定します。
@param name name 属性の値を指定します。
@param alt alt 属性の値を指定します。
例:
image_button("url")
# <INPUT TYPE="image" SRC="url">
image_button("url", "name", "string")
# <INPUT TYPE="image" SRC="url" NAME="name" ALT="string"> -
CGI
:: HtmlExtension # radio _ button(attributes) -> String (54904.0) -
タイプが radio である input 要素を生成します。
タイプが radio である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
radio_button({ "NAME" => "name", "VALUE" => "value", "ID" => "foo" })
# <INPUT TYPE="radio" NAME="name" VALUE="value" ID="foo"> -
CGI
:: HtmlExtension # radio _ button(name = "" , value = nil , checked = nil) -> String (54904.0) -
タイプが radio である input 要素を生成します。
タイプが radio である input 要素を生成します。
@param name name 属性の値を指定します。
@param value value 属性の値を指定します。
@param checked 真ならば checked 属性を設定します。
例:
radio_button("name", "value")
# <INPUT TYPE="radio" NAME="name" VALUE="value">
radio_button("name", "value", true)
# <INPUT TYPE="radio" NAME="name" ... -
DublinCoreModel
# dc _ contributor (54904.0) -
@todo
@todo -
DublinCoreModel
# dc _ contributor= (54904.0) -
@todo
@todo -
DublinCoreModel
# dc _ contributors (54904.0) -
@todo
@todo -
GetoptLong
# ordering -> Integer (54904.0) -
現在の順序形式を返します。
現在の順序形式を返します。 -
IRB
:: Context # init _ save _ history -> () (54904.0) -
自身の持つ IRB::InputMethod オブジェクトが irb のヒストリを扱える ようにします。
自身の持つ IRB::InputMethod オブジェクトが irb のヒストリを扱える
ようにします。
@see IRB::HistorySavingAbility.extended -
Module
# singleton _ class? -> bool (54904.0) -
self が特異クラスの場合に true を返します。そうでなければ false を返し ます。
self が特異クラスの場合に true を返します。そうでなければ false を返し
ます。
//emlist[例][ruby]{
class C
end
C.singleton_class? # => false
C.singleton_class.singleton_class? # => true
//} -
Net
:: FTP # storbinary(cmd , file , blocksize , rest _ offset = nil) -> nil (54904.0) -
サーバーに cmd で指定されたコマンドを送り、バイナリデータを 送ります。
サーバーに cmd で指定されたコマンドを送り、バイナリデータを
送ります。
送るデータは IO のインスタンスを
file で指定します。
(実際には StringIO のような IO とメソッドレベルで
互換するオブジェクトであればなんでもかまいません)。
blocksize で指定されたバイト単位で file からデータを読みこみ、
サーバに送ります。
rest_offset が省略されなかった場合は、cmdを送る前に
REST コマンドを送り、指定したバイト数の位置から
転送を開始します。
ブロックが指定された場合には、転送するデータを blocksize ごとに
ブロックに... -
Net
:: FTP # storbinary(cmd , file , blocksize , rest _ offset = nil) {|data| . . . } -> nil (54904.0) -
サーバーに cmd で指定されたコマンドを送り、バイナリデータを 送ります。
サーバーに cmd で指定されたコマンドを送り、バイナリデータを
送ります。
送るデータは IO のインスタンスを
file で指定します。
(実際には StringIO のような IO とメソッドレベルで
互換するオブジェクトであればなんでもかまいません)。
blocksize で指定されたバイト単位で file からデータを読みこみ、
サーバに送ります。
rest_offset が省略されなかった場合は、cmdを送る前に
REST コマンドを送り、指定したバイト数の位置から
転送を開始します。
ブロックが指定された場合には、転送するデータを blocksize ごとに
ブロックに... -
Numeric
# numerator -> Integer (54904.0) -
自身を Rational に変換した時の分子を返します。
自身を Rational に変換した時の分子を返します。
@return 分子を返します。
@see Numeric#denominator、Integer#numerator、Float#numerator、Rational#numerator、Complex#numerator -
Object
# singleton _ class -> Class (54904.0) -
レシーバの特異クラスを返します。 まだ特異クラスがなければ、新しく作成します。
レシーバの特異クラスを返します。
まだ特異クラスがなければ、新しく作成します。
レシーバが nil か true か false なら、それぞれ NilClass, TrueClass,
FalseClass を返します。
@raise TypeError レシーバが Integer、Float、Symbol の場合に発生します。
//emlist[][ruby]{
Object.new.singleton_class #=> #<Class:#<Object:0xb7ce1e24>>
String.singleton_class #=> #<Class:String>
n... -
Prime
:: PseudoPrimeGenerator # each _ with _ index -> Enumerator (54904.0) -
与えられたブロックに対して、素数を0起点の連番を渡して評価します。
与えられたブロックに対して、素数を0起点の連番を渡して評価します。
@return ブロックを与えられた場合は self を返します。 ブロックを与えられなかった場合は Enumerator を返します。
//emlist[例][ruby]{
require 'prime'
Prime::EratosthenesGenerator.new(10).each_with_index do |prime, index|
p [prime, index]
end
# [2, 0]
# [3, 1]
# [5, 2]
# [7, 3]
//}
@see Enumerator#with_ind... -
Prime
:: PseudoPrimeGenerator # each _ with _ index {|prime , index| . . . } -> self (54904.0) -
与えられたブロックに対して、素数を0起点の連番を渡して評価します。
与えられたブロックに対して、素数を0起点の連番を渡して評価します。
@return ブロックを与えられた場合は self を返します。 ブロックを与えられなかった場合は Enumerator を返します。
//emlist[例][ruby]{
require 'prime'
Prime::EratosthenesGenerator.new(10).each_with_index do |prime, index|
p [prime, index]
end
# [2, 0]
# [3, 1]
# [5, 2]
# [7, 3]
//}
@see Enumerator#with_ind... -
Prime
:: PseudoPrimeGenerator # with _ index -> Enumerator (54904.0) -
与えられたブロックに対して、素数を0起点の連番を渡して評価します。
与えられたブロックに対して、素数を0起点の連番を渡して評価します。
@return ブロックを与えられた場合は self を返します。 ブロックを与えられなかった場合は Enumerator を返します。
//emlist[例][ruby]{
require 'prime'
Prime::EratosthenesGenerator.new(10).each_with_index do |prime, index|
p [prime, index]
end
# [2, 0]
# [3, 1]
# [5, 2]
# [7, 3]
//}
@see Enumerator#with_ind... -
Prime
:: PseudoPrimeGenerator # with _ index {|prime , index| . . . } -> self (54904.0) -
与えられたブロックに対して、素数を0起点の連番を渡して評価します。
与えられたブロックに対して、素数を0起点の連番を渡して評価します。
@return ブロックを与えられた場合は self を返します。 ブロックを与えられなかった場合は Enumerator を返します。
//emlist[例][ruby]{
require 'prime'
Prime::EratosthenesGenerator.new(10).each_with_index do |prime, index|
p [prime, index]
end
# [2, 0]
# [3, 1]
# [5, 2]
# [7, 3]
//}
@see Enumerator#with_ind... -
Psych
:: ScalarScanner # tokenize(string) -> object (54904.0) -
YAML の scalar である文字列を Ruby のオブジェクトに変換した ものを返します。
YAML の scalar である文字列を Ruby のオブジェクトに変換した
ものを返します。
scanner = Psych::ScalarScanner.new
p scanner.tokenize("yes") # => true
p scanner.tokenize("year") # => "year"
p scanner.tokenize("12") # => 12
@param string 変換文字列 -
Psych
:: Visitors :: YAMLTree # finish -> Psych :: Nodes :: Stream|nil (54904.0) -
変換を終了し、構築した AST を返します。
変換を終了し、構築した AST を返します。
このメソッドは2回呼び出さないでください。
@see Psych::Visitors::YAMLTree#tree -
RSS
:: Maker :: ChannelBase # managingEditor (54904.0) -
@todo
@todo