ライブラリ
- ビルトイン (431)
- benchmark (1)
- bigdecimal (20)
-
bigdecimal
/ util (7) -
cgi
/ core (3) -
cgi
/ html (4) -
cgi
/ session (12) -
cgi
/ session / pstore (4) - csv (15)
- date (9)
- dbm (1)
- delegate (5)
- digest (3)
- drb (3)
-
drb
/ extserv (1) -
drb
/ timeridconv (2) - erb (3)
- fiddle (20)
-
fiddle
/ import (5) - forwardable (7)
- gdbm (2)
- getoptlong (14)
- ipaddr (6)
-
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 (59)
- mkmf (5)
- monitor (17)
-
net
/ ftp (7) -
net
/ http (4) -
net
/ imap (8) -
net
/ pop (1) -
net
/ smtp (4) - openssl (122)
- optparse (25)
- ostruct (4)
- pathname (62)
- prime (27)
- pstore (5)
- psych (14)
- rake (17)
-
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 (10) - resolv (6)
- rexml (1)
-
rexml
/ document (31) -
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 (5) -
rubygems
/ version (2) - scanf (3)
- sdbm (2)
- set (2)
- shell (7)
-
shell
/ command-processor (6) -
shell
/ filter (12) - singleton (2)
- socket (13)
- stringio (11)
- tsort (2)
- uri (13)
-
webrick
/ httpauth / authenticator (3) -
webrick
/ httprequest (1) -
webrick
/ httpresponse (7) -
webrick
/ httputils (3) -
webrick
/ httpversion (1) -
webrick
/ log (6) -
webrick
/ server (2) -
win32
/ registry (9) - win32ole (16)
-
yaml
/ dbm (1) - zlib (10)
クラス
-
ARGF
. class (22) - Addrinfo (6)
- Array (61)
- BasicObject (4)
- BasicSocket (1)
-
Benchmark
:: Tms (1) - BigDecimal (23)
-
CGI
:: Cookie (3) -
CGI
:: Session :: FileStore (4) -
CGI
:: Session :: MemoryStore (4) -
CGI
:: Session :: NullStore (4) -
CGI
:: Session :: PStore (4) - CSV (6)
-
CSV
:: FieldInfo (1) -
CSV
:: Row (2) -
CSV
:: Table (5) - Complex (9)
- DBM (1)
-
DRb
:: DRbIdConv (2) -
DRb
:: DRbServer (1) -
DRb
:: ExtServ (1) -
DRb
:: TimerIdConv (2) - Date (7)
- DateTime (1)
- Delegator (3)
-
Digest
:: Base (3) - Dir (3)
- ERB (3)
- Encoding (2)
-
Encoding
:: Converter (4) - Enumerator (7)
-
Enumerator
:: Lazy (24) -
Enumerator
:: Yielder (2) - Exception (5)
- FalseClass (2)
-
Fiddle
:: CStruct (2) -
Fiddle
:: Closure (1) -
Fiddle
:: Function (2) -
Fiddle
:: Handle (1) -
Fiddle
:: Pointer (16) - File (3)
-
File
:: Stat (3) - Float (9)
- 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 (5) -
Gem
:: Version (2) - GetoptLong (14)
- Hash (19)
- IO (23)
- IPAddr (6)
-
IRB
:: Context (14) -
IRB
:: ExtendCommand :: Help (1) -
IRB
:: Frame (2) -
IRB
:: Inspector (2) - Integer (16)
-
JSON
:: State (2) - Logger (1)
- MatchData (10)
- Matrix (30)
-
Matrix
:: EigenvalueDecomposition (7) -
Matrix
:: LUPDecomposition (3) - Method (2)
- Module (10)
- Monitor (3)
-
MonitorMixin
:: ConditionVariable (5) - NameError (1)
-
Net
:: FTP (5) -
Net
:: FTP :: MLSxEntry (2) -
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 (20)
-
OpenSSL
:: ASN1 :: ASN1Data (1) -
OpenSSL
:: BN (10) -
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 (22)
-
OptionParser
:: ParseError (2) - PStore (4)
-
PStore
:: DummyMutex (1) - Pathname (62)
- Prime (4)
-
Prime
:: EratosthenesGenerator (3) -
Prime
:: Generator23 (3) -
Prime
:: PseudoPrimeGenerator (13) -
Prime
:: TrialDivisionGenerator (3) - Proc (3)
-
Process
:: Status (6) -
Psych
:: Nodes :: Node (2) -
Psych
:: ScalarScanner (1) -
Psych
:: Visitors :: YAMLTree (9) -
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 (10) -
REXML
:: Attribute (2) -
REXML
:: Attributes (1) -
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 (4) -
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 (2) - SDBM (2)
-
Scanf
:: FormatSpecifier (2) -
Scanf
:: FormatString (1) - Set (2)
- Shell (7)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (12) - SimpleDelegator (2)
-
Socket
:: Option (2) - StopIteration (1)
- String (46)
- StringIO (11)
- Struct (5)
- Symbol (26)
- Thread (6)
-
Thread
:: Backtrace :: Location (3) - Time (16)
- TracePoint (2)
- TrueClass (1)
- UDPSocket (3)
- UNIXSocket (1)
-
URI
:: Generic (7) -
URI
:: MailTo (6) - UnboundMethod (2)
- UncaughtThrowError (1)
- Vector (19)
-
WEBrick
:: BasicLog (6) -
WEBrick
:: Cookie (1) -
WEBrick
:: GenericServer (2) -
WEBrick
:: HTTPRequest (1) -
WEBrick
:: HTTPResponse (7) -
WEBrick
:: HTTPUtils :: FormData (3) -
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
:: GzipFile (2) -
Zlib
:: GzipReader (3) -
Zlib
:: GzipWriter (3) -
Zlib
:: ZStream (2)
モジュール
-
CGI
:: HtmlExtension (4) -
CGI
:: QueryExtension (1) -
CGI
:: QueryExtension :: Value (2) - DublinCoreModel (6)
- Enumerable (35)
-
Fiddle
:: Importer (3) - Forwardable (3)
-
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)
- MonitorMixin (9)
-
OpenSSL
:: Buffering (1) -
OptionParser
:: Arguable (1) -
REXML
:: Node (1) -
RSS
:: RootElementMixin (1) -
RSS
:: TaxonomyTopicModel (2) -
RSS
:: TaxonomyTopicsModel (1) - SingleForwardable (4)
- Singleton (2)
- TSort (2)
-
WEBrick
:: HTTPAuth :: Authenticator (3)
キーワード
- % (2)
- & (1)
- * (4)
- + (1)
- +@ (1)
- - (1)
- -@ (1)
- << (7)
- <=> (2)
- == (3)
- === (1)
- =~ (1)
- > (1)
- >> (2)
- [] (16)
- []= (4)
-
_ _ getobj _ _ (1) -
_ _ setobj _ _ (1) -
_ _ to _ s _ _ (1) - about (1)
- about= (1)
- abs (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)
- at (1)
- atime (2)
-
auto
_ indent _ mode (1) -
auto
_ indent _ mode= (1) - autoclose= (1)
- autoclose? (1)
- autoload (1)
- autoload? (1)
- autorequire (1)
- autorequire= (1)
-
backtrace
_ locations (2) - basename (1)
- begin (1)
- bind (1)
- binread (1)
- binwrite (1)
- birthtime (1)
- body= (1)
-
body
_ stream (1) -
body
_ stream= (1) - bottom (1)
- broadcast (1)
- bsearch (2)
-
bsearch
_ index (1) -
buffer
_ initial _ length= (1) - bytes (4)
- call (1)
- capitalize (1)
- captures (1)
- casecmp (1)
- casecmp? (1)
- cat (3)
- ceil (3)
-
cert
_ store (2) - chain (2)
- chars (4)
-
check
_ signedness (2) - children (2)
- chmod (1)
- chown (1)
- chunk (1)
-
chunk
_ while (2) - chunked= (1)
- clone (1)
- close (4)
- closed? (1)
- 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)
- commit (1)
- 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 (2)
-
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 (2) -
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 (6) - denominator (5)
- descend (1)
-
descriptor
_ length (1) -
dest
_ directory (1) - detect (1)
- directory (2)
- directory? (7)
-
directory
_ makable? (1) - dirname (1)
- downcase (1)
- downto (4)
-
drop
_ while (3) - dup (1)
- each (15)
-
each
_ byte (4) -
each
_ char (4) -
each
_ child (3) -
each
_ codepoint (5) -
each
_ entry (1) -
each
_ grapheme _ cluster (2) -
each
_ index (2) -
each
_ line (11) -
each
_ option (1) -
each
_ pair (4) -
each
_ slice (1) -
each
_ strongly _ connected _ component _ from (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) - 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? (1)
-
file
_ absolute _ name (1) -
file
_ absolute _ name= (1) -
file
_ relative _ name (1) -
file
_ relative _ name= (1) -
file
_ stat (1) -
file
_ stat= (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)
-
grapheme
_ clusters (2) - grep (1)
-
grep
_ v (1) -
group
_ by (1) - gsub (1)
- gsub! (1)
- handler= (1)
- hash (1)
-
header
_ convert (2) - headers (1)
- 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)
- list (1)
- 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
_ locked? (1) -
mon
_ owned? (1) -
mon
_ synchronize (1) -
mon
_ try _ enter (1) - mtime (1)
- name (8)
- negative? (1)
-
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)
- order (4)
- order! (2)
- ordering (1)
- ordering= (1)
-
original
_ dir (1) - pack (2)
- parse (2)
- parse! (1)
- partition (1)
- path (4)
- pathmap (1)
- permutation (2)
- permute (2)
- permute! (1)
- 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) -
public
_ methods (1) - push (1)
- putback (2)
- putc (1)
- 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 (5)
- 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)
-
row
_ vectors (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 (4) -
slice
_ before (5) -
slice
_ when (2) - solve (1)
- sort (3)
- sort! (2)
-
sort
_ by (1) -
source
_ location (1) - split (2)
- src (1)
- start (1)
- started (1)
- started? (1)
- stat (1)
- step (7)
- sticky? (1)
- stop (1)
-
stop
_ service (2) - 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 (5)
- summarize (2)
- swapcase (1)
- 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 (3)
- terminate (1)
- terminated? (1)
- time= (2)
- times (1)
- to= (1)
-
to
_ a (23) -
to
_ ary (5) -
to
_ binary (1) -
to
_ bn (2) -
to
_ c (4) -
to
_ csv (3) -
to
_ d (6) -
to
_ date (1) -
to
_ datetime (2) -
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 (7) -
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
_ proc (1) -
to
_ ptr (1) -
to
_ r (8) -
to
_ range (1) -
to
_ re (1) -
to
_ rfc822text (1) -
to
_ ruby (1) -
to
_ s (103) -
to
_ sockaddr (1) -
to
_ str (4) -
to
_ string (2) -
to
_ sym (2) -
to
_ text (10) -
to
_ time (2) -
to
_ value (1) -
to
_ write _ io (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)
-
transform
_ keys (2) -
transform
_ keys! (2) -
transform
_ values (2) -
transform
_ values! (2) - 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 (4)
- uniq! (2)
-
unit
_ test (1) - unlink (1)
- unpack (2)
- unshift (1)
- upcase (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) -
verify
_ gem (1) -
verify
_ gem _ file (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)
-
yield
_ self (2) - zip (6)
- | (1)
検索結果
先頭5件
-
URI
:: MailTo # to -> String (72625.0) -
自身の e-mail アドレスを文字列で返します。
自身の e-mail アドレスを文字列で返します。
例:
require 'uri'
p URI.parse("mailto:nospam@example.com").to #=> "nospam@example.com" -
OpenSSL
:: PKey :: EC :: Point # set _ to _ infinity! -> self (63907.0) -
自身を無限遠点に設定します。
自身を無限遠点に設定します。
@raise OpenSSL::PKey::EC::Point::Error エラーが生じた場合に発生します
@see OpenSSL::PKey::EC::Point#infinity! -
Net
:: IMAP :: Envelope # to -> [Net :: IMAP :: Address] | nil (63655.0) -
To を Net::IMAP::Address オブジェクトの配列で返します。
To を Net::IMAP::Address オブジェクトの配列で返します。
エンベロープに存在しないときは nil を返します。 -
Object
# define _ singleton _ method(symbol) { . . . } -> Symbol (54994.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 (54994.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... -
Rake
:: InvocationChain :: EmptyInvocationChain # to _ s -> String (54607.0) -
'TOP' という文字列を返します。
'TOP' という文字列を返します。 -
RSS
:: TaxonomyTopicModel # taxo _ topic (54604.0) -
@todo
@todo -
RSS
:: TaxonomyTopicModel # taxo _ topic= (54604.0) -
@todo
@todo -
RSS
:: TaxonomyTopicsModel # taxo _ topics (54604.0) -
@todo
@todo -
Addrinfo
# ipv6 _ to _ ipv4 -> Addrinfo|nil (45997.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... -
Vector
# elements _ to _ i -> Vector (45982.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]
//} -
RubyVM
:: InstructionSequence # to _ binary(extra _ data = nil) -> String (45943.0) -
バイナリフォーマットでシリアライズされたiseqのデータを文字列として返します。 RubyVM::InstructionSequence.load_from_binary メソッドでバイナリデータに対応するiseqオブジェクトを作れます。
バイナリフォーマットでシリアライズされたiseqのデータを文字列として返します。
RubyVM::InstructionSequence.load_from_binary メソッドでバイナリデータに対応するiseqオブジェクトを作れます。
引数の extra_data はバイナリデータと共に保存されます。
RubyVM::InstructionSequence.load_from_binary_extra_data メソッドでこの文字列にアクセス出来ます。
注意: 変換後のバイナリデータはポータブルではありません。 to_binary で得たバイナリデータは他のマシンに移動できません。他... -
Time
# to _ datetime -> DateTime (45907.0) -
対応する DateTime オブジェクトを返します。
対応する DateTime オブジェクトを返します。 -
Time
# to _ time -> Time (45907.0) -
対応する Time オブジェクトを返します。
対応する Time オブジェクトを返します。 -
BasicObject
# singleton _ method _ undefined(name) -> object (45904.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 (45904.0) -
分母(常に1)を返します。
分母(常に1)を返します。
@return 分母を返します。
//emlist[][ruby]{
10.denominator # => 1
-10.denominator # => 1
//}
@see Integer#numerator -
JSON
:: Generator :: GeneratorMethods :: String # to _ json _ raw -> String (45739.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 (45679.0) -
自身から生成した JSON 形式の文字列を返します。
自身から生成した JSON 形式の文字列を返します。
自身のエンコードは UTF-8 であるべきです。
"\u????" のように UTF-16 ビッグエンディアンでエンコードされた文字列を返すことがあります。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]... -
URI
:: MailTo # to _ mailtext -> String (45646.0) -
URI オブジェクトからメールテキスト文字列を生成します。
URI オブジェクトからメールテキスト文字列を生成します。
例:
require 'uri'
p mailto = URI.parse("mailto:ruby-list@ruby-lang.org?subject=subscribe&cc=myaddr")
print mailto.to_mailtext
=> #<URI::MailTo:0x20104a0e URL:mailto:ruby-list@ruby-lang.org?subject=subscribe&cc=myaddr>
To: ruby-list@ruby-lang.org
Sub... -
BigDecimal
# to _ digits -> String (45625.0) -
自身を "1234.567" のような十進数の形式にフォーマットした文字列に変換し ます。
自身を "1234.567" のような十進数の形式にフォーマットした文字列に変換し
ます。
@return 十進数の形式にフォーマットした文字列
注意:
このメソッドは非推奨です。BigDecimal#to_s("F") を使用してください。 -
JSON
:: Generator :: GeneratorMethods :: Integer # to _ json(state _ or _ hash = nil) -> String (45625.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 (45625.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 (45622.0) -
自身が無限遠点であるならば true を返します。
自身が無限遠点であるならば true を返します。
@raise OpenSSL::PKey::EC::Point::Error エラーが生じた場合に発生します
@see OpenSSL::PKey::EC::Point#set_to_infinity! -
DRb
:: DRbIdConv # to _ id(obj) -> Integer (45607.0) -
オブジェクトを識別子に変換します。
オブジェクトを識別子に変換します。 -
Delegator
# respond _ to _ missing?(m , include _ private) -> bool (45607.0) -
@param m メソッド名を指定します。
@param m メソッド名を指定します。
@param include_private 真を指定すると private メソッドも調べます。 -
Gem
:: DependencyInstaller # gems _ to _ install -> Array (45607.0) -
依存関係によりインストールされる予定の Gem のリストを返します。
依存関係によりインストールされる予定の Gem のリストを返します。 -
IO
# to _ io -> self (45607.0) -
self を返します。
self を返します。 -
IRB
:: HistorySavingAbility # load _ history -> () (45604.0) -
irb のヒストリを履歴ファイルから読み込みます。
irb のヒストリを履歴ファイルから読み込みます。
@see lib:irb#history -
IRB
:: HistorySavingAbility # save _ history -> () (45604.0) -
irb のヒストリを履歴ファイルに保存します。
irb のヒストリを履歴ファイルに保存します。
@see lib:irb#history -
Matrix
:: EigenvalueDecomposition # eigenvector _ matrix -> Matrix (45604.0) -
右固有ベクトルを横に並べた行列を返します。
右固有ベクトルを横に並べた行列を返します。 -
Matrix
:: EigenvalueDecomposition # eigenvector _ matrix _ inv -> Matrix (45604.0) -
左固有ベクトルを縦に並べた行列を返します。
左固有ベクトルを縦に並べた行列を返します。
これは Matrix::EigenvalueDecomposition#v の逆行列です -
JSON
:: Generator :: GeneratorMethods :: String # to _ json _ raw _ object -> Hash (45343.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(timeout = nil) -> bool (45304.0) -
モニタのロックを開放し、現在のスレッドを停止します。
モニタのロックを開放し、現在のスレッドを停止します。
これを呼ぶスレッドはモニタのロックを保持している必要があります。
MonitorMixin::ConditionVariable#signal や
MonitorMixin::ConditionVariable#broadcast
で起こされるまでスレッドは停止し続けます。
timeout を与えた場合は最大 timeout 秒まで停止した後にスレッドを
再開します。
実行を再開したスレッドはモニタのロックを保持した状態になります。
これによって危険領域(critical section)上で動作している
スレッドはただ一つになり... -
MonitorMixin
:: ConditionVariable # wait _ until { . . . } -> () (45304.0) -
モニタのロックを開放し、現在のスレッドを ブロックで指定した条件を満たすまで停止します。
モニタのロックを開放し、現在のスレッドを
ブロックで指定した条件を満たすまで停止します。
MonitorMixin::ConditionVariable#signal や
MonitorMixin::ConditionVariable#broadcast で
スレッドが起こされると、ロックを取得し、ブロックを評価し
その結果によってこのメソッドから抜け処理を継続するか
再びロックを開放しスレッドを停止するかを決めます。
@see MonitorMixin::ConditionVariable#wait -
MonitorMixin
:: ConditionVariable # wait _ while { . . . } -> () (45304.0) -
モニタのロックを開放し、現在のスレッドを ブロックで指定した条件を満たしている間停止します。
モニタのロックを開放し、現在のスレッドを
ブロックで指定した条件を満たしている間停止します。
MonitorMixin::ConditionVariable#signal や
MonitorMixin::ConditionVariable#broadcast で
スレッドが起こされると、ロックを取得し、ブロックを評価し
その結果によってこのメソッドから抜け処理を継続するか
再びロックを開放しスレッドを停止するかを決めます。
@raise ThreadError ロックを持っていないスレッドがこのメソッドを呼びだした場合に発生します
@see MonitorMixin::ConditionV... -
RSS
:: TaxonomyTopicModel :: TaxonomyTopic # taxo _ link (45304.0) -
@todo
@todo -
RSS
:: TaxonomyTopicModel :: TaxonomyTopic # taxo _ link= (45304.0) -
@todo
@todo -
String
# to _ i(base = 10) -> Integer (37294.0) -
文字列を 10 進数表現された整数であると解釈して、整数に変換します。
文字列を 10 進数表現された整数であると解釈して、整数に変換します。
//emlist[例][ruby]{
p " 10".to_i # => 10
p "+10".to_i # => 10
p "-10".to_i # => -10
p "010".to_i # => 10
p "-010".to_i # => -10
//}
整数とみなせない文字があればそこまでを変換対象とします。
変換対象が空文字列であれば 0 を返します。
//emlist[例][ruby]{
p "0x11".to_i # => 0
p "".to_i # =>... -
Object
# singleton _ methods(inherited _ too = true) -> [Symbol] (37204.0) -
そのオブジェクトに対して定義されている特異メソッド名 (public あるいは protected メソッド) の一覧を返します。
そのオブジェクトに対して定義されている特異メソッド名
(public あるいは protected メソッド) の一覧を返します。
inherited_too が真のときは継承した特異メソッドを含みます。
継承した特異メソッドとは Object#extend によって追加された特異メソッドや、
self がクラスの場合はスーパークラスのクラスメソッド(Classのインスタンスの特異メソッド)などです。
singleton_methods(false) は、Object#methods(false) と同じです。
@param inherited_too 継承した特異メソッドを含める場合は... -
Numeric
# to _ int -> Integer (37057.0) -
self.to_i と同じです。
self.to_i と同じです。
//emlist[例][ruby]{
(2+0i).to_int # => 2
Rational(3).to_int # => 3
//} -
Enumerable
# find _ index -> Enumerator (37012.0) -
条件に一致する最初の要素の位置を返します。
条件に一致する最初の要素の位置を返します。
@param val 位置を知りたいオブジェクトを指定します。
指定された val と == で等しい最初の要素の位置を返します。
等しい要素がひとつもなかった場合は nil を返します。
//emlist[例][ruby]{
(1..10).find_index(11) #=> nil
(1..10).find_index(2) #=> 1
//}
ブロックが与えられた場合には、各要素を引数として先頭から順にブロックを実行し、
ブロックが真を返した最初の要素の位置を返します。
一つも真にならなかった場合は nil を返します。
/... -
Net
:: SMTP # rcptto _ list(to _ addrs) { . . . } -> object (36973.0) -
RCPTTO コマンドを to_addrs のすべてのメールアドレスに対して送ります。
RCPTTO コマンドを to_addrs のすべてのメールアドレスに対して送ります。
コマンドを送った後、ブロックを呼び出します。
このメソッドの返り値はブロックの返り値になります。
通常は Net::SMTP#send_message, Net::SMTP#open_message_stream で
RCPTTO が送られるため利用する必要はないはずです。
@param to_addrs 送信先メールアドレスの配列 -
ARGF
. class # to _ io -> IO (36961.0) -
ARGFが現在開いているファイルのFile、またはIOオブジェクトを 返します。
ARGFが現在開いているファイルのFile、またはIOオブジェクトを
返します。
ARGF.to_io # => #<File:glark.txt>
ARGF.to_io # => #<IO:<STDIN>>
@see ARGF.class#file, ARGF.class#to_write_io -
IPAddr
# to _ string -> String (36961.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 -
Complex
# denominator -> Integer (36958.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 (36955.0) -
In-reply-to の内容を文字列で返します。
In-reply-to の内容を文字列で返します。
エンベロープに存在しないときは nil を返します。 -
Object
# to _ int -> Integer (36925.0) -
オブジェクトの Integer への暗黙の変換が必要なときに内部で呼ばれます。 デフォルトでは定義されていません。
オブジェクトの Integer への暗黙の変換が必要なときに内部で呼ばれます。
デフォルトでは定義されていません。
説明のためここに記載してありますが、
このメソッドは実際には Object クラスには定義されていません。
必要に応じてサブクラスで定義すべきものです。
このメソッドを定義する条件は、
* 整数が使われるすべての場面で代置可能であるような、
* 整数そのものとみなせるようなもの
という厳しいものになっています。
//emlist[][ruby]{
class Foo
def to_int
1
end
end
ary = [:a, :b, :c]
p(... -
REXML
:: Attribute # to _ string -> String (36925.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'"
//} -
BigDecimal
# to _ int -> Integer (36913.0) -
self の小数点以下を切り捨てて整数に変換します。
self の小数点以下を切り捨てて整数に変換します。
@raise FloatDomainError self が無限大や NaN であった場合に発生します。 -
Fiddle
:: Pointer # to _ int -> Integer (36913.0) -
自身が指すアドレスを整数で返します。
自身が指すアドレスを整数で返します。 -
OpenSSL
:: BN # to _ int -> Integer (36913.0) -
自身を Integer のインスタンスに変換します。
自身を Integer のインスタンスに変換します。
@raise OpenSSL::BNError 変換に失敗した場合に発生します -
Date
# to _ datetime -> DateTime (36907.0) -
対応する DateTime オブジェクトを返します。
対応する DateTime オブジェクトを返します。 -
Date
# to _ time -> Time (36907.0) -
対応する Time オブジェクトを返します。
対応する Time オブジェクトを返します。 -
Object
# to _ io -> IO (36907.0) -
オブジェクトの IO への暗黙の変換が必要なときに内部で呼ばれます。 デフォルトでは定義されていません。
オブジェクトの IO への暗黙の変換が必要なときに内部で呼ばれます。
デフォルトでは定義されていません。
説明のためここに記載してありますが、
このメソッドは実際には Object クラスには定義されていません。
必要に応じてサブクラスで定義すべきものです。
このメソッドを定義する条件は、
* IOオブジェクトが使われるすべての場面で代置可能であるような、
* IOオブジェクトそのものとみなせるようなもの
という厳しいものになっています。 -
Array
# find _ index -> Enumerator (36904.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
//}
ブロックが与えられた場合には、各要素を引数として順にブロックを実行し、
ブロックが真を返した最初... -
Float
# denominator -> Integer (36904.0) -
自身を Rational に変換した時の分母を返します。
自身を Rational に変換した時の分母を返します。
@return 分母を返します。
//emlist[例][ruby]{
2.0.denominator # => 1
0.5.denominator # => 2
//}
@see Float#numerator -
IRB
:: Context # history _ file=(hist) (36904.0) -
履歴ファイルのパスを val に設定します。
履歴ファイルのパスを val に設定します。
.irbrc ファイル中で IRB.conf[:HISTORY_FILE] を設定する事でも同様の事が
行えます。
@param hist 履歴ファイルのパスを文字列で指定します。
@see lib:irb#history -
Kernel
# directory(dir) -> () (36904.0) -
与えられたディレクトリを作成するタスクを定義します。
与えられたディレクトリを作成するタスクを定義します。
@param dir 作成するディレクトリを指定します。
例:
directory 'testdata/doc' -
Matrix
# cofactor _ expansion(row: nil , column: nil) -> object | Integer | Rational | Float (36904.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]].... -
Matrix
:: EigenvalueDecomposition # eigenvectors -> [Vector] (36904.0) -
右固有ベクトルを配列で返します。
右固有ベクトルを配列で返します。 -
Net
:: FTP # storlines(cmd , file) {|line| . . . } -> nil (36904.0) -
サーバーに cmd で指定されたコマンドを送り、テキストデータを 送ります。
サーバーに cmd で指定されたコマンドを送り、テキストデータを
送ります。
一行ずつで file からテキストを読み込み、サーバーに送ります。
送るデータは IO のインスタンスを
file で指定します。
(実際には StringIO のような IO とメソッドレベルで
互換するオブジェクトであればなんでもかまいません)。
ブロックが与えられた場合には各行をそのブロックに渡します。
@param cmd コマンドを文字列で与えます。
@param file 送るデータを与えます。
@raise Net::FTPTempError 応答コードが 4yz のときに発生します。
@ra... -
Numeric
# denominator -> Integer (36904.0) -
自身を Rational に変換した時の分母を返します。
自身を Rational に変換した時の分母を返します。
@return 分母を返します。
@see Numeric#numerator、Integer#denominator、Float#denominator、Rational#denominator、Complex#denominator -
Rational
# denominator -> Integer (36904.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 -
Zlib
:: ZStream # total _ in -> Integer (36904.0) -
ストリームに入力されたデータの総バイト数を返します。
ストリームに入力されたデータの総バイト数を返します。 -
Rational
# to _ i -> Integer (36808.0) -
小数点以下を切り捨てて値を整数に変換します。
小数点以下を切り捨てて値を整数に変換します。
@param precision 計算結果の精度
@raise TypeError precision に整数以外のものを指定すると発生します。
//emlist[例][ruby]{
Rational(2, 3).to_i # => 0
Rational(3).to_i # => 3
Rational(300.6).to_i # => 300
Rational(98, 71).to_i # => 1
Rational(-31, 2).to_i # => -15
//}
precision を指定した場合は指定した桁数で切り... -
Object
# respond _ to _ missing?(symbol , include _ private) -> bool (36787.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 が渡されます... -
Complex
# to _ i -> Integer (36718.0) -
自身を整数に変換します。
自身を整数に変換します。
@raise RangeError 虚部が実数か、0 ではない場合に発生します。
//emlist[例][ruby]{
Complex(3).to_i # => 3
Complex(3.5).to_i # => 3
Complex(3, 2).to_i # => RangeError
//} -
JSON
:: Generator :: GeneratorMethods :: Object # to _ json(state _ or _ hash = nil) -> String (36709.0) -
自身を to_s で文字列にした結果を JSON 形式の文字列に変換して返します。
自身を to_s で文字列にした結果を JSON 形式の文字列に変換して返します。
このメソッドはあるオブジェクトに to_json メソッドが定義されていない場合に使用する
フォールバックのためのメソッドです。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby... -
CSV
# to _ io -> self (36673.0) -
IO#to_io に委譲します。
IO#to_io に委譲します。
@see IO#to_io -
Time
# to _ i -> Integer (36664.0) -
起算時からの経過秒数を整数で返します。
起算時からの経過秒数を整数で返します。
//emlist[][ruby]{
t = Time.local(2000,1,2,3,4,5,6)
p t # => 2000-01-02 03:04:05 +0900
p "%10.6f" % t.to_f # => "946749845.000006"
p t.to_i # => 946749845
p t.tv_sec # => 946749845
//} -
Pathname
# directory? -> bool (36652.0) -
FileTest.directory?(self.to_s) と同じです。
FileTest.directory?(self.to_s) と同じです。
@see FileTest.#directory? -
Integer
# to _ i -> self (36649.0) -
self を返します。
self を返します。
//emlist[][ruby]{
10.to_i # => 10
//} -
Integer
# to _ int -> self (36649.0) -
self を返します。
self を返します。
//emlist[][ruby]{
10.to_i # => 10
//} -
IPAddr
# to _ i -> Integer (36646.0) -
整数に変換します。
整数に変換します。
例:
require "ipaddr"
p IPAddr.new("0.0.1.0").to_i # => 256 -
Matrix
# elements _ to _ i -> Matrix (36646.0) -
各要素を整数 Integer に変換した行列を返します。
各要素を整数 Integer に変換した行列を返します。
このメソッドは deprecated です。 map(&:to_i) を使ってください。 -
NilClass
# to _ i -> Integer (36646.0) -
0 を返します。
0 を返します。
//emlist[例][ruby]{
nil.to_i #=> 0
//} -
URI
:: MailTo # to _ rfc822text -> String (36646.0) -
URI オブジェクトからメールテキスト文字列を生成します。
URI オブジェクトからメールテキスト文字列を生成します。
例:
require 'uri'
p mailto = URI.parse("mailto:ruby-list@ruby-lang.org?subject=subscribe&cc=myaddr")
print mailto.to_mailtext
=> #<URI::MailTo:0x20104a0e URL:mailto:ruby-list@ruby-lang.org?subject=subscribe&cc=myaddr>
To: ruby-list@ruby-lang.org
Sub... -
JSON
:: Generator :: GeneratorMethods :: Array # to _ json(state _ or _ hash = nil) -> String (36625.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 (36625.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 (36625.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 (36625.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 (36625.0) -
自身から生成した JSON 形式の文字列を返します。
自身から生成した JSON 形式の文字列を返します。
"true" という文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
true.to_json # => "true"
//} -
Rake
:: InvocationChain # to _ s -> String (36625.0) -
トップレベルのタスクから自身までの依存関係を文字列として返します。
トップレベルのタスクから自身までの依存関係を文字列として返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
invocation_chain= Rake::InvocationChain.new("task_a", Rake::InvocationChain::EMPTY)
invocation_chain.to_s # => "TOP => task_a"
end
//} -
BigDecimal
# to _ i -> Integer (36613.0) -
self の小数点以下を切り捨てて整数に変換します。
self の小数点以下を切り捨てて整数に変換します。
@raise FloatDomainError self が無限大や NaN であった場合に発生します。 -
Fiddle
:: Pointer # to _ i -> Integer (36613.0) -
自身が指すアドレスを整数で返します。
自身が指すアドレスを整数で返します。 -
OpenSSL
:: BN # to _ i -> Integer (36613.0) -
自身を Integer のインスタンスに変換します。
自身を Integer のインスタンスに変換します。
@raise OpenSSL::BNError 変換に失敗した場合に発生します -
Fiddle
:: CStruct # to _ i -> Integer (36610.0) -
保持している構造体の先頭アドレスを整数で返します。
保持している構造体の先頭アドレスを整数で返します。 -
Fiddle
:: Closure # to _ i -> Integer (36610.0) -
C の関数ポインタのアドレスを返します。
C の関数ポインタのアドレスを返します。 -
Fiddle
:: Function # to _ i -> Integer (36610.0) -
関数ポインタのアドレスを整数で返します。
関数ポインタのアドレスを整数で返します。
@see Fiddle::Function#ptr -
Fiddle
:: Handle # to _ i -> Integer (36610.0) -
自身が表すハンドル(dlopen(3) が返したもの)のアドレスを返します。
自身が表すハンドル(dlopen(3) が返したもの)のアドレスを返します。 -
Float
# to _ i -> Integer (36610.0) -
小数点以下を切り捨てて値を整数に変換します。
小数点以下を切り捨てて値を整数に変換します。
@param ndigits 10進数での小数点以下の有効桁数を整数で指定します。
正の整数を指定した場合、Float を返します。
小数点以下を、最大 n 桁にします。
負の整数を指定した場合、Integer を返します。
小数点位置から左に少なくとも n 個の 0 が並びます。
//emlist[例][ruby]{
2.8.truncate # => 2
(-2.8).truncate ... -
Process
:: Status # to _ i -> Integer (36610.0) -
C 言語での終了ステータス表現の整数を返します。
C 言語での終了ステータス表現の整数を返します。
多くのシステムの実装では、この値の上位 8 bit に exit(2)
に渡した終了ステータスが、下位 8 bit にシグナル等で終了した等の情
報が入っています。 -
ARGF
. class # to _ write _ io -> IO (36607.0) -
処理対象のファイルへの書き出し用 IO オブジェクトを返します。
処理対象のファイルへの書き出し用 IO オブジェクトを返します。
c:ARGF#inplace時以外は読み込み用の IO オブジェクトを返します。
このため ARGF.class#write などの書き出し用メソッドを呼ぶと IOError が発生します。 -
DRb
:: TimerIdConv # to _ id(obj) -> Integer (36607.0) -
オブジェクトを識別子に変換します。
オブジェクトを識別子に変換します。 -
Gem
:: Commands :: UpdateCommand # which _ to _ update(highest _ installed _ gems , gem _ names) -> Array (36607.0) -
更新が必要な Gem のリストを返します。
更新が必要な Gem のリストを返します。 -
OpenSSL
:: SSL :: SSLServer # to _ io -> TCPServer (36607.0) -
ラップしている TCPServer オブジェクトを返します。
ラップしている TCPServer オブジェクトを返します。 -
BasicObject
# singleton _ method _ added(name) -> object (36604.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 (36604.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 (36604.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 (36604.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">