ライブラリ
- ビルトイン (296)
- benchmark (3)
- bigdecimal (2)
-
cgi
/ core (5) -
cgi
/ html (25) -
cgi
/ session (3) -
cgi
/ session / pstore (1) - continuation (2)
- csv (3)
- date (8)
- 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 (10)
- 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 (39)
- ostruct (1)
- pathname (18)
- 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 (1) -
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 (35) -
rubygems
/ uninstaller (2) -
rubygems
/ user _ interaction (9) -
rubygems
/ validator (1) - scanf (6)
- sdbm (2)
- shell (3)
-
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 (1) - zlib (5)
クラス
-
ARGF
. class (13) - Addrinfo (1)
- Array (31)
-
Benchmark
:: Tms (3) - BigDecimal (2)
-
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 (1)
- Continuation (2)
- DBM (2)
- Date (6)
- 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 (2) - Float (6)
- GDBM (2)
-
Gem
:: Commands :: LockCommand (1) -
Gem
:: Commands :: UnpackCommand (1) -
Gem
:: Commands :: UpdateCommand (2) -
Gem
:: ConfigFile (2) -
Gem
:: DependencyList (1) -
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 (35) -
Gem
:: StreamUI (5) -
Gem
:: StreamUI :: SilentProgressReporter (1) -
Gem
:: StreamUI :: SimpleProgressReporter (1) -
Gem
:: StreamUI :: VerboseProgressReporter (1) -
Gem
:: Uninstaller (2) -
Gem
:: Validator (1) - GetoptLong (1)
- Hash (14)
- IO (17)
-
IRB
:: Context (3) -
IRB
:: InputMethod (1) -
IRB
:: ReadlineInputMethod (1) -
IRB
:: StdioInputMethod (1) - Integer (6)
-
JSON
:: State (8) - 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
:: Cipher (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 (18)
- 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 (3)
-
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 (1) -
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 (1) -
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)
- []= (1)
-
_ dump (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)
- 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)
- 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 (2)
- 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) - 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
_ real? (2) - executables (1)
- exited? (1)
- exitstatus (1)
- expect (2)
- expires (1)
- extern (1)
- fatal (3)
- fdiv (1)
- feed (1)
- fetch (1)
-
fetch
_ path (1) -
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 (1) -
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) - 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) -
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) - logger (1)
-
lower
_ triangular? (1) - lup (1)
-
lup
_ decomposition (1) - magnitude (2)
- 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)
-
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= (3)
-
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) - pushdir (1)
- put (2)
- put2 (2)
- putbinaryfile (1)
-
quirks
_ mode (1) -
quirks
_ mode= (1) -
quirks
_ mode? (1) - quo (2)
-
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) - 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 (4)
- success? (1)
- summary (1)
- summary= (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) -
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) - uid (1)
-
uid
_ fetch (1) -
uid
_ store (1) - union (1)
- uniq (2)
-
unit
_ test (1) - unitary? (1)
-
unix
_ path (1) -
unix
_ rights (1) - unlink (3)
- unlock (1)
-
unmatched
_ alias _ lists (1) -
unmatched
_ alias _ lists= (1) - unpack (2)
- unpack1 (1)
- update (14)
-
update
_ checksum (1) -
update
_ sources (1) -
update
_ sources= (1) - updated (3)
-
upper
_ bound (1) -
upper
_ bound= (1) -
upper
_ triangular? (1) - upto (2)
- userdb (1)
- utime (6)
- v (1)
-
v
_ inv (1) - value (4)
- value= (1)
-
values
_ at (8) -
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件
-
Gem
:: RequirePathsBuilder # write _ require _ paths _ file _ if _ needed(spec = @spec , gem _ home = @gem _ home) (108904.0) -
必要であれば、'.require_paths' というファイルを Gem ごとに作成します。
必要であれば、'.require_paths' というファイルを Gem ごとに作成します。 -
Gem
:: Specification # require _ path=(path) (82504.0) -
Gem::Specification#require_paths= の単数バージョンです。
Gem::Specification#require_paths= の単数バージョンです。
@param path この Gem パッケージを使用した際に require するファイルが置かれているディレクトリを指定します。
@see Gem::Specification#require_paths= -
Gem
:: Specification # require _ paths=(paths) (82504.0) -
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ のリストをセットします。
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストをセットします。
@param paths この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストを指定します。 -
Gem
:: Specification # require _ path -> String (82204.0) -
Gem::Specification#require_paths の単数バージョンです。
Gem::Specification#require_paths の単数バージョンです。
@see Gem::Specification#require_paths -
Gem
:: Specification # require _ paths -> [String] (82204.0) -
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ のリストを返します。
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストを返します。 -
Gem
:: Specification # satisfies _ requirement?(dependency) -> bool (82204.0) -
この Gem パッケージが与えられた依存関係を満たすかどうかを返します。
この Gem パッケージが与えられた依存関係を満たすかどうかを返します。
依存関係を満たす場合は真を返します。そうでない場合は偽を返します。
@param dependency チェックしたい依存関係を指定します。
@see Gem::Dependency -
REXML
:: Attributes # each _ attribute {|attribute| . . . } -> () (73804.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 (73804.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 (73804.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) -> Enumerator (73504.0) -
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
得られる順列の順序は保証されません。ブロックなしで呼び出されると, 順列
を生成する Enumerator オブジェクトを返します。
@param n 生成する配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
//emlist[例][ruby... -
Gem
:: SourceInfoCache # search _ with _ source(pattern , only _ platform = false , all = false) -> Array (73504.0) -
与えられた条件を満たす Gem::Specification と URL のリストを返します。
与えられた条件を満たす Gem::Specification と URL のリストを返します。
@param pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。
@param only_platform 真を指定するとプラットフォームが一致するもののみを返します。デフォルトは偽です。
@param all 真を指定するとキャッシュを更新してから検索を実行します。
@return 第一要素を Gem::Specification、第二要素を取得元の URL とする配列を要素とする配列を返します。 -
Array
# repeated _ permutation(n) { |p| . . . } -> self (73204.0) -
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
得られる順列の順序は保証されません。ブロックなしで呼び出されると, 順列
を生成する Enumerator オブジェクトを返します。
@param n 生成する配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
//emlist[例][ruby... -
Module
# prepend _ features(mod) -> self (73204.0) -
Module#prepend から呼び出されるメソッドで、 prepend の処理の実体です。このメソッド自体は mod で指定した モジュール/クラスの継承チェインの先頭に self を追加します。
Module#prepend から呼び出されるメソッドで、
prepend の処理の実体です。このメソッド自体は mod で指定した
モジュール/クラスの継承チェインの先頭に self を追加します。
このメソッドを上書きすることで、prepend の処理を変更したり
追加したりすることができます。
@param mod prepend を呼び出したモジュール
@return mod が返されます
//emlist[例][ruby]{
class Recorder
RECORDS = []
end
module X
def self.prepend_features(mod)
... -
Matrix
:: LUPDecomposition # u -> Matrix (72907.0) -
LUP分解の上半行列部分を返します。
LUP分解の上半行列部分を返します。 -
Gem
:: Commands :: UpdateCommand # do _ rubygems _ update(version) (72904.0) -
RubyGems 自体を更新します。
RubyGems 自体を更新します。 -
Gem
:: InstallUpdateOptions # install _ update _ defaults _ str -> String (72904.0) -
Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。
Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。
デフォルトのオプションは以下の通りです。
--rdoc --no-force --no-test --wrappers -
Rational
# numerator -> Integer (72904.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 -
Gem
:: Specification # required _ ruby _ version -> Gem :: Requirement (64804.0) -
この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。
この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。 -
Gem
:: Specification # required _ ruby _ version=(requirement) (64804.0) -
この Gem パッケージを動作させるのに必要な Ruby のバージョンをセットします。
この Gem パッケージを動作させるのに必要な Ruby のバージョンをセットします。
@param requirement Gem::Requirement.create が受け付ける形式のオブジェクトを指定します。
@see Gem::Requirement -
Gem
:: Specification # required _ rubygems _ version -> Gem :: Requirement (64804.0) -
この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。
この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。 -
Gem
:: Specification # required _ rubygems _ version=(requirement) (64804.0) -
この Gem パッケージを動作させるのに必要な RubyGems のバージョンをセットします。
この Gem パッケージを動作させるのに必要な RubyGems のバージョンをセットします。
@param requirement Gem::Requirement.create が受け付ける形式のオブジェクトを指定します。
@see Gem::Requirement -
Gem
:: QuickLoader # calculate _ integers _ for _ gem _ version (64204.0) -
prelude.c で定義されている内部用のメソッドです。
prelude.c で定義されている内部用のメソッドです。 -
Gem
:: Specification # requirements=(informations) (64204.0) -
この Gem パッケージを動作させるのに必要な条件をセットします。 これはユーザのためのシンプルな情報をセットします。
この Gem パッケージを動作させるのに必要な条件をセットします。
これはユーザのためのシンプルな情報をセットします。
@param informations 情報を文字列の配列で指定します。 -
URI
:: LDAP # attributes -> String (64204.0) -
自身の Attribute を文字列で返します。
自身の Attribute を文字列で返します。 -
WEBrick
:: HTTPAuth :: BasicAuth # authenticate(request , response) -> bool (64204.0) -
クライアントから送られてきたユーザ名とパスワードを認証します。 認証に失敗した場合は challenge を呼びます。
クライアントから送られてきたユーザ名とパスワードを認証します。
認証に失敗した場合は challenge を呼びます。
@param request WEBrick::HTTPRequest のインスタンスを指定します。
@param response WEBrick::HTTPResponse のインスタンスを指定します。
@raise WEBrick::HTTPStatus::Unauthorized 認証に失敗した場合に発生します。 -
WEBrick
:: HTTPAuth :: DigestAuth # authenticate(request , response) -> true (64204.0) -
クライアントから送られてきたユーザ名とパスワードを認証します。 認証に失敗した場合は challenge を呼びます。
クライアントから送られてきたユーザ名とパスワードを認証します。
認証に失敗した場合は challenge を呼びます。
@param request WEBrick::HTTPRequest のインスタンスを指定します。
@param response WEBrick::HTTPResponse のインスタンスを指定します。
@raise WEBrick::HTTPStatus::Unauthorized 認証に失敗した場合に発生します。 -
CGI
:: QueryExtension # path _ translated -> String (63904.0) -
ENV['PATH_TRANSLATED'] を返します。
ENV['PATH_TRANSLATED'] を返します。 -
Date
# saturday? -> bool (63904.0) -
土曜日なら真を返します。
土曜日なら真を返します。 -
Float
# numerator -> Integer (63904.0) -
自身を Rational に変換した時の分子を返します。
自身を Rational に変換した時の分子を返します。
@return 分子を返します。
//emlist[例][ruby]{
2.0.numerator # => 2
0.5.numerator # => 1
//}
@see Float#denominator -
Gem
:: Package :: TarOutput # add _ signatures (63904.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 (63904.0) -
与えられた名前を持つ Gem の SHA256 ダイジェストを返します。
与えられた名前を持つ Gem の SHA256 ダイジェストを返します。
@param gem_full_name Gem の名前を指定します。 -
Gem
:: SourceIndex # index _ signature -> String (63904.0) -
ソースインデックスの SHA256 ダイジェストを返します。
ソースインデックスの SHA256 ダイジェストを返します。
この値はインデックスが変更されると変化します。 -
Gem
:: Specification # autorequire -> String (63904.0) -
非推奨の属性です。
非推奨の属性です。 -
Gem
:: Specification # autorequire=(lib) (63904.0) -
非推奨の属性です。
非推奨の属性です。 -
Gem
:: Specification # requirements -> Array (63904.0) -
この Gem パッケージを動作させるのに必要な条件を返します。 これはユーザのためのシンプルな情報です。
この Gem パッケージを動作させるのに必要な条件を返します。
これはユーザのためのシンプルな情報です。 -
Matrix
# permutation? -> bool (63904.0) -
行列が置換行列ならば true を返します。
行列が置換行列ならば true を返します。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します -
Matrix
:: EigenvalueDecomposition # eigenvector _ matrix -> Matrix (63904.0) -
右固有ベクトルを横に並べた行列を返します。
右固有ベクトルを横に並べた行列を返します。 -
Matrix
:: EigenvalueDecomposition # eigenvector _ matrix _ inv -> Matrix (63904.0) -
左固有ベクトルを縦に並べた行列を返します。
左固有ベクトルを縦に並べた行列を返します。
これは Matrix::EigenvalueDecomposition#v の逆行列です -
Net
:: IMAP :: StatusData # attr -> { String => Integer } (63904.0) -
STATUS 応答の内容をハッシュで返します。
STATUS 応答の内容をハッシュで返します。
ハッシュのキーは
"MESSAGES", "RECENT", "UIDNEXT", "UIDVALIDITY", "UNSEEN"
などが使われます。
詳しくは 2060 の 6.3.10、7.2.4 を見てください。 -
Numeric
# numerator -> Integer (63904.0) -
自身を Rational に変換した時の分子を返します。
自身を Rational に変換した時の分子を返します。
@return 分子を返します。
@see Numeric#denominator、Integer#numerator、Float#numerator、Rational#numerator、Complex#numerator -
OpenSSL
:: X509 :: Certificate # signature _ algorithm -> String (63904.0) -
発行者 (CA) が証明書に署名するのに使ったアルゴリズムです。
発行者 (CA) が証明書に署名するのに使ったアルゴリズムです。 -
OpenSSL
:: X509 :: Request # signature _ algorithm -> String (63904.0) -
証明書署名要求の署名に使われているアルゴリズム名を文字列で返します。
証明書署名要求の署名に使われているアルゴリズム名を文字列で返します。 -
Pathname
# truncate(length) -> 0 (63904.0) -
File.truncate(self.to_s, length) と同じです。
File.truncate(self.to_s, length) と同じです。
@param length 変更したいサイズを整数で与えます。
@see File.truncate -
Process
:: Status # exitstatus -> Integer | nil (63904.0) -
exited? が真の場合プロセスが返した終了ステータスの整数を、そ うでない場合は nil を返します。
exited? が真の場合プロセスが返した終了ステータスの整数を、そ
うでない場合は nil を返します。 -
RSS
:: SyndicationModel # sy _ updateFrequency (63904.0) -
@todo
@todo -
RSS
:: SyndicationModel # sy _ updateFrequency= (63904.0) -
@todo
@todo -
RSS
:: SyndicationModel # sy _ updatePeriod (63904.0) -
@todo
@todo -
RSS
:: SyndicationModel # sy _ updatePeriod= (63904.0) -
@todo
@todo -
URI
:: LDAP # attributes=(s) (63904.0) -
自身の Attribute を文字列で設定します。
自身の Attribute を文字列で設定します。
@param s 自身の Attribute を文字列で設定します。 -
UnboundMethod
# source _ location -> [String , Integer] | nil (63904.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... -
WEBrick
:: HTTPRequest # attributes -> Hash (63904.0) -
@todo ???
@todo ??? -
Vector
# r -> Float (63607.0) -
ベクトルの大きさ(ノルム)を返します。
ベクトルの大きさ(ノルム)を返します。
//emlist[例][ruby]{
require 'matrix'
Vector[3, 4].norm # => 5.0
Vector[Complex(0, 1), 0].norm # => 1.0
//}
@see Vector#normalize -
Gem
:: StreamUI :: SilentProgressReporter # updated(message) -> nil (63604.0) -
何もしません。
何もしません。
@param message 指定しても意味がありません。 -
Gem
:: StreamUI :: SimpleProgressReporter # updated(message) -> nil (63604.0) -
ドットを表示します。
ドットを表示します。
@param message 指定しても意味がありません。 -
Gem
:: StreamUI :: VerboseProgressReporter # updated(message) -> nil (63604.0) -
現在の Gem::StreamUI::VerboseProgressReporter#count と全体の数とメッセージを表示します。
現在の Gem::StreamUI::VerboseProgressReporter#count と全体の数とメッセージを表示します。
@param message 表示するメッセージを指定します。 -
OpenSSL
:: X509 :: Request # add _ attribute(attr) -> OpenSSL :: X509 :: Attribute (56104.0) -
新たな attribute を CSR に追加します。
新たな attribute を CSR に追加します。
@param attr 追加する attribute(OpenSSL::X509::Attribute の
インスタンス)
@return 渡した attribute オブジェクトを返します
@see OpenSSL::X509::Request#attribute,
OpenSSL::X509::Request#attribute= -
REXML
:: DocType # attribute _ of(element , attribute) -> String | nil (56104.0) -
DTD 内の属性リスト宣言で、 element という名前の要素の attribute という 名前の属性のデフォルト値を返します。
DTD 内の属性リスト宣言で、 element という名前の要素の attribute という
名前の属性のデフォルト値を返します。
elementという名前の要素の属性値は宣言されていない、
elementという名前の要素にはattributeという名前の属性が宣言されていない、
もしくはデフォルト値が宣言されていない、のいずれかの場合は nil を返します。
@param element 要素名(文字列)
@param attribute 属性名(文字列)
//emlist[][ruby]{
require 'rexml/document'
doctype = REXML::Doc... -
Gem
:: ConfigFile # update _ sources=(update _ sources) (55804.0) -
Gem::SourceInfoCache を毎回更新するかどうか設定します。
Gem::SourceInfoCache を毎回更新するかどうか設定します。
@param update_sources 真を指定すると毎回 Gem::SourceInfoCache を更新します。 -
Gem
:: RemoteFetcher # get _ file _ uri _ path(uri) -> String (55804.0) -
与えられた URI から "file://" を取り除いた文字列を返します。
与えられた URI から "file://" を取り除いた文字列を返します。
@param uri URI を表す文字列を指定します。 -
Gem
:: RemoteFetcher # open _ uri _ or _ path(uri , last _ modified = nil , head = false , depth = 0) -> StringIO | File (55804.0) -
@param uri URI を指定します。
@param uri URI を指定します。
@param last_modified 最終更新時刻を指定します。
@param head 真を指定するとヘッダ情報のみ取得します。
@param depth 現在のリダイレクト回数を指定します。
@raise Gem::RemoteFetcher::FetchError デフォルトでは 11 回リダイレクトした場合に発生します。
depth を指定すると 10 - depth 回より多くリダイレクトした場合にこの例外が発生するようになります。
また HTTP のレスポンスが想定外のものの場合にも発生します。... -
OpenSSL
:: X509 :: Request # attributes -> [OpenSSL :: X509 :: Attribute] (55804.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 -
RDoc
:: Context # add _ attribute(an _ attribute) -> () (55804.0) -
引数で指定した RDoc::Attr オブジェクトを追加します。
引数で指定した RDoc::Attr オブジェクトを追加します。
@param an_attribute RDoc::Attr オブジェクトを指定します。 -
RDoc
:: Markup # attribute _ manager -> RDoc :: AttributeManager (55804.0) -
自身の RDoc::AttributeManager オブジェクトを返します。
自身の RDoc::AttributeManager オブジェクトを返します。 -
REXML
:: DocType # attributes _ of(element) -> [REXML :: Attribute] (55804.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 (55804.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 (55804.0) -
要素が保持している属性の集合を返します。
要素が保持している属性の集合を返します。 -
REXML
:: Element # delete _ attribute(key) -> REXML :: Attribute | nil (55804.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... -
Array
# repeated _ combination(n) -> Enumerator (55504.0) -
サイズ n の重複組み合わせをすべて生成し、それを引数としてブロックを実行 します。
サイズ n の重複組み合わせをすべて生成し、それを引数としてブロックを実行
します。
得られる組み合わせの順序は保証されません。ブロックなしで呼び出されると、
組み合わせを生成する Enumerator オブジェクトを返します。
@param n 生成される配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
//emli... -
Matrix
:: EigenvalueDecomposition # eigenvalue _ matrix -> Matrix (55504.0) -
固有値を対角成分に並べた行列を返します。
固有値を対角成分に並べた行列を返します。 -
OpenSSL
:: X509 :: ExtensionFactory # subject _ certificate -> OpenSSL :: X509 :: Certificate | nil (55504.0) -
自身に設定されている所有者(subject)の証明書オブジェクトを返します。
自身に設定されている所有者(subject)の証明書オブジェクトを返します。
証明書が設定されていない場合は nil を返します。 -
Rake
:: Application # tty _ output=(tty _ output _ state) (55504.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"
... -
Enumerator
:: Lazy # enum _ for(method = :each , *args) -> Enumerator :: Lazy (55276.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 (55276.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) ... -
Array
# permutation(n = self . length) -> Enumerator (55204.0) -
サイズ n の順列をすべて生成し,それを引数としてブロックを実行します。
サイズ n の順列をすべて生成し,それを引数としてブロックを実行します。
引数を省略した場合は配列の要素数と同じサイズの順列に対してブロックを実
行します。
得られる順列の順序は保証されません。ブロックなしで呼び出されると, 順列
を生成する Enumerator オブジェクトを返します。
@param n 生成する配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
... -
CSV
# truncate(path , length) -> 0 (55204.0) -
File#truncate に委譲します。
File#truncate に委譲します。
@see File#truncate -
Integer
# truncate(ndigits = 0) -> Integer | Float (55204.0) -
0 から self までの整数で、自身にもっとも近い整数を返します。
0 から self までの整数で、自身にもっとも近い整数を返します。
@param ndigits 10進数での小数点以下の有効桁数を整数で指定します。
正の整数を指定した場合、Float を返します。
小数点以下を、最大 n 桁にします。
負の整数を指定した場合、Integer を返します。
小数点位置から左に少なくとも n 個の 0 が並びます。
//emlist[][ruby]{
1.truncate # => 1
1.truncate(2) ... -
Matrix
# adjugate -> Matrix (55204.0) -
余因子行列を返します。
余因子行列を返します。
//emlist[例][ruby]{
require 'matrix'
Matrix[[7,6],[3,9]].adjugate # => Matrix[[9, -6], [-3, 7]]
//}
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方でない場合に発生します。
@see Matrix#cofactor -
OpenSSL
:: OCSP :: Response # status _ string -> String (55204.0) -
レスポンスステータスを human-readable な文字列で返します。
レスポンスステータスを human-readable な文字列で返します。
@see OpenSSL::OCSP::Response#status -
OpenSSL
:: X509 :: ExtensionFactory # issuer _ certificate -> OpenSSL :: X509 :: Certificate | nil (55204.0) -
自身に設定されている発行者(issuer)の証明書オブジェクトを返します。
自身に設定されている発行者(issuer)の証明書オブジェクトを返します。
証明書が設定されていない場合は nil を返します。 -
OpenSSL
:: X509 :: Request # attributes=(attrs) (55204.0) -
CSR の attribute をクリアして新しい attribute を設定します。
CSR の attribute をクリアして新しい attribute を設定します。
@param attrs 新たに設定する attribute(OpenSSL::X509::Attribute の
インスタンス)の配列
@see OpenSSL::X509::Request#attribute
OpenSSL::X509::Request#add_attribute -
Prime
:: PseudoPrimeGenerator # upper _ bound=(upper _ bound) (55204.0) -
新しい列挙上界をセットします。
新しい列挙上界をセットします。
@param upper_bound 新しい上界を整数または nil で指定します。 nil は上界がなく無限に素数を列挙すべきであることを意味します。 -
RDoc
:: Context # attributes -> [RDoc :: Attr] (55204.0) -
追加された RDoc::Attr の配列を返します。
追加された RDoc::Attr の配列を返します。 -
RDoc
:: Context # each _ attribute {|a| . . . } -> [RDoc :: Attr] (55204.0) -
追加された RDoc::Attr に対してブロックを評価します。
追加された RDoc::Attr に対してブロックを評価します。 -
REXML
:: Element # add _ attribute(attr) -> () (55204.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) -> () (55204.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 (55204.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate -
Shell
:: CommandProcessor # truncate(path , length) -> 0 (55204.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate -
Shell
:: Filter # truncate(path , length) -> 0 (55204.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate -
MatchData
# values _ at(*index) -> [String] (54997.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... -
StringIO
# truncate(len) -> Integer (54922.0) -
自身のサイズが len になるように、自身を切り詰め、もしくは拡大します。 拡大した場合は、その部分を 0 で埋めます。 len を返します。
自身のサイズが len になるように、自身を切り詰め、もしくは拡大します。
拡大した場合は、その部分を 0 で埋めます。
len を返します。
@param len 変更したいサイズを整数で指定します。
@raise IOError 自身が書き込み可能でない時に発生します。
@raise Errno::EINVAL len がマイナスの時に発生します。
//emlist[例][ruby]{
require "stringio"
a = StringIO.new("hoge", 'r+')
a.truncate(2)
a.string #=>... -
Array
# permutation(n = self . length) { |p| block } -> self (54904.0) -
サイズ n の順列をすべて生成し,それを引数としてブロックを実行します。
サイズ n の順列をすべて生成し,それを引数としてブロックを実行します。
引数を省略した場合は配列の要素数と同じサイズの順列に対してブロックを実
行します。
得られる順列の順序は保証されません。ブロックなしで呼び出されると, 順列
を生成する Enumerator オブジェクトを返します。
@param n 生成する配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
... -
BigDecimal
# truncate -> Integer (54904.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 (54904.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... -
Complex
# numerator -> Complex (54904.0) -
分子を返します。
分子を返します。
//emlist[例][ruby]{
Complex('1/2+2/3i').numerator # => (3+4i)
Complex(3).numerator # => (3+0i)
//}
@see Complex#denominator -
Fiddle
:: Importer # create _ value(type , val = nil) -> Fiddle :: CStruct (54904.0) -
型が type で要素名が "value" であるような構造体を 定義(Fiddle::Importer#struct)し、 その構造体のメモリを Fiddle::CStruct#malloc で確保し、 確保したメモリを保持しているオブジェクトを返します。
型が type で要素名が "value" であるような構造体を
定義(Fiddle::Importer#struct)し、
その構造体のメモリを Fiddle::CStruct#malloc で確保し、
確保したメモリを保持しているオブジェクトを返します。
type は "int", "void*" といった文字列で型を指定します。
val に nil 以外を指定すると、確保された構造体に
その値を代入します。
@param type 型を表す文字列
@param val 構造体に確保される初期値
例
require 'fiddle/import'
module M
... -
File
# truncate(length) -> 0 (54904.0) -
ファイルのサイズを最大 length バイトにします。
ファイルのサイズを最大 length バイトにします。
サイズの変更に成功すれば 0 を返します。失敗した場合は例外
Errno::EXXX が発生します。
@raise IOError 自身が書き込み用にオープンされていなければ発生します。
@raise Errno::EXXX サイズの変更に失敗した場合に発生します。
//emlist[例][ruby]{
IO.write("testfile", "1234567890")
File.open("testfile", "a") do |f|
f.truncate(5) # => 0
f.size # => 5... -
Gem
:: Commands :: UpdateCommand # which _ to _ update(highest _ installed _ gems , gem _ names) -> Array (54904.0) -
更新が必要な Gem のリストを返します。
更新が必要な Gem のリストを返します。 -
Gem
:: ConfigFile # update _ sources -> bool (54904.0) -
真の場合は Gem::SourceInfoCache を毎回更新します。 そうでない場合は、キャッシュがあればキャッシュの情報を使用します。
真の場合は Gem::SourceInfoCache を毎回更新します。
そうでない場合は、キャッシュがあればキャッシュの情報を使用します。 -
Gem
:: LocalRemoteOptions # add _ update _ sources _ option (54904.0) -
オプション --update-source を追加します。
オプション --update-source を追加します。 -
Gem
:: QuickLoader # push _ all _ highest _ version _ gems _ on _ load _ path (54904.0) -
prelude.c で定義されている内部用のメソッドです。
prelude.c で定義されている内部用のメソッドです。