ライブラリ
- ビルトイン (303)
- benchmark (3)
- bigdecimal (2)
-
cgi
/ core (5) -
cgi
/ html (25) -
cgi
/ session (4) -
cgi
/ session / pstore (1) - continuation (2)
- csv (3)
- date (14)
- dbm (2)
- delegate (5)
- digest (1)
- e2mmap (1)
- expect (2)
-
fiddle
/ import (6) - gdbm (2)
- getoptlong (1)
-
irb
/ context (3) -
irb
/ input-method (3) - json (11)
- logger (2)
- mathn (1)
- matrix (65)
- mkmf (4)
-
net
/ ftp (7) -
net
/ http (16) -
net
/ imap (11) -
net
/ smtp (1) - observer (2)
- open-uri (1)
- openssl (44)
- ostruct (1)
- pathname (23)
- prime (20)
- psych (1)
- pty (1)
- rake (14)
-
rdoc
/ context (7) -
rdoc
/ markup (3) -
rdoc
/ markup / formatter (2) -
rdoc
/ stats (8) -
rdoc
/ top _ level (1) - resolv (1)
-
rexml
/ document (53) -
rexml
/ parsers / pullparser (3) -
rexml
/ sax2listener (3) -
rexml
/ streamlistener (1) -
rinda
/ rinda (1) -
rinda
/ tuplespace (2) -
ripper
/ filter (1) - rss (37)
- rubygems (3)
-
rubygems
/ commands / lock _ command (1) -
rubygems
/ commands / unpack _ command (1) -
rubygems
/ commands / update _ command (2) -
rubygems
/ config _ file (2) -
rubygems
/ custom _ require (1) -
rubygems
/ dependency _ list (2) -
rubygems
/ package / tar _ header (1) -
rubygems
/ package / tar _ input (2) -
rubygems
/ package / tar _ output (3) -
rubygems
/ package / tar _ writer (1) -
rubygems
/ platform (2) -
rubygems
/ remote _ fetcher (3) -
rubygems
/ require _ paths _ builder (1) -
rubygems
/ requirement (2) -
rubygems
/ security (4) -
rubygems
/ server (1) -
rubygems
/ source _ index (11) -
rubygems
/ source _ info _ cache (14) -
rubygems
/ spec _ fetcher (2) -
rubygems
/ specification (42) -
rubygems
/ uninstaller (2) -
rubygems
/ user _ interaction (9) -
rubygems
/ validator (1) - scanf (6)
- sdbm (2)
- shell (5)
-
shell
/ command-processor (3) -
shell
/ filter (3) - socket (5)
- stringio (10)
- strscan (2)
-
syslog
/ logger (1) - tsort (3)
- uri (5)
-
webrick
/ httpauth / authenticator (3) -
webrick
/ httpauth / basicauth (1) -
webrick
/ httpauth / digestauth (1) -
webrick
/ httpauth / htdigest (1) -
webrick
/ httpauth / htgroup (1) -
webrick
/ httpauth / htpasswd (1) -
webrick
/ httprequest (4) -
webrick
/ httpresponse (5) -
webrick
/ https (2) -
webrick
/ httpserver (1) -
webrick
/ httputils (11) -
webrick
/ server (1) -
win32
/ registry (1) -
yaml
/ dbm (2) - zlib (5)
クラス
-
ARGF
. class (13) - Addrinfo (1)
- Array (31)
-
Benchmark
:: Tms (3) - BigDecimal (2)
-
CGI
:: Cookie (1) -
CGI
:: Session (1) -
CGI
:: Session :: FileStore (1) -
CGI
:: Session :: MemoryStore (1) -
CGI
:: Session :: NullStore (1) -
CGI
:: Session :: PStore (1) - CSV (1)
-
CSV
:: Row (1) -
CSV
:: Table (1) - Complex (2)
- Continuation (2)
- DBM (2)
- Date (12)
- DateTime (2)
- Delegator (4)
-
Digest
:: Base (1) - Dir (1)
- Encoding (1)
-
Encoding
:: Converter (4) -
Encoding
:: InvalidByteSequenceError (2) -
Encoding
:: UndefinedConversionError (2) - Enumerator (15)
-
Enumerator
:: Lazy (33) -
Enumerator
:: Yielder (2) - File (1)
-
File
:: Stat (4) - Float (7)
- GDBM (2)
-
Gem
:: Commands :: LockCommand (1) -
Gem
:: Commands :: UnpackCommand (1) -
Gem
:: Commands :: UpdateCommand (2) -
Gem
:: ConfigFile (2) -
Gem
:: DependencyList (2) -
Gem
:: Package :: TarHeader (1) -
Gem
:: Package :: TarInput (2) -
Gem
:: Package :: TarOutput (3) -
Gem
:: Package :: TarWriter :: BoundedStream (1) -
Gem
:: Platform (2) -
Gem
:: RemoteFetcher (3) -
Gem
:: Requirement (2) -
Gem
:: Security :: Policy (3) -
Gem
:: Security :: Signer (1) -
Gem
:: Server (1) -
Gem
:: SourceIndex (11) -
Gem
:: SourceInfoCache (14) -
Gem
:: SpecFetcher (2) -
Gem
:: Specification (42) -
Gem
:: StreamUI (5) -
Gem
:: StreamUI :: SilentProgressReporter (1) -
Gem
:: StreamUI :: SimpleProgressReporter (1) -
Gem
:: StreamUI :: VerboseProgressReporter (1) -
Gem
:: Uninstaller (2) -
Gem
:: Validator (1) - GetoptLong (1)
- Hash (17)
- IO (17)
-
IRB
:: Context (3) -
IRB
:: InputMethod (1) -
IRB
:: ReadlineInputMethod (1) -
IRB
:: StdioInputMethod (1) - Integer (6)
-
JSON
:: State (9) - Logger (2)
- MatchData (3)
- Matrix (36)
-
Matrix
:: EigenvalueDecomposition (10) -
Matrix
:: LUPDecomposition (10) - Method (1)
- Module (16)
-
Net
:: FTP (7) -
Net
:: HTTP (15) -
Net
:: HTTPGenericRequest (1) -
Net
:: IMAP (4) -
Net
:: IMAP :: Address (1) -
Net
:: IMAP :: ContinuationRequest (2) -
Net
:: IMAP :: StatusData (2) -
Net
:: IMAP :: UntaggedResponse (2) -
Net
:: SMTP (1) - Numeric (16)
- Object (6)
-
OpenSSL
:: ASN1 :: ASN1Data (2) -
OpenSSL
:: Cipher (1) -
OpenSSL
:: Digest (1) -
OpenSSL
:: Engine (1) -
OpenSSL
:: HMAC (1) -
OpenSSL
:: OCSP :: BasicResponse (2) -
OpenSSL
:: OCSP :: CertificateId (1) -
OpenSSL
:: OCSP :: Request (1) -
OpenSSL
:: OCSP :: Response (2) -
OpenSSL
:: PKey :: EC :: Group (2) -
OpenSSL
:: X509 :: Attribute (5) -
OpenSSL
:: X509 :: CRL (5) -
OpenSSL
:: X509 :: Certificate (7) -
OpenSSL
:: X509 :: ExtensionFactory (6) -
OpenSSL
:: X509 :: Request (4) -
OpenSSL
:: X509 :: Store (1) -
OpenSSL
:: X509 :: StoreContext (1) - OpenStruct (1)
-
PTY
:: ChildExited (1) - Pathname (23)
- Prime (4)
-
Prime
:: EratosthenesGenerator (1) -
Prime
:: Generator23 (1) -
Prime
:: PseudoPrimeGenerator (13) -
Prime
:: TrialDivisionGenerator (1) - Proc (1)
-
Process
:: Status (15) -
Process
:: Tms (2) -
Psych
:: Nodes :: Node (1) -
RDoc
:: Context (7) -
RDoc
:: Markup (3) -
RDoc
:: Markup :: Formatter (2) -
RDoc
:: Options (2) -
RDoc
:: Stats (8) -
RDoc
:: TopLevel (1) -
REXML
:: AttlistDecl (3) -
REXML
:: Attribute (14) -
REXML
:: Attributes (15) -
REXML
:: CData (1) -
REXML
:: Declaration (1) -
REXML
:: DocType (2) -
REXML
:: Element (8) -
REXML
:: Formatters :: Default (1) -
REXML
:: NotationDecl (4) -
REXML
:: Parent (4) -
REXML
:: Parsers :: PullEvent (3) -
RSS
:: Maker :: ChannelBase (4) -
RSS
:: Maker :: ItemsBase :: ItemBase (5) -
RSS
:: RDF :: Textinput (2) -
RSS
:: Rss :: Channel (4) -
RSS
:: Rss :: Channel :: Cloud (2) -
RSS
:: Rss :: Channel :: Item (2) -
Rake
:: Application (3) -
Rake
:: FileList (6) - Range (3)
- Rational (7)
-
Resolv
:: DNS :: Resource :: TXT (1) -
Rinda
:: TupleEntry (1) -
Rinda
:: TupleSpace (1) -
Rinda
:: TupleSpaceProxy (1) -
Ripper
:: Filter (1) -
RubyVM
:: InstructionSequence (3) - SDBM (2)
-
Scanf
:: FormatSpecifier (1) -
Scanf
:: FormatString (3) - Shell (5)
-
Shell
:: CommandProcessor (3) -
Shell
:: Filter (3) -
Socket
:: AncillaryData (1) -
Socket
:: Option (1) - StopIteration (1)
- String (23)
- StringIO (10)
- StringScanner (2)
- Struct (4)
-
Syslog
:: Logger (1) - SystemExit (1)
- Thread (1)
-
Thread
:: Backtrace :: Location (1) - Time (3)
- UDPSocket (1)
- UNIXSocket (1)
-
URI
:: Generic (3) -
URI
:: LDAP (2) - UnboundMethod (1)
- Vector (9)
-
WEBrick
:: Cookie (1) -
WEBrick
:: GenericServer (1) -
WEBrick
:: HTTPAuth :: BasicAuth (1) -
WEBrick
:: HTTPAuth :: DigestAuth (1) -
WEBrick
:: HTTPAuth :: Htdigest (1) -
WEBrick
:: HTTPAuth :: Htgroup (1) -
WEBrick
:: HTTPAuth :: Htpasswd (1) -
WEBrick
:: HTTPRequest (6) -
WEBrick
:: HTTPResponse (5) -
WEBrick
:: HTTPServer :: MountTable (1) -
WEBrick
:: HTTPUtils :: FormData (11) -
Win32
:: Registry (1) -
YAML
:: DBM (2) -
Zlib
:: Deflate (2) -
Zlib
:: GzipReader (3)
モジュール
-
CGI
:: HtmlExtension (25) -
CGI
:: QueryExtension (5) - DublinCoreModel (12)
- Enumerable (41)
- Exception2MessageMapper (1)
-
Fiddle
:: Importer (6) - FileUtils (3)
- GC (1)
-
Gem
:: InstallUpdateOptions (2) -
Gem
:: LocalRemoteOptions (1) -
Gem
:: QuickLoader (3) -
Gem
:: RequirePathsBuilder (1) -
Gem
:: UserInteraction (1) -
JSON
:: Generator :: GeneratorMethods :: String (1) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (1) - Kernel (6)
- Observable (2)
-
OpenSSL
:: Buffering (1) -
OpenURI
:: Meta (1) -
REXML
:: SAX2Listener (3) -
REXML
:: StreamListener (1) -
RSS
:: SyndicationModel (6) -
Rake
:: TaskManager (2) - TSort (3)
-
WEBrick
:: HTTPAuth :: Authenticator (3)
キーワード
- & (1)
- ** (1)
- << (3)
- == (2)
- >> (1)
- DelegateClass (1)
- [] (3)
- []= (2)
-
_ dump (1) - absolute? (1)
-
absolute
_ path (2) - add (1)
-
add
_ attribute (4) -
add
_ attributes (1) -
add
_ bindir (1) -
add
_ dependency (1) -
add
_ development _ dependency (1) -
add
_ gem _ contents (1) -
add
_ observer (1) -
add
_ runtime _ dependency (1) -
add
_ signatures (1) -
add
_ spec (1) -
add
_ special (1) -
add
_ status (1) -
add
_ tag (1) -
add
_ update _ sources _ option (1) - adjugate (1)
- alert (1)
-
alert
_ error (1) -
alert
_ warning (1) - angle (1)
-
append
_ data (1) -
append
_ features (1) - arg (1)
- ascend (1)
-
assign
_ defaults (1) - attlistdecl (1)
- attlistdecl? (1)
- attr (4)
-
attr
_ accessor (1) -
attr
_ reader (1) -
attr
_ writer (1) - attribute (1)
-
attribute
_ manager (1) -
attribute
_ of (1) - attributes (5)
- attributes= (2)
-
attributes
_ of (1) - authenticate (4)
- autoload (1)
- autorequire (1)
- autorequire= (1)
- basename (1)
- bind (1)
- bsearch (2)
-
bsearch
_ index (1) -
buffer
_ initial _ length (1) -
buffer
_ initial _ length= (1) - bytes (3)
-
cache
_ data (1) -
calculate
_ integers _ for _ gem _ version (1) - call (1)
- captures (1)
- cdata? (1)
- certid (1)
- changed (1)
- chars (3)
-
check
_ circular? (1) - checkbox (1)
-
checkbox
_ group (1) - children (1)
- chown (1)
- chunk (3)
-
chunk
_ while (2) -
client
_ cert (1) - clone (1)
-
cmp
_ issuer (1) - codepoints (3)
- cofactor (1)
-
cofactor
_ expansion (1) - collect (5)
- collect! (1)
- collect2 (1)
-
collect
_ concat (3) - column (2)
-
column
_ count (1) -
column
_ size (1) -
column
_ vectors (1) - combination (1)
- concat (2)
- configure (1)
- conjugate (3)
- convert (2)
- coredump? (1)
-
count
_ space? (1) - cpu (1)
- cpu= (1)
- create (1)
-
create
_ body (1) -
create
_ ext (1) -
create
_ extension (1) -
create
_ makefile (1) -
create
_ rule (1) -
create
_ value (1) -
current
_ cert (1) - cutime (2)
- cycle (2)
- d (1)
- data (3)
- date (1)
- date= (1)
-
dc
_ creator (1) -
dc
_ creator= (1) -
dc
_ creators (1) -
dc
_ date (1) -
dc
_ date= (1) -
dc
_ dates (1) -
dc
_ format (1) -
dc
_ format= (1) -
dc
_ formats (1) -
dc
_ relation (1) -
dc
_ relation= (1) -
dc
_ relations (1) -
def
_ exception (1) -
default
_ executable (1) -
default
_ executable= (1) - deflate (1)
- delete (1)
-
delete
_ all (1) -
delete
_ attribute (1) -
delete
_ if (3) - denominator (1)
-
deprecate
_ constant (1) - descend (1)
-
destination
_ encoding (2) -
destination
_ encoding _ name (2) - det (2)
- detect (1)
- determinant (2)
- divmod (1)
-
do
_ rubygems _ update (1) - downto (2)
- drop (1)
-
drop
_ while (3) - each (27)
- each2 (1)
-
each
_ attribute (2) -
each
_ byte (5) -
each
_ char (4) -
each
_ child (3) -
each
_ codepoint (4) -
each
_ cons (1) -
each
_ data (1) -
each
_ element _ with _ attribute (1) -
each
_ entry (1) -
each
_ index (2) -
each
_ key (1) -
each
_ line (9) -
each
_ pair (3) -
each
_ slice (1) -
each
_ strongly _ connected _ component (1) -
each
_ strongly _ connected _ component _ from (1) -
each
_ value (1) -
each
_ with _ index (4) -
each
_ with _ object (1) - egrep (1)
- eigen (1)
- eigensystem (1)
-
eigenvalue
_ matrix (1) - eigenvalues (1)
-
eigenvector
_ matrix (1) -
eigenvector
_ matrix _ inv (1) - eigenvectors (1)
- element (1)
- element= (1)
- enclosure (1)
-
enhance
_ with _ matching _ rule (1) -
enum
_ for (4) - evaluate (1)
- exclude (1)
- executable (1)
- executable= (1)
- executable? (2)
-
executable
_ real? (2) - executables (1)
- executables= (1)
- exited? (1)
- exitstatus (1)
- expect (2)
- expires (1)
- extern (1)
- fatal (3)
- fdiv (1)
- feed (1)
- fetch (1)
-
fetch
_ path (1) -
fetch
_ values (2) -
file
_ field (1) - filename (1)
- filename= (1)
- find (3)
-
find
_ all (2) -
find
_ enclosing _ module _ named (1) -
find
_ executable (1) -
find
_ index (4) -
find
_ library (2) -
find
_ local _ symbol (1) -
find
_ matching (1) -
find
_ name (2) -
first
_ minor (1) -
flat
_ map (3) - floor (1)
- flush (4)
- force (1)
-
force
_ update (1) - form (4)
- format (1)
-
full
_ gem _ path (1) -
full
_ name (1) -
garbage
_ collect (1) -
gateway
_ interface (1) -
gem
_ signature (1) - generator (1)
- get (1)
-
get
_ attribute (1) -
get
_ attribute _ ns (1) -
get
_ file _ uri _ path (1) -
get
_ path (1) - getbinaryfile (1)
- grep (3)
-
grep
_ v (3) -
group
_ by (1) - gsub (5)
- gsub! (5)
- guid (1)
-
has
_ attributes? (1) -
has
_ test _ suite? (1) -
has
_ unit _ tests? (1) - hidden (1)
- homepage= (1)
- hour (1)
- html (2)
- img (1)
- include? (1)
- index (3)
-
index
_ signature (1) -
inner
_ product (1) - inspect (1)
-
install
_ update _ defaults _ str (1) - issuer (1)
- issuer= (1)
-
issuer
_ certificate (1) -
issuer
_ certificate= (1) - julian (1)
- julian? (1)
-
keep
_ if (2) - l (1)
-
laplace
_ expansion (1) - lastBuildDate (2)
- lastBuildDate= (2)
-
last
_ update (1) -
last
_ update= (1) -
latest
_ cache _ data (1) -
latest
_ cache _ file (1) -
latest
_ specs (2) -
latest
_ system _ cache _ file (1) -
latest
_ user _ cache _ file (1) - lazy (2)
- lchown (1)
- length (1)
- lines (7)
- list (1)
-
load
_ gemspec (1) -
load
_ public _ key (1) - logger (1)
-
lower
_ triangular? (1) - lup (1)
-
lup
_ decomposition (1) - magnitude (3)
- mailbox (1)
- map (5)
- map! (1)
-
marshal
_ dump (2) - match? (1)
-
matched
_ count (1) -
matched
_ size (1) -
max
_ by (2) - merge (1)
-
min
_ by (2) -
minmax
_ by (1) - minute (1)
- mlsd (2)
- modulo (1)
- mountpoint? (1)
-
multipart
_ form (4) - name (1)
- name= (1)
-
named
_ captures (1) - namespace (1)
- namespaces (1)
- negative? (1)
- negotiate (1)
- next (2)
-
next
_ update (1) -
next
_ update= (1) -
next
_ values (1) -
node
_ type (1) - norm (1)
- normalized= (1)
- notationdecl (1)
- notationdecl? (1)
- notify (2)
-
num
_ classes (1) -
num
_ classes= (1) -
num
_ files (1) -
num
_ files= (1) -
num
_ methods (1) -
num
_ methods= (1) -
num
_ modules (1) -
num
_ modules= (1) - numerator (5)
- oid (1)
- oid= (1)
-
on
_ default (1) -
open
_ uri _ or _ path (1) - outdated (1)
- p (1)
- pack (2)
- partition (1)
-
password
_ field (1) - path (6)
- path= (4)
-
path
_ info (2) -
path
_ info= (1) -
path
_ ok? (1) -
path
_ translated (1) - peek (1)
-
peek
_ values (1) - permutation (2)
- permutation? (1)
- phase (1)
- pid (1)
- pivots (1)
- prefix (1)
- prefixes (1)
-
prepend
_ features (1) - prime? (1)
-
prime
_ division (1) -
primitive
_ convert (4) - printf (1)
- private (1)
-
private
_ class _ method (1) -
private
_ constant (1) -
private
_ instance _ methods (1) -
private
_ method _ defined? (1) -
private
_ methods (1) -
processing
_ instruction (1) -
protected
_ methods (1) - prune (1)
- pubDate (4)
- pubDate= (4)
- public (1)
- public= (1)
-
public
_ key (1) -
public
_ key= (1) -
public
_ methods (1) -
push
_ all _ highest _ version _ gems _ on _ load _ path (1) -
push
_ gem _ version _ on _ load _ path (1) - pushd (1)
- pushdir (1)
- put (2)
- put2 (2)
- putbinaryfile (1)
-
quirks
_ mode (1) -
quirks
_ mode= (1) -
quirks
_ mode? (1) - quo (2)
- r (1)
-
radio
_ group (1) -
raw
_ data (2) -
read
_ all _ cache _ data (1) -
read
_ cache _ data (1) -
readable
_ atfer _ eof? (3) - realm (1)
- rectangular (1)
-
recvfrom
_ nonblock (1) - regular? (1)
- reject (4)
- reject! (2)
- relative? (1)
- remove (1)
-
remove
_ by _ name (1) -
remove
_ const (1) -
remove
_ spec (1) -
repeated
_ combination (1) -
repeated
_ permutation (2) - replicate (1)
- request (2)
-
request
_ get (2) -
request
_ head (2) -
request
_ post (2) -
request
_ put (2) - require (1)
-
require
_ path (1) -
require
_ path= (1) -
require
_ paths (1) -
require
_ paths= (1) -
required
_ ruby _ version (1) -
required
_ ruby _ version= (1) -
required
_ rubygems _ version (1) -
required
_ rubygems _ version= (1) - requirements (1)
- requirements= (1)
- reset (1)
-
reset
_ cache _ data (1) -
reset
_ cache _ for (1) -
respond
_ to _ missing? (2) - result (1)
-
return
_ format (1) -
return
_ format= (1) -
reverse
_ each (2) - rewind (2)
- rindex (1)
- round (5)
- route (1)
-
row
_ count (1) -
row
_ size (1) - ruby (1)
-
rubygems
_ version (1) -
rubygems
_ version= (1) - run (1)
-
runtime
_ dependencies (1) -
satisfied
_ by? (1) -
satisfies
_ requirement? (1) - saturday? (2)
- say (1)
- scan (1)
- scanf (2)
-
scrolling
_ list (1) - search (2)
-
search
_ with _ source (1) - select (5)
- select! (2)
-
send
_ request (1) -
server
_ cert (1) -
set
_ cache _ data (1) -
set
_ default _ paths (1) -
set
_ error (1) -
set
_ generator (1) -
set
_ redirect (1) - setuid? (2)
- sh (1)
- sign (1)
- signaled? (1)
-
signature
_ algorithm (3) - singular? (2)
- size (2)
-
slice
_ after (4) -
slice
_ before (5) -
slice
_ when (2) - solve (1)
-
sort
_ by (1) -
sort
_ by! (1) - source (1)
-
source
_ location (3) - spec (1)
-
spec
_ count (1) -
spec
_ path (1) - specification (1)
-
split
_ all (1) - square? (1)
-
start
_ element (1) - status (10)
- status= (1)
-
status
_ line (1) -
status
_ string (1) - step (7)
- stopped? (1)
- stopsig (1)
- strftime (2)
- struct (1)
- sub (6)
- sub! (4)
-
sub
_ ext (1) - subject (1)
- subject= (1)
-
subject
_ certificate (1) -
subject
_ certificate= (1) - submit (1)
- subsec (1)
- succ (5)
- success? (1)
- summary (1)
- summary= (1)
- sunday? (1)
-
sy
_ updateBase (1) -
sy
_ updateBase= (1) -
sy
_ updateFrequency (1) -
sy
_ updateFrequency= (1) -
sy
_ updatePeriod (1) -
sy
_ updatePeriod= (1) - system= (1)
- take (1)
-
take
_ while (4) -
terminate
_ interaction (2) - terminated? (1)
- termsig (1)
-
test
_ suite _ file (1) -
test
_ suite _ file= (1) -
text
_ field (1) - textarea (1)
- thursday? (1)
- times (1)
-
to
_ a (3) -
to
_ ary (3) -
to
_ binary (1) -
to
_ der (1) -
to
_ enum (4) -
to
_ i (1) -
to
_ json (2) -
to
_ ruby (1) -
to
_ s (3) -
to
_ string (1) -
transform
_ values (1) -
transform
_ values! (1) - truncate (13)
-
try
_ file (1) -
tsort
_ each (1) -
tty
_ output= (1) - tuesday? (1)
- uid (1)
-
uid
_ fetch (1) -
uid
_ store (1) - union (1)
- uniq (2)
-
unit
_ test (1) - unitary? (1)
-
unix
_ path (1) -
unix
_ rights (1) - unlink (4)
- unlock (1)
-
unmatched
_ alias _ lists (1) -
unmatched
_ alias _ lists= (1) - unpack (2)
- unpack1 (1)
- update (17)
-
update
_ checksum (1) -
update
_ sources (1) -
update
_ sources= (1) - updated (3)
-
upper
_ bound (1) -
upper
_ bound= (1) -
upper
_ triangular? (1) - upto (3)
- userdb (1)
- utime (6)
- v (1)
-
v
_ inv (1) - value (5)
- value= (2)
-
values
_ at (10) -
verify
_ data (1) -
verify
_ data= (1) -
verify
_ gem (1) - visibility (2)
-
which
_ to _ update (1) -
with
_ index (4) -
with
_ object (4) - write (6)
-
write
_ require _ paths _ file _ if _ needed (1) - xpath (1)
- yield (1)
- zip (2)
検索結果
先頭5件
-
Matrix
:: LUPDecomposition # u -> Matrix (63607.0) -
LUP分解の上半行列部分を返します。
LUP分解の上半行列部分を返します。 -
Gem
:: RequirePathsBuilder # write _ require _ paths _ file _ if _ needed(spec = @spec , gem _ home = @gem _ home) (63604.0) -
必要であれば、'.require_paths' というファイルを Gem ごとに作成します。
必要であれば、'.require_paths' というファイルを Gem ごとに作成します。 -
Array
# repeated _ permutation(n) -> Enumerator (55204.0) -
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
得られる順列の順序は保証されません。ブロックなしで呼び出されると, 順列
を生成する Enumerator オブジェクトを返します。
@param n 生成する配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
//emlist[例][ruby... -
REXML
:: Attributes # each _ attribute {|attribute| . . . } -> () (55204.0) -
各属性に対しブロックを呼び出します。
各属性に対しブロックを呼び出します。
個々の属性は REXML::Attribute オブジェクトで渡されます。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='<'/>
</root>
EOS
a = doc.get_elements("/root... -
REXML
:: Attributes # get _ attribute(name) -> Attribute | nil (55204.0) -
name という名前の属性を取得します。
name という名前の属性を取得します。
name という名前を持つ属性がない場合は nil を返します。
@param name 属性名(文字列)
@see REXML::Attributes#[]
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<-EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='... -
REXML
:: Attributes # get _ attribute _ ns(namespace , name) -> REXML :: Attribute | nil (55204.0) -
namespace と name で特定される属性を返します。
namespace と name で特定される属性を返します。
namespace で名前空間を、 name で prefix を含まない属性名を
指定します。
指定された属性が存在しない場合は nil を返します。
XML プロセッサが prefix を置き換えてしまった場合でも、このメソッドを
使うことで属性を正しく指定することができます。
@param namespace 名前空間(URI, 文字列)
@param name 属性名(文字列)
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.ne... -
Array
# repeated _ permutation(n) { |p| . . . } -> self (54904.0) -
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
得られる順列の順序は保証されません。ブロックなしで呼び出されると, 順列
を生成する Enumerator オブジェクトを返します。
@param n 生成する配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
//emlist[例][ruby... -
MatchData
# values _ at(*index) -> [String] (54697.0) -
正規表現中の n 番目の括弧にマッチした部分文字列の配列を返します。
正規表現中の n 番目の括弧にマッチした部分文字列の配列を返します。
0 番目は $& のようにマッチした文字列全体を表します。
@param index インデックスを整数またはシンボル(名前付きキャプチャの場合)で 0 個以上指定します。
//emlist[例][ruby]{
m = /(foo)(bar)(baz)/.match("foobarbaz")
# same as m.to_a.values_at(...)
p m.values_at(0, 1, 2, 3, 4) # => ["foobarbaz", "foo", "bar", "baz", nil]
p m... -
Gem
:: Commands :: UpdateCommand # do _ rubygems _ update(version) (54604.0) -
RubyGems 自体を更新します。
RubyGems 自体を更新します。 -
Gem
:: Commands :: UpdateCommand # which _ to _ update(highest _ installed _ gems , gem _ names) -> Array (54604.0) -
更新が必要な Gem のリストを返します。
更新が必要な Gem のリストを返します。 -
Gem
:: InstallUpdateOptions # add _ install _ update _ options (54604.0) -
インストールとアップデートに関するオプションを追加します。
インストールとアップデートに関するオプションを追加します。 -
Gem
:: InstallUpdateOptions # install _ update _ defaults _ str -> String (54604.0) -
Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。
Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。
デフォルトのオプションは以下の通りです。
--rdoc --no-force --no-test --wrappers -
Process
:: Status # exitstatus -> Integer | nil (54604.0) -
exited? が真の場合プロセスが返した終了ステータスの整数を、そ うでない場合は nil を返します。
exited? が真の場合プロセスが返した終了ステータスの整数を、そ
うでない場合は nil を返します。 -
WEBrick
:: HTTPAuth :: BasicAuth # authenticate(request , response) -> bool (54604.0) -
クライアントから送られてきたユーザ名とパスワードを認証します。 認証に失敗した場合は challenge を呼びます。
クライアントから送られてきたユーザ名とパスワードを認証します。
認証に失敗した場合は challenge を呼びます。
@param request WEBrick::HTTPRequest のインスタンスを指定します。
@param response WEBrick::HTTPResponse のインスタンスを指定します。
@raise WEBrick::HTTPStatus::Unauthorized 認証に失敗した場合に発生します。 -
WEBrick
:: HTTPAuth :: DigestAuth # authenticate(request , response) -> true (54604.0) -
クライアントから送られてきたユーザ名とパスワードを認証します。 認証に失敗した場合は challenge を呼びます。
クライアントから送られてきたユーザ名とパスワードを認証します。
認証に失敗した場合は challenge を呼びます。
@param request WEBrick::HTTPRequest のインスタンスを指定します。
@param response WEBrick::HTTPResponse のインスタンスを指定します。
@raise WEBrick::HTTPStatus::Unauthorized 認証に失敗した場合に発生します。 -
Rake
:: Application # tty _ output=(tty _ output _ state) (46504.0) -
TTY に対する出力状態を上書きします。
TTY に対する出力状態を上書きします。
大抵の場合、テストのために使用します。
@param tty_output_state 変更後の状態を指定します
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.tty_output? # => false
Rake.application.tty_output = "debug output" # => "debug output"
... -
Gem
:: Specification # require _ path=(path) (45904.0) -
Gem::Specification#require_paths= の単数バージョンです。
Gem::Specification#require_paths= の単数バージョンです。
@param path この Gem パッケージを使用した際に require するファイルが置かれているディレクトリを指定します。
@see Gem::Specification#require_paths= -
Gem
:: Specification # require _ paths=(paths) (45904.0) -
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ のリストをセットします。
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストをセットします。
@param paths この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストを指定します。 -
Matrix
# adjugate -> Matrix (45904.0) -
余因子行列を返します。
余因子行列を返します。
//emlist[例][ruby]{
require 'matrix'
Matrix[[7,6],[3,9]].adjugate # => Matrix[[9, -6], [-3, 7]]
//}
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方でない場合に発生します。
@see Matrix#cofactor -
CGI
:: QueryExtension # path _ translated -> String (45604.0) -
ENV['PATH_TRANSLATED'] を返します。
ENV['PATH_TRANSLATED'] を返します。 -
Date
# saturday? -> bool (45604.0) -
土曜日なら真を返します。
土曜日なら真を返します。 -
Float
# numerator -> Integer (45604.0) -
自身を Rational に変換した時の分子を返します。
自身を Rational に変換した時の分子を返します。
@return 分子を返します。
//emlist[例][ruby]{
2.0.numerator # => 2
0.5.numerator # => 1
//}
@see Float#denominator -
Gem
:: Package :: TarOutput # add _ signatures (45604.0) -
gem-format な tar ファイルに data.tar.gz.sig, metadata.gz.sig を追加します。
gem-format な tar ファイルに data.tar.gz.sig, metadata.gz.sig を追加します。
@see Gem::Security::Signer -
Gem
:: SourceIndex # gem _ signature(gem _ full _ name) -> String (45604.0) -
与えられた名前を持つ Gem の SHA256 ダイジェストを返します。
与えられた名前を持つ Gem の SHA256 ダイジェストを返します。
@param gem_full_name Gem の名前を指定します。 -
Gem
:: SourceIndex # index _ signature -> String (45604.0) -
ソースインデックスの SHA256 ダイジェストを返します。
ソースインデックスの SHA256 ダイジェストを返します。
この値はインデックスが変更されると変化します。 -
Gem
:: SourceInfoCache # latest _ cache _ data -> Hash (45604.0) -
最新のキャッシュデータを返します。
最新のキャッシュデータを返します。 -
Gem
:: Specification # full _ gem _ path -> String (45604.0) -
この Gem パッケージへのフルパスを返します。
この Gem パッケージへのフルパスを返します。 -
Gem
:: Specification # require _ path -> String (45604.0) -
Gem::Specification#require_paths の単数バージョンです。
Gem::Specification#require_paths の単数バージョンです。
@see Gem::Specification#require_paths -
Gem
:: Specification # require _ paths -> [String] (45604.0) -
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ のリストを返します。
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストを返します。 -
Gem
:: Specification # satisfies _ requirement?(dependency) -> bool (45604.0) -
この Gem パッケージが与えられた依存関係を満たすかどうかを返します。
この Gem パッケージが与えられた依存関係を満たすかどうかを返します。
依存関係を満たす場合は真を返します。そうでない場合は偽を返します。
@param dependency チェックしたい依存関係を指定します。
@see Gem::Dependency -
Matrix
# permutation? -> bool (45604.0) -
行列が置換行列ならば true を返します。
行列が置換行列ならば true を返します。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します -
Numeric
# numerator -> Integer (45604.0) -
自身を Rational に変換した時の分子を返します。
自身を Rational に変換した時の分子を返します。
@return 分子を返します。
@see Numeric#denominator、Integer#numerator、Float#numerator、Rational#numerator、Complex#numerator -
OpenSSL
:: X509 :: Certificate # signature _ algorithm -> String (45604.0) -
発行者 (CA) が証明書に署名するのに使ったアルゴリズムです。
発行者 (CA) が証明書に署名するのに使ったアルゴリズムです。 -
Pathname
# truncate(length) -> 0 (45604.0) -
File.truncate(self.to_s, length) と同じです。
File.truncate(self.to_s, length) と同じです。
@param length 変更したいサイズを整数で与えます。
@see File.truncate -
RSS
:: SyndicationModel # sy _ updateBase (45604.0) -
@todo
@todo -
RSS
:: SyndicationModel # sy _ updateBase= (45604.0) -
@todo
@todo -
RSS
:: SyndicationModel # sy _ updateFrequency (45604.0) -
@todo
@todo -
RSS
:: SyndicationModel # sy _ updateFrequency= (45604.0) -
@todo
@todo -
RSS
:: SyndicationModel # sy _ updatePeriod (45604.0) -
@todo
@todo -
RSS
:: SyndicationModel # sy _ updatePeriod= (45604.0) -
@todo
@todo -
Rational
# numerator -> Integer (45604.0) -
分子を返します。
分子を返します。
@return 分子を返します。
//emlist[例][ruby]{
Rational(7).numerator # => 7
Rational(7, 1).numerator # => 7
Rational(9, -4).numerator # => -9
Rational(-2, -10).numerator # => 1
//}
@see Rational#denominator -
Scanf
:: FormatString # matched _ count (45604.0) -
@todo
@todo -
Thread
:: Backtrace :: Location # absolute _ path -> String (45604.0) -
self が表すフレームの絶対パスを返します。
self が表すフレームの絶対パスを返します。
//emlist[例][ruby]{
# foo.rb
class Foo
attr_accessor :locations
def initialize(skip)
@locations = caller_locations(skip)
end
end
Foo.new(0..2).locations.map do |call|
puts call.absolute_path
end
# => /path/to/foo.rb
# /path/to/foo.rb
# /path/to/foo.rb
//}
@see... -
UnboundMethod
# source _ location -> [String , Integer] | nil (45604.0) -
ソースコードのファイル名と行番号を配列で返します。
...nil を返します。
//emlist[例][ruby]{
require 'time'
Time.instance_method(:zone).source_location # => nil
Time.instance_method(:httpdate).source_location # => ["/Users/user/.rbenv/versions/2.4.3/lib/ruby/2.4.0/time.rb", 654]
//}
@see Proc#source_location, Method#source_location... -
Net
:: IMAP :: StatusData # attr -> { String => Integer } (45304.0) -
STATUS 応答の内容をハッシュで返します。
STATUS 応答の内容をハッシュで返します。
ハッシュのキーは
"MESSAGES", "RECENT", "UIDNEXT", "UIDVALIDITY", "UNSEEN"
などが使われます。
詳しくは 2060 の 6.3.10、7.2.4 を見てください。 -
OpenSSL
:: X509 :: Request # add _ attribute(attr) -> OpenSSL :: X509 :: Attribute (37504.0) -
新たな attribute を CSR に追加します。
新たな attribute を CSR に追加します。
@param attr 追加する attribute(OpenSSL::X509::Attribute の
インスタンス)
@return 渡した attribute オブジェクトを返します
@see OpenSSL::X509::Request#attribute,
OpenSSL::X509::Request#attribute= -
Array
# repeated _ combination(n) -> Enumerator (37204.0) -
サイズ n の重複組み合わせをすべて生成し、それを引数としてブロックを実行 します。
サイズ n の重複組み合わせをすべて生成し、それを引数としてブロックを実行
します。
得られる組み合わせの順序は保証されません。ブロックなしで呼び出されると、
組み合わせを生成する Enumerator オブジェクトを返します。
@param n 生成される配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
//emli... -
Gem
:: ConfigFile # update _ sources=(update _ sources) (37204.0) -
Gem::SourceInfoCache を毎回更新するかどうか設定します。
Gem::SourceInfoCache を毎回更新するかどうか設定します。
@param update_sources 真を指定すると毎回 Gem::SourceInfoCache を更新します。 -
OpenSSL
:: OCSP :: BasicResponse # add _ status(cid , status , reason , revtime , thisupd , nextupd , exts) -> self (37204.0) -
証明書の状態の問い合わせの結果をオブジェクトに追加します。
証明書の状態の問い合わせの結果をオブジェクトに追加します。
詳しくは OpenSSL::OCSP::BasicResponse#status を見てください。
@param cid 問い合わせの(OpenSSL::OCSP::CertificateId オブジェクト)
@param status ステータスコード(整数)
@param reason 失効理由コード(整数)
@param revtime 失効時刻(Time オブジェクトもしくは nil)
@param thisupd 最終更新時刻(Time オブジェクト)
@param nextupd 次回更新時刻(Time オブジェクト)... -
OpenSSL
:: X509 :: Request # attributes -> [OpenSSL :: X509 :: Attribute] (37204.0) -
CSR が保持している attribute を OpenSSL::X509::Attribute の配列で返します。
CSR が保持している attribute を OpenSSL::X509::Attribute
の配列で返します。
attribute とは X.509 証明書署名要求 に含まれる申請者に関する
追加的な情報です。必須ではありません。X.509v3 拡張領域を
CSR に含めるときは "reqExt" という oid の attribute を追加
します。
@see OpenSSL::X509::Request#attribute=,
OpenSSL::X509::Request#add_attribute -
PTY
:: ChildExited # status -> Process :: Status (37204.0) -
子プロセスの終了ステータスをProcess::Statusオブジェクトで返します。
子プロセスの終了ステータスをProcess::Statusオブジェクトで返します。 -
RDoc
:: Context # add _ attribute(an _ attribute) -> () (37204.0) -
引数で指定した RDoc::Attr オブジェクトを追加します。
引数で指定した RDoc::Attr オブジェクトを追加します。
@param an_attribute RDoc::Attr オブジェクトを指定します。 -
RDoc
:: Markup # attribute _ manager -> RDoc :: AttributeManager (37204.0) -
自身の RDoc::AttributeManager オブジェクトを返します。
自身の RDoc::AttributeManager オブジェクトを返します。 -
REXML
:: DocType # attribute _ of(element , attribute) -> String | nil (37204.0) -
DTD 内の属性リスト宣言で、 element という名前の要素の attribute という 名前の属性のデフォルト値を返します。
DTD 内の属性リスト宣言で、 element という名前の要素の attribute という
名前の属性のデフォルト値を返します。
elementという名前の要素の属性値は宣言されていない、
elementという名前の要素にはattributeという名前の属性が宣言されていない、
もしくはデフォルト値が宣言されていない、のいずれかの場合は nil を返します。
@param element 要素名(文字列)
@param attribute 属性名(文字列)
//emlist[][ruby]{
require 'rexml/document'
doctype = REXML::Doc... -
REXML
:: DocType # attributes _ of(element) -> [REXML :: Attribute] (37204.0) -
DTD 内の属性リスト宣言で、 element という名前の要素に対し宣言されている 属性の名前とデフォルト値を REXML::Attribute の配列で返します。
DTD 内の属性リスト宣言で、 element という名前の要素に対し宣言されている
属性の名前とデフォルト値を REXML::Attribute の配列で返します。
名前とデフォルト値のペアは、各 Attribute オブジェクトの
REXML::Attribute#name と
REXML::Attribute#value で表現されます。
//emlist[][ruby]{
require 'rexml/document'
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE books [
<!ELEMENT book (c... -
REXML
:: Element # attribute(name , namespace = nil) -> REXML :: Attribute | nil (37204.0) -
name で指定される属性を返します。
name で指定される属性を返します。
属性は REXML::Attribute オブジェクトの形で返します。
name は "foo:bar" のように prefix を指定することができます。
namespace で名前空間の URI を指定することで、その名前空間内で
name という属性名を持つ属性を指定できます。
指定した属性名の属性がない場合は nil を返します。
@param name 属性名(文字列)
@param namespace 名前空間のURI(文字列)
//emlist[][ruby]{
require 'rexml/document'
doc = R... -
REXML
:: Element # attributes -> REXML :: Attributes (37204.0) -
要素が保持している属性の集合を返します。
要素が保持している属性の集合を返します。 -
REXML
:: Element # delete _ attribute(key) -> REXML :: Attribute | nil (37204.0) -
要素から key という属性名の属性を削除します。
要素から key という属性名の属性を削除します。
削除された属性を返します。
key という属性名の属性が存在しない場合は削除されずに、nil を返します。
@param key 削除する要素(文字列(属性名) or REXML::Attributeオブジェクト)
//emlist[][ruby]{
require 'rexml/document'
e = REXML::Element.new("E")
e.add_attribute("x", "foo"); e # => <E x='foo'/>
e.add_attribute("y:x", "bar"); e # => <E x... -
WEBrick
:: HTTPResponse # status=(status) (37204.0) -
レスポンスのステータスコードを整数で指定します。 reason_phrase も適切なものに設定されます。
レスポンスのステータスコードを整数で指定します。
reason_phrase も適切なものに設定されます。
@param status ステータスコードを整数で指定します。
require 'webrick'
res = WEBrick::HTTPResponse.new( { :HTTPVersion => "1.1" } )
res.status = 404
p res.reason_phrase #=> "Not Found" -
Array
# permutation(n = self . length) -> Enumerator (36904.0) -
サイズ n の順列をすべて生成し,それを引数としてブロックを実行します。
サイズ n の順列をすべて生成し,それを引数としてブロックを実行します。
引数を省略した場合は配列の要素数と同じサイズの順列に対してブロックを実
行します。
得られる順列の順序は保証されません。ブロックなしで呼び出されると, 順列
を生成する Enumerator オブジェクトを返します。
@param n 生成する配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
... -
CSV
# truncate(path , length) -> 0 (36904.0) -
File#truncate に委譲します。
File#truncate に委譲します。
@see File#truncate -
Enumerator
:: Lazy # collect _ concat {|item| . . . } -> Enumerator :: Lazy (36904.0) -
ブロックの実行結果をひとつに繋げたものに対してイテレートするような Enumerator::Lazy のインスタンスを返します。
ブロックの実行結果をひとつに繋げたものに対してイテレートするような
Enumerator::Lazy のインスタンスを返します。
//emlist[][ruby]{
["foo", "bar"].lazy.flat_map {|i| i.each_char.lazy}.force
#=> ["f", "o", "o", "b", "a", "r"]
//}
ブロックの返した値 x は、以下の場合にのみ分解され、連結されます。
* x が配列であるか、to_ary メソッドを持つとき
* x が each および force メソッドを持つ (例:Enumerator::Lazy) ... -
Enumerator
:: Lazy # enum _ for(method = :each , *args) -> Enumerator :: Lazy (36904.0) -
Object#to_enum と同じですが、Enumerator::Lazy を返します。
Object#to_enum と同じですが、Enumerator::Lazy を返します。
to_enum は「ブロック付きで呼ぶとループを実行し、ブロックを省略した場合は
Enumerator を返す」ようなメソッドを定義するときによく使われます。
このときに lazy 性が正しく引き継がれるように、Lazy#to_enum は
素のEnumerator ではなく Enumerator::Lazy を返すようになっています。
//emlist[例][ruby]{
module Enumerable
# 要素をn回ずつ繰り返すメソッド
# 例:[1,2,3].repeat(2) ... -
Enumerator
:: Lazy # enum _ for(method = :each , *args) {|*args| block} -> Enumerator :: Lazy (36904.0) -
Object#to_enum と同じですが、Enumerator::Lazy を返します。
Object#to_enum と同じですが、Enumerator::Lazy を返します。
to_enum は「ブロック付きで呼ぶとループを実行し、ブロックを省略した場合は
Enumerator を返す」ようなメソッドを定義するときによく使われます。
このときに lazy 性が正しく引き継がれるように、Lazy#to_enum は
素のEnumerator ではなく Enumerator::Lazy を返すようになっています。
//emlist[例][ruby]{
module Enumerable
# 要素をn回ずつ繰り返すメソッド
# 例:[1,2,3].repeat(2) ... -
Enumerator
:: Lazy # flat _ map {|item| . . . } -> Enumerator :: Lazy (36904.0) -
ブロックの実行結果をひとつに繋げたものに対してイテレートするような Enumerator::Lazy のインスタンスを返します。
ブロックの実行結果をひとつに繋げたものに対してイテレートするような
Enumerator::Lazy のインスタンスを返します。
//emlist[][ruby]{
["foo", "bar"].lazy.flat_map {|i| i.each_char.lazy}.force
#=> ["f", "o", "o", "b", "a", "r"]
//}
ブロックの返した値 x は、以下の場合にのみ分解され、連結されます。
* x が配列であるか、to_ary メソッドを持つとき
* x が each および force メソッドを持つ (例:Enumerator::Lazy) ... -
Enumerator
:: Lazy # to _ enum(method = :each , *args) -> Enumerator :: Lazy (36904.0) -
Object#to_enum と同じですが、Enumerator::Lazy を返します。
Object#to_enum と同じですが、Enumerator::Lazy を返します。
to_enum は「ブロック付きで呼ぶとループを実行し、ブロックを省略した場合は
Enumerator を返す」ようなメソッドを定義するときによく使われます。
このときに lazy 性が正しく引き継がれるように、Lazy#to_enum は
素のEnumerator ではなく Enumerator::Lazy を返すようになっています。
//emlist[例][ruby]{
module Enumerable
# 要素をn回ずつ繰り返すメソッド
# 例:[1,2,3].repeat(2) ... -
Enumerator
:: Lazy # to _ enum(method = :each , *args) {|*args| block} -> Enumerator :: Lazy (36904.0) -
Object#to_enum と同じですが、Enumerator::Lazy を返します。
Object#to_enum と同じですが、Enumerator::Lazy を返します。
to_enum は「ブロック付きで呼ぶとループを実行し、ブロックを省略した場合は
Enumerator を返す」ようなメソッドを定義するときによく使われます。
このときに lazy 性が正しく引き継がれるように、Lazy#to_enum は
素のEnumerator ではなく Enumerator::Lazy を返すようになっています。
//emlist[例][ruby]{
module Enumerable
# 要素をn回ずつ繰り返すメソッド
# 例:[1,2,3].repeat(2) ... -
Gem
:: RemoteFetcher # get _ file _ uri _ path(uri) -> String (36904.0) -
与えられた URI から "file://" を取り除いた文字列を返します。
与えられた URI から "file://" を取り除いた文字列を返します。
@param uri URI を表す文字列を指定します。 -
Gem
:: RemoteFetcher # open _ uri _ or _ path(uri , last _ modified = nil , head = false , depth = 0) -> StringIO | File (36904.0) -
@param uri URI を指定します。
@param uri URI を指定します。
@param last_modified 最終更新時刻を指定します。
@param head 真を指定するとヘッダ情報のみ取得します。
@param depth 現在のリダイレクト回数を指定します。
@raise Gem::RemoteFetcher::FetchError デフォルトでは 11 回リダイレクトした場合に発生します。
depth を指定すると 10 - depth 回より多くリダイレクトした場合にこの例外が発生するようになります。
また HTTP のレスポンスが想定外のものの場合にも発生します。... -
Integer
# truncate(ndigits = 0) -> Integer | Float (36904.0) -
0 から self までの整数で、自身にもっとも近い整数を返します。
0 から self までの整数で、自身にもっとも近い整数を返します。
@param ndigits 10進数での小数点以下の有効桁数を整数で指定します。
正の整数を指定した場合、Float を返します。
小数点以下を、最大 n 桁にします。
負の整数を指定した場合、Integer を返します。
小数点位置から左に少なくとも n 個の 0 が並びます。
//emlist[][ruby]{
1.truncate # => 1
1.truncate(2) ... -
Matrix
:: EigenvalueDecomposition # eigenvalue _ matrix -> Matrix (36904.0) -
固有値を対角成分に並べた行列を返します。
固有値を対角成分に並べた行列を返します。 -
Net
:: IMAP # authenticate(auth _ type , user , password) -> Net :: IMAP :: TaggedResponse (36904.0) -
AUTHENTICATE コマンドを送り、クライアントを認証します。
AUTHENTICATE コマンドを送り、クライアントを認証します。
auth_type で利用する認証方式を文字列で指定します。
例:
imap.authenticate('LOGIN', user, password)
auth_type としては以下がサポートされています。
* "LOGIN"
* "PLAIN"
* "CRAM-MD5"
* "DIGEST-MD5"
@param auth_type 認証方式を表す文字列
@param user ユーザ名文字列
@param password パスワード文字列
@see Net::IMAP#login -
Net
:: IMAP # status(mailbox , attr) -> {String => Integer} (36904.0) -
STATUS コマンドを送り、mailbox のステータスを得ます。
STATUS コマンドを送り、mailbox のステータスを得ます。
問い合わせたいステータスは attr に文字列の配列で渡します。
返り値は アトリビュート文字列をキーとするハッシュです。
詳しくは 2060 の 6.3.10 を参考にしてください。
例:
p imap.status("inbox", ["MESSAGES", "RECENT"])
#=> {"RECENT"=>0, "MESSAGES"=>44}
@param mailbox 問い合わせ対象のメールボックス(文字列)
@param attr 問合せたいアトリビュート名(文字列)の配列
@raise Ne... -
Net
:: SMTP # authenticate(user , secret , authtype) -> () (36904.0) -
認証を行います。
認証を行います。
このメソッドはセッション開始(Net::SMTP#start)後、
メールを送る前に呼びだしてください。
通常は Net::SMTP.start や Net::SMTP#start で認証を
行うためこれを利用する必要はないはずです。
@param user 認証で使うアカウント名
@param secret 認証で使うパスワード
@param authtype 認証の種類(:plain, :login, :cram_md5 のいずれか)
@see Net::SMTP.start, Net::SMTP#start, Net::SMTP#auth_plain, Net:... -
OpenSSL
:: Cipher # update(data) -> String (36904.0) -
渡された文字列を暗号化もしくは復号化して文字列として返します。
渡された文字列を暗号化もしくは復号化して文字列として返します。
どちらがなされるかは直前に OpenSSL::Cipher#encrypt もしくは
OpenSSL::Cipher#decrypt のいずれが呼びだされたかに
よって決まります。
ブロック暗号を利用する場合は、暗号化/復号化はブロックサイズで規定された
バイト数ごとに行われます。そのため余ったデータは暗号オブジェクト内部に
保存され、次の文字列が渡されたときに使われます。
暗号化/復号化すべきデータを渡し終えた後は、
OpenSSL::Cipher#final
を呼びだして暗号オブジェクト内部に残されたデータを暗号化... -
OpenSSL
:: OCSP :: BasicResponse # status -> [[OpenSSL :: OCSP :: CertificateId , Integer , Integer , Time|nil , Time , Time|nil , [OpenSSL :: X509 :: Extension]]] (36904.0) -
証明書の状態の問い合わせの結果を返します。
証明書の状態の問い合わせの結果を返します。
この返り値には複数の問い合わせ結果が含まれています。
個々の結果は以下の内容の配列です。
[ 問い合わせの CertificateId オブジェクト,
ステータスコード,
失効理由コード,
失効時刻,
最終更新時刻,
次回更新時刻,
拡張領域 ]
ステータスコードはいかのいずれかの値を取ります
* OpenSSL::OCSP::V_CERTSTATUS_GOOD 正常
* OpenSSL::OCSP::V_CERTSTATUS_REVOKED 失効
* OpenSSL::OCSP::... -
OpenSSL
:: X509 :: ExtensionFactory # issuer _ certificate -> OpenSSL :: X509 :: Certificate | nil (36904.0) -
自身に設定されている発行者(issuer)の証明書オブジェクトを返します。
自身に設定されている発行者(issuer)の証明書オブジェクトを返します。
証明書が設定されていない場合は nil を返します。 -
OpenSSL
:: X509 :: ExtensionFactory # subject _ certificate -> OpenSSL :: X509 :: Certificate | nil (36904.0) -
自身に設定されている所有者(subject)の証明書オブジェクトを返します。
自身に設定されている所有者(subject)の証明書オブジェクトを返します。
証明書が設定されていない場合は nil を返します。 -
OpenSSL
:: X509 :: Request # attributes=(attrs) (36904.0) -
CSR の attribute をクリアして新しい attribute を設定します。
CSR の attribute をクリアして新しい attribute を設定します。
@param attrs 新たに設定する attribute(OpenSSL::X509::Attribute の
インスタンス)の配列
@see OpenSSL::X509::Request#attribute
OpenSSL::X509::Request#add_attribute -
RDoc
:: Context # attributes -> [RDoc :: Attr] (36904.0) -
追加された RDoc::Attr の配列を返します。
追加された RDoc::Attr の配列を返します。 -
RDoc
:: Context # each _ attribute {|a| . . . } -> [RDoc :: Attr] (36904.0) -
追加された RDoc::Attr に対してブロックを評価します。
追加された RDoc::Attr に対してブロックを評価します。 -
REXML
:: Element # add _ attribute(attr) -> () (36904.0) -
要素の属性を追加します。 同じ名前の属性がすでにある場合はその属性を新しい 属性で置き換えます。
要素の属性を追加します。
同じ名前の属性がすでにある場合はその属性を新しい
属性で置き換えます。
引数の与えかたは2通りあります。
要素名と値の2つの文字列で渡す方法と REXML::Attribute オブジェクトを
渡す方法です。
文字列2つで指定する場合、属性値は unnormalized な文字列を渡す必要があります。
@param key 属性名(文字列)
@param value 属性値(文字列)
@param attr 属性(REXML::Attribute オブジェクト)
//emlist[][ruby]{
require 'rexml/document'
doc = ... -
REXML
:: Element # add _ attributes(attrs) -> () (36904.0) -
要素の属性を複数追加します。 同じ名前の属性がすでにある場合はその属性を新しい 属性で置き換えます。
要素の属性を複数追加します。
同じ名前の属性がすでにある場合はその属性を新しい
属性で置き換えます。
attrs には Hash もしくは Array を指定できます。
Hash の場合は、
{ "name1" => "value1", "name2" => "value2", ... }
という形で、配列の場合は
[ ["name1", "value1"], ["name2", "value2"], ... }
という形で追加/更新する属性を指定します。
@param attrs 追加する属性の属性名と属性値の対の集合(Array or Hash)
//emlist[][rub... -
Shell
# truncate(path , length) -> 0 (36904.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate -
Shell
:: CommandProcessor # truncate(path , length) -> 0 (36904.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate -
Shell
:: Filter # truncate(path , length) -> 0 (36904.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate -
Array
# values _ at(*selectors) -> Array (36751.0) -
引数で指定されたインデックスに対応する要素を配列で返します。インデッ クスに対応する値がなければ nil が要素になります。
引数で指定されたインデックスに対応する要素を配列で返します。インデッ
クスに対応する値がなければ nil が要素になります。
@param selectors インデックスを整数もしくは整数の Range で指定します。
//emlist[例][ruby]{
ary = %w( a b c d e )
p ary.values_at( 0, 2, 4 ) #=> ["a", "c", "e"]
p ary.values_at( 3, 4, 5, 6, 35 ) #=> ["d", "e", nil, nil, nil]
p ary.values_at( 0, -1,... -
CSV
:: Table # values _ at(indices _ or _ headers) -> Array (36643.0) -
デフォルトのミックスモードでは、インデックスのリストを与えると行単位の 参照を行い、行の配列を返します。他の方法は列単位の参照と見なします。行 単位の参照では、返り値は行ごとの配列を要素に持つ配列です。
デフォルトのミックスモードでは、インデックスのリストを与えると行単位の
参照を行い、行の配列を返します。他の方法は列単位の参照と見なします。行
単位の参照では、返り値は行ごとの配列を要素に持つ配列です。
探索方法を変更したい場合は CSV::Table#by_col!,
CSV::Table#by_row! を使用してください。
アクセスモードを混在させることはできません。
//emlist[例 ロウモード][ruby]{
require "csv"
row1 = CSV::Row.new(["header1", "header2"], ["row1_1", "row1_2"])
r... -
GDBM
# values _ at(*keys) -> [String] (36643.0) -
keys に対応する値を配列に格納して返します。
keys に対応する値を配列に格納して返します。
@param keys キー。複数指定可能です。
require 'gdbm'
db1 = GDBM.open('aaa.gdbm', 0666, GDBM::NEWDB)
db1['a'] = 'aaa'
db1['b'] = 'bbb'
db1['c'] = 'ccc'
p db1.values_at('a', 'b') #=> ["aaa", "bbb"]
p db1.values_at('x', 'y') #=> [nil, nil] -
Hash
# values _ at(*keys) -> [object] (36643.0) -
引数で指定されたキーに対応する値の配列を返します。
引数で指定されたキーに対応する値の配列を返します。
キーに対応する要素がなければデフォルト値が使用されます。
@param keys キーを 0 個以上指定します。
@return 引数で指定されたキーに対応する値の配列を返します。
引数が指定されなかった場合は、空の配列を返します。
//emlist[例][ruby]{
h = {1=>"a", 2=>"b", 3=>"c"}
p h.values_at(1,3,4) #=> ["a", "c", nil]
# [h[1], h[3] ,h[4]] と同じ
//}
@see Hash#... -
DBM
# values _ at(*keys) -> [String] (36625.0) -
keys に対応する値を配列に格納して返します。
keys に対応する値を配列に格納して返します。
@param keys キー。複数指定可能です。
require 'dbm'
db1 = DBM.open('aaa.db', 0666, DBM::NEWDB)
db1[:a] = 'aaa'
db1[:b] = 'bbbbbb'
p db1.values_at('a', 'b') #=> ["aaa", "bbbbbb"] -
SDBM
# values _ at(*keys) -> [String] (36625.0) -
keys に対応する値を配列に格納して返します。
keys に対応する値を配列に格納して返します。
@param keys キー。複数指定可能です。
require 'sdbm'
db1 = SDBM.open('aaa.gdbm', 0666)
db1['a'] = 'aaa'
db1['b'] = 'bbb'
db1['c'] = 'ccc'
p db1.values_at('a', 'b') #=> ["aaa", "bbb"] -
Struct
# values _ at(*members) -> [object] (36625.0) -
引数で指定されたメンバの値の配列を返します。
引数で指定されたメンバの値の配列を返します。
@param members Integer か Range でメンバのインデックスを指定します。
@raise IndexError member が整数で存在しないメンバを指定した場合に発生します。
//emlist[例][ruby]{
Foo = Struct.new(:foo, :bar, :baz)
obj = Foo.new('FOO', 'BAR', 'BAZ')
p obj.values_at(0, 1, 2) # => ["FOO", "BAR", "BAZ"]
//}
[注意] 本メソッドの記述は Struct の... -
YAML
:: DBM # values _ at(*keys) -> [object] (36607.0) -
keys に対応する値を配列に格納して返します。
keys に対応する値を配列に格納して返します。
対応するキーが見つからなかった要素には nil が格納されます。
@param keys キーを文字列で指定します。複数指定することができます。 -
Addrinfo
# unix _ path -> String (36604.0) -
Unix domain socket の path を文字列で返します。
Unix domain socket の path を文字列で返します。
require 'socket'
Addrinfo.unix("/tmp/sock").unix_path #=> "/tmp/sock"
@raise SocketError アドレスが Unix domain socket のものでない場合に発生します -
Array
# permutation(n = self . length) { |p| block } -> self (36604.0) -
サイズ n の順列をすべて生成し,それを引数としてブロックを実行します。
サイズ n の順列をすべて生成し,それを引数としてブロックを実行します。
引数を省略した場合は配列の要素数と同じサイズの順列に対してブロックを実
行します。
得られる順列の順序は保証されません。ブロックなしで呼び出されると, 順列
を生成する Enumerator オブジェクトを返します。
@param n 生成する配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
... -
BigDecimal
# truncate -> Integer (36604.0) -
小数点以下の数を切り捨てて整数にします。
小数点以下の数を切り捨てて整数にします。
@param n 小数点以下の桁数を整数で指定します。
以下のように引数を与えて、小数点以下 n+1 位の数字を操作することもできます。
n が正の時は、小数点以下 n+1 位の数字を切り捨てます
(小数点以下を、最大 n 桁にします)。
n が負のときは小数点以上 n 桁目を操作します
(小数点位置から左に少なくとも n 個の 0 が並びます)。
//emlist[][ruby]{
require "bigdecimal"
BigDecimal("1.23456").truncate(4).to_f # => 1.2345
BigDec... -
BigDecimal
# truncate(n) -> BigDecimal (36604.0) -
小数点以下の数を切り捨てて整数にします。
小数点以下の数を切り捨てて整数にします。
@param n 小数点以下の桁数を整数で指定します。
以下のように引数を与えて、小数点以下 n+1 位の数字を操作することもできます。
n が正の時は、小数点以下 n+1 位の数字を切り捨てます
(小数点以下を、最大 n 桁にします)。
n が負のときは小数点以上 n 桁目を操作します
(小数点位置から左に少なくとも n 個の 0 が並びます)。
//emlist[][ruby]{
require "bigdecimal"
BigDecimal("1.23456").truncate(4).to_f # => 1.2345
BigDec... -
CGI
:: Session # update -> () (36604.0) -
データベースクラスの update メソッドを呼び出して、 セッション情報をサーバに保存します。
データベースクラスの update メソッドを呼び出して、
セッション情報をサーバに保存します。
MemoryStore の場合は何もしません。 -
CGI
:: Session :: FileStore # update -> () (36604.0) -
セッションの状態をファイルに保存します。
セッションの状態をファイルに保存します。