ライブラリ
- ビルトイン (229)
- benchmark (3)
- bigdecimal (2)
-
cgi
/ core (2) -
cgi
/ html (25) -
cgi
/ session (2) - continuation (1)
- csv (3)
- date (9)
- dbm (2)
- delegate (5)
- digest (1)
- e2mmap (1)
- expect (2)
-
fiddle
/ import (6) - gdbm (2)
- getoptlong (1)
-
irb
/ context (2) -
irb
/ input-method (3) - json (11)
- logger (2)
- mathn (1)
- matrix (56)
- mkmf (4)
-
net
/ ftp (6) -
net
/ http (15) -
net
/ imap (4) - observer (2)
- openssl (44)
- pathname (16)
- prime (9)
- pty (1)
- rake (14)
-
rdoc
/ context (4) -
rdoc
/ markup (1) -
rdoc
/ stats (7) -
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 (31)
- rubygems (3)
-
rubygems
/ commands / lock _ command (1) -
rubygems
/ commands / unpack _ command (1) -
rubygems
/ commands / update _ command (1) -
rubygems
/ config _ file (2) -
rubygems
/ custom _ require (1) -
rubygems
/ dependency _ list (2) -
rubygems
/ package / tar _ input (1) -
rubygems
/ package / tar _ output (1) -
rubygems
/ platform (2) -
rubygems
/ remote _ fetcher (3) -
rubygems
/ require _ paths _ builder (1) -
rubygems
/ requirement (1) -
rubygems
/ security (3) -
rubygems
/ server (1) -
rubygems
/ source _ index (7) -
rubygems
/ source _ info _ cache (10) -
rubygems
/ spec _ fetcher (2) -
rubygems
/ specification (19) -
rubygems
/ uninstaller (2) -
rubygems
/ user _ interaction (6) -
rubygems
/ validator (1) - sdbm (2)
- shell (5)
-
shell
/ command-processor (3) -
shell
/ filter (3) - socket (3)
- stringio (4)
- strscan (2)
-
syslog
/ logger (1) - tsort (2)
- uri (4)
-
webrick
/ httpauth / authenticator (2) -
webrick
/ httpauth / basicauth (1) -
webrick
/ httpauth / htdigest (1) -
webrick
/ httpauth / htgroup (1) -
webrick
/ httpauth / htpasswd (1) -
webrick
/ httprequest (1) -
webrick
/ httpresponse (3) -
webrick
/ https (2) -
webrick
/ httpserver (1) -
webrick
/ httputils (11) -
webrick
/ server (1) -
win32
/ registry (1) -
yaml
/ dbm (2) - zlib (5)
クラス
-
ARGF
. class (13) - Array (17)
-
Benchmark
:: Tms (3) - BigDecimal (2)
-
CGI
:: Cookie (1) -
CGI
:: Session :: FileStore (1) -
CGI
:: Session :: NullStore (1) - CSV (1)
-
CSV
:: Row (1) -
CSV
:: Table (1) - Complex (2)
- Continuation (1)
- DBM (2)
- Date (9)
- Delegator (4)
-
Digest
:: Base (1) - Encoding (1)
-
Encoding
:: Converter (4) -
Encoding
:: InvalidByteSequenceError (2) - Enumerator (6)
-
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 (1) -
Gem
:: ConfigFile (2) -
Gem
:: DependencyList (2) -
Gem
:: Package :: TarInput (1) -
Gem
:: Package :: TarOutput (1) -
Gem
:: Platform (2) -
Gem
:: RemoteFetcher (3) -
Gem
:: Requirement (1) -
Gem
:: Security :: Policy (3) -
Gem
:: Server (1) -
Gem
:: SourceIndex (7) -
Gem
:: SourceInfoCache (10) -
Gem
:: SpecFetcher (2) -
Gem
:: Specification (19) -
Gem
:: StreamUI (3) -
Gem
:: StreamUI :: SilentProgressReporter (1) -
Gem
:: StreamUI :: SimpleProgressReporter (1) -
Gem
:: StreamUI :: VerboseProgressReporter (1) -
Gem
:: Uninstaller (2) -
Gem
:: Validator (1) - GetoptLong (1)
- Hash (12)
- IO (11)
-
IRB
:: Context (2) -
IRB
:: InputMethod (1) -
IRB
:: ReadlineInputMethod (1) -
IRB
:: StdioInputMethod (1) - Integer (2)
-
JSON
:: State (9) - Logger (2)
- MatchData (1)
- Matrix (29)
-
Matrix
:: EigenvalueDecomposition (10) -
Matrix
:: LUPDecomposition (10) - Method (1)
- Module (16)
-
Net
:: FTP (6) -
Net
:: HTTP (15) -
Net
:: IMAP (2) -
Net
:: IMAP :: Address (1) -
Net
:: IMAP :: StatusData (1) - Numeric (12)
- Object (2)
-
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) -
PTY
:: ChildExited (1) - Pathname (16)
- Prime (4)
-
Prime
:: PseudoPrimeGenerator (4) -
Prime
:: TrialDivisionGenerator (1) - Proc (1)
-
Process
:: Status (9) -
Process
:: Tms (2) -
RDoc
:: Context (4) -
RDoc
:: Markup (1) -
RDoc
:: Options (2) -
RDoc
:: Stats (7) -
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 (1) -
RSS
:: Rss :: Channel (4) -
RSS
:: Rss :: Channel :: Cloud (2) -
RSS
:: Rss :: Channel :: Item (2) -
Rake
:: Application (3) -
Rake
:: FileList (6) - Rational (7)
-
Resolv
:: DNS :: Resource :: TXT (1) -
Rinda
:: TupleEntry (1) -
Rinda
:: TupleSpace (1) -
Rinda
:: TupleSpaceProxy (1) -
Ripper
:: Filter (1) -
RubyVM
:: InstructionSequence (2) - SDBM (2)
- Shell (5)
-
Shell
:: CommandProcessor (3) -
Shell
:: Filter (3) -
Socket
:: AncillaryData (1) -
Socket
:: Option (1) - StopIteration (1)
- String (11)
- StringIO (4)
- StringScanner (2)
- Struct (2)
-
Syslog
:: Logger (1) - Thread (1)
-
Thread
:: Backtrace :: Location (1) - Time (3)
- UDPSocket (1)
-
URI
:: Generic (2) -
URI
:: LDAP (2) - UnboundMethod (1)
- Vector (7)
-
WEBrick
:: Cookie (1) -
WEBrick
:: GenericServer (1) -
WEBrick
:: HTTPAuth :: BasicAuth (1) -
WEBrick
:: HTTPAuth :: Htdigest (1) -
WEBrick
:: HTTPAuth :: Htgroup (1) -
WEBrick
:: HTTPAuth :: Htpasswd (1) -
WEBrick
:: HTTPRequest (3) -
WEBrick
:: HTTPResponse (3) -
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 (2) - 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) -
JSON
:: Generator :: GeneratorMethods :: String (1) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (1) - Kernel (6)
- Observable (2)
-
OpenSSL
:: Buffering (1) -
REXML
:: SAX2Listener (3) -
REXML
:: StreamListener (1) -
RSS
:: SyndicationModel (6) -
Rake
:: TaskManager (2) - TSort (2)
-
WEBrick
:: HTTPAuth :: Authenticator (2)
キーワード
- ** (1)
- << (3)
- == (2)
- DelegateClass (1)
- [] (2)
- []= (2)
- absolute? (1)
-
absolute
_ path (2) - add (1)
-
add
_ attribute (3) -
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
_ special (1) -
add
_ status (1) -
add
_ update _ sources _ option (1) - alert (1)
-
alert
_ error (1) -
alert
_ warning (1) - angle (1)
-
append
_ data (1) -
append
_ features (1) - arg (1)
-
assign
_ defaults (1) - attlistdecl (1)
- attlistdecl? (1)
- attr (3)
-
attr
_ accessor (1) -
attr
_ reader (1) -
attr
_ writer (1) - attribute (1)
-
attribute
_ of (1) - attributes (3)
- attributes= (2)
-
attributes
_ of (1) - authenticate (1)
- autoload (1)
- autorequire= (1)
- bind (1)
-
buffer
_ initial _ length (1) -
buffer
_ initial _ length= (1) - bytes (1)
-
calculate
_ integers _ for _ gem _ version (1) - call (1)
- cdata? (1)
- certid (1)
- changed (1)
- chars (1)
-
check
_ circular? (1) - checkbox (1)
-
checkbox
_ group (1) - children (1)
- chunk (3)
-
chunk
_ while (2) -
client
_ cert (1) - clone (1)
-
cmp
_ issuer (1) - codepoints (1)
- 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) - concat (1)
- configure (1)
- conjugate (1)
- coredump? (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 (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) -
deprecate
_ constant (1) -
destination
_ encoding (1) -
destination
_ encoding _ name (1) - det (1)
- detect (1)
- determinant (1)
- divmod (1)
- drop (1)
-
drop
_ while (3) - each (15)
-
each
_ attribute (1) -
each
_ byte (2) -
each
_ char (2) -
each
_ child (3) -
each
_ codepoint (1) -
each
_ cons (1) -
each
_ data (1) -
each
_ element _ with _ attribute (1) -
each
_ entry (1) -
each
_ index (1) -
each
_ line (9) -
each
_ slice (1) -
each
_ strongly _ connected _ component (1) -
each
_ strongly _ connected _ component _ from (1) -
each
_ value (1) -
each
_ with _ index (3) -
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 (2) - 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 (2)
-
find
_ all (2) -
find
_ enclosing _ module _ named (1) -
find
_ executable (1) -
find
_ index (3) -
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) -
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 (2)
- gsub! (4)
-
has
_ attributes? (1) -
has
_ test _ suite? (1) -
has
_ unit _ tests? (1) - hidden (1)
- html (2)
- img (1)
- include? (1)
- index (2)
-
inner
_ product (1) -
install
_ update _ defaults _ str (1) - issuer (1)
- issuer= (1)
-
issuer
_ certificate (1) -
issuer
_ certificate= (1) - julian (1)
- julian? (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
_ size (1) -
max
_ by (2) - merge (1)
-
min
_ by (2) -
minmax
_ by (1) - mlsd (2)
- modulo (1)
- mountpoint? (1)
-
multipart
_ form (4) - name (1)
- name= (1)
- namespace (1)
- namespaces (1)
- negative? (1)
-
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
_ modules (1) -
num
_ modules= (1) - numerator (3)
- oid (1)
- oid= (1)
-
on
_ default (1) -
open
_ uri _ or _ path (1) - p (1)
- pack (2)
- partition (1)
-
password
_ field (1) - path (2)
- path= (3)
-
path
_ info= (1) -
path
_ ok? (1) -
path
_ translated (1) -
peek
_ values (1) - permutation (2)
- permutation? (1)
- phase (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) - pubDate (3)
- pubDate= (3)
- 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) -
read
_ all _ cache _ data (1) -
read
_ cache _ data (1) -
readable
_ atfer _ eof? (3) - realm (1)
- rectangular (1)
-
recvfrom
_ nonblock (1) - regular? (1)
- reject (2)
- reject! (2)
- relative? (1)
- remove (1)
-
remove
_ by _ name (1) -
remove
_ const (1) -
remove
_ spec (1) -
repeated
_ permutation (1) - replicate (1)
- request (2)
-
request
_ get (2) -
request
_ head (2) -
request
_ post (2) -
request
_ put (2) - require (1)
- reset (1)
-
reset
_ cache _ for (1) -
respond
_ to _ missing? (2) - result (1)
-
return
_ format= (1) -
reverse
_ each (1) - rewind (1)
- round (4)
- route (1)
- ruby (1)
- run (1)
-
satisfied
_ by? (1) -
satisfies
_ requirement? (1) - saturday? (2)
- scan (1)
-
scrolling
_ list (1) - search (2)
-
search
_ with _ source (1) - select (5)
- select! (2)
-
send
_ request (1) -
server
_ cert (1) -
set
_ default _ paths (1) -
set
_ error (1) -
set
_ generator (1) -
set
_ redirect (1) - setuid? (2)
- sh (1)
- signaled? (1)
-
signature
_ algorithm (3) - singular? (2)
- size (2)
-
slice
_ after (4) -
slice
_ before (5) -
slice
_ when (2) - solve (1)
-
sort
_ by (1) -
source
_ location (3) - spec (1)
-
spec
_ path (1) - specification (1)
-
split
_ all (1) - square? (1)
-
start
_ element (1) - status (6)
-
status
_ line (1) -
status
_ string (1) - step (6)
- stopped? (1)
- stopsig (1)
- strftime (2)
- struct (1)
- sub (3)
- sub! (3)
-
sub
_ ext (1) - subject (1)
- subject= (1)
-
subject
_ certificate (1) -
subject
_ certificate= (1) - submit (1)
- subsec (1)
- succ (1)
- success? (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) - terminated? (1)
- termsig (1)
-
test
_ suite _ file (1) -
test
_ suite _ file= (1) -
text
_ field (1) - textarea (1)
- thursday? (1)
-
to
_ a (3) -
to
_ ary (3) -
to
_ binary (1) -
to
_ der (1) -
to
_ enum (2) -
to
_ json (2) -
to
_ s (2) -
to
_ string (1) -
transform
_ values (1) -
transform
_ values! (1) - truncate (12)
-
try
_ file (1) -
tty
_ output= (1) - tuesday? (1)
- uid (1)
-
uid
_ store (1) - union (1)
- uniq (2)
-
unit
_ test (1) - unitary? (1)
-
unix
_ rights (1) - unlink (4)
- unlock (1)
-
unmatched
_ alias _ lists (1) -
unmatched
_ alias _ lists= (1) - unpack (2)
- update (13)
-
update
_ sources (1) -
update
_ sources= (1) - updated (3)
-
upper
_ bound (1) -
upper
_ triangular? (1) - upto (1)
- utime (5)
- 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 (1) - write (5)
-
write
_ require _ paths _ file _ if _ needed (1) - xpath (1)
- yield (1)
- zip (2)
検索結果
先頭5件
- Gem
:: InstallUpdateOptions # add _ install _ update _ options - Gem
:: InstallUpdateOptions # install _ update _ defaults _ str -> String - Gem
:: RequirePathsBuilder # write _ require _ paths _ file _ if _ needed(spec = @spec , gem _ home = @gem _ home) - RDoc
:: Context # unmatched _ alias _ lists -> {String => RDoc :: Alias} - RDoc
:: Context # unmatched _ alias _ lists=(val)
-
Gem
:: InstallUpdateOptions # add _ install _ update _ options (81904.0) -
インストールとアップデートに関するオプションを追加します。
インストールとアップデートに関するオプションを追加します。 -
Gem
:: InstallUpdateOptions # install _ update _ defaults _ str -> String (81904.0) -
Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。
Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。
デフォルトのオプションは以下の通りです。
--rdoc --no-force --no-test --wrappers -
Gem
:: RequirePathsBuilder # write _ require _ paths _ file _ if _ needed(spec = @spec , gem _ home = @gem _ home) (81904.0) -
必要であれば、'.require_paths' というファイルを Gem ごとに作成します。
必要であれば、'.require_paths' というファイルを Gem ごとに作成します。 -
RDoc
:: Context # unmatched _ alias _ lists -> {String => RDoc :: Alias} (73504.0) -
メソッド名の対応が取れていない alias の旧メソッド名がキー、 RDoc::Alias が値の Hash を返します。
メソッド名の対応が取れていない alias の旧メソッド名がキー、
RDoc::Alias が値の Hash を返します。 -
RDoc
:: Context # unmatched _ alias _ lists=(val) (73204.0) -
メソッド名の対応が取れていない alias の旧メソッド名がキー、 RDoc::Alias が値の Hash を設定します。
メソッド名の対応が取れていない alias の旧メソッド名がキー、
RDoc::Alias が値の Hash を設定します。
@param val 旧メソッド名がキー、RDoc::Alias が値の Hash を指
定します。 -
MatchData
# values _ at(*index) -> [String] (72997.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... -
Matrix
:: LUPDecomposition # l -> Matrix (72607.0) -
LUP分解の下半行列部分を返します。
LUP分解の下半行列部分を返します。 -
Matrix
:: LUPDecomposition # u -> Matrix (72607.0) -
LUP分解の上半行列部分を返します。
LUP分解の上半行列部分を返します。 -
REXML
:: Attributes # get _ attribute(name) -> Attribute | nil (64504.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 (64504.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... -
REXML
:: Attributes # each _ attribute {|attribute| . . . } -> () (64204.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... -
CGI
:: QueryExtension # path _ translated -> String (63904.0) -
ENV['PATH_TRANSLATED'] を返します。
ENV['PATH_TRANSLATED'] を返します。 -
Gem
:: QuickLoader # push _ all _ highest _ version _ gems _ on _ load _ path (63904.0) -
prelude.c で定義されている内部用のメソッドです。
prelude.c で定義されている内部用のメソッドです。 -
Gem
:: QuickLoader # push _ gem _ version _ on _ load _ path (63904.0) -
prelude.c で定義されている内部用のメソッドです。
prelude.c で定義されている内部用のメソッドです。 -
Gem
:: SourceInfoCache # latest _ cache _ data -> Hash (63904.0) -
最新のキャッシュデータを返します。
最新のキャッシュデータを返します。 -
Gem
:: Specification # full _ gem _ path -> String (63904.0) -
この Gem パッケージへのフルパスを返します。
この Gem パッケージへのフルパスを返します。 -
Matrix
:: EigenvalueDecomposition # eigenvalues -> [Float] (63904.0) -
固有値を配列で返します。
固有値を配列で返します。 -
OpenSSL
:: X509 :: Certificate # signature _ algorithm -> String (63904.0) -
発行者 (CA) が証明書に署名するのに使ったアルゴリズムです。
発行者 (CA) が証明書に署名するのに使ったアルゴリズムです。 -
Thread
:: Backtrace :: Location # absolute _ path -> String (63904.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 (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... -
Enumerator
:: Lazy # flat _ map {|item| . . . } -> Enumerator :: Lazy (55504.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) ... -
REXML
:: Element # delete _ attribute(key) -> REXML :: Attribute | nil (55504.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... -
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"
... -
Array
# repeated _ permutation(n) { |p| . . . } -> self (55204.0) -
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
得られる順列の順序は保証されません。ブロックなしで呼び出されると, 順列
を生成する Enumerator オブジェクトを返します。
@param n 生成する配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
//emlist[例][ruby... -
Enumerable
# collect _ concat -> Enumerator (55204.0) -
各要素をブロックに渡し、その返り値を連結した配列を返します。
各要素をブロックに渡し、その返り値を連結した配列を返します。
ブロックの返り値は基本的に配列を返すべきです。
ブロックを省略した場合は Enumerator を返します。
//emlist[例][ruby]{
[[1,2], [3,4]].flat_map{|i| i.map{|j| j*2}} # => [2,4,6,8]
//} -
Enumerable
# flat _ map -> Enumerator (55204.0) -
各要素をブロックに渡し、その返り値を連結した配列を返します。
各要素をブロックに渡し、その返り値を連結した配列を返します。
ブロックの返り値は基本的に配列を返すべきです。
ブロックを省略した場合は Enumerator を返します。
//emlist[例][ruby]{
[[1,2], [3,4]].flat_map{|i| i.map{|j| j*2}} # => [2,4,6,8]
//} -
Enumerator
:: Lazy # collect _ concat {|item| . . . } -> Enumerator :: Lazy (55204.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) ... -
Gem
:: RemoteFetcher # get _ file _ uri _ path(uri) -> String (55204.0) -
与えられた URI から "file://" を取り除いた文字列を返します。
与えられた URI から "file://" を取り除いた文字列を返します。
@param uri URI を表す文字列を指定します。 -
Matrix
:: EigenvalueDecomposition # eigenvalue _ matrix -> Matrix (55204.0) -
固有値を対角成分に並べた行列を返します。
固有値を対角成分に並べた行列を返します。 -
REXML
:: Element # each _ element _ with _ attribute(key , value = nil , max = 0 , name = nil) {|element| . . . } -> () (55204.0) -
特定の属性を持つすべての子要素を引数としてブロックを呼び出します。
特定の属性を持つすべての子要素を引数としてブロックを呼び出します。
key で指定した属性名の属性を持つ要素のみを対象とします。
value を指定すると、keyで指定した属性名を持つ属性の値がvalueである
もののみを対象とします。
maxを指定すると、対象となる子要素の先頭 max 個のみが対象となります。
name を指定すると、それは xpath 文字列と見なされ、
それにマッチするもののみが対象となります。
max に 0 を指定すると、max の指定は無視されます(0個ではありません)。
@param key 属性名(文字列)
@param value 属性値(文字列)
... -
Rake
:: TaskManager # enhance _ with _ matching _ rule(task _ name , level = 0) -> Rake :: Task | nil (55204.0) -
与えられたタスク名にマッチしたルールが存在する場合は、そのタスクに見つかったルールの 事前タスクとアクションを追加して返します。
与えられたタスク名にマッチしたルールが存在する場合は、そのタスクに見つかったルールの
事前タスクとアクションを追加して返します。
@param task_name タスクの名前を指定します。
@param level 現在のルール解決のネストの深さを指定します。
@raise RuntimeError ルールの解決時にオーバーフローした場合に発生します。 -
Array
# values _ at(*selectors) -> Array (55051.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 (54943.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] (54943.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] (54943.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] (54925.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] (54925.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] (54925.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] (54907.0) -
keys に対応する値を配列に格納して返します。
keys に対応する値を配列に格納して返します。
対応するキーが見つからなかった要素には nil が格納されます。
@param keys キーを文字列で指定します。複数指定することができます。 -
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
... -
Gem
:: Commands :: UpdateCommand # which _ to _ update(highest _ installed _ gems , gem _ names) -> Array (54904.0) -
更新が必要な Gem のリストを返します。
更新が必要な Gem のリストを返します。 -
Gem
:: QuickLoader # calculate _ integers _ for _ gem _ version (54904.0) -
prelude.c で定義されている内部用のメソッドです。
prelude.c で定義されている内部用のメソッドです。 -
Gem
:: SourceInfoCache # latest _ user _ cache _ file -> String (54904.0) -
最新のユーザーキャッシュのファイル名を返します。
最新のユーザーキャッシュのファイル名を返します。 -
IRB
:: Context # evaluate(line , line _ no) -> object (54904.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
Method
# source _ location -> [String , Integer] | nil (54904.0) -
ソースコードのファイル名と行番号を配列で返します。
ソースコードのファイル名と行番号を配列で返します。
その手続オブジェクトが ruby で定義されていない(つまりネイティブ
である)場合は nil を返します。
@see Proc#source_location
//emlist[例][ruby]{
# ------- /tmp/foo.rb ---------
class Foo
def foo; end
end
# ----- end of /tmp/foo.rb ----
require '/tmp/foo'
m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m.source... -
OpenSSL
:: X509 :: CRL # last _ update -> Time (54904.0) -
CRL が最後に更新された日時を Time オブジェクトで返します。
CRL が最後に更新された日時を Time オブジェクトで返します。 -
OpenSSL
:: X509 :: CRL # last _ update=(time) (54904.0) -
CRL が最後に更新された日時を Time オブジェクトで設定します。
CRL が最後に更新された日時を Time オブジェクトで設定します。
@param time 最終更新日時
@raise OpenSSL::X509::CRLError 設定に失敗した場合に発生します
@see OpenSSL::X509::CRL#last_update -
OpenSSL
:: X509 :: CRL # signature _ algorithm -> String (54904.0) -
署名に使ったアルゴリズム名を文字列で返します。
署名に使ったアルゴリズム名を文字列で返します。
@raise OpenSSL::X509::CRLError 名前の取得に失敗した場合に発生します -
OpenSSL
:: X509 :: Request # signature _ algorithm -> String (54904.0) -
証明書署名要求の署名に使われているアルゴリズム名を文字列で返します。
証明書署名要求の署名に使われているアルゴリズム名を文字列で返します。 -
OpenSSL
:: X509 :: Store # set _ default _ paths -> nil (54904.0) -
システムに組込まれている証明書を読み込みます。
システムに組込まれている証明書を読み込みます。
@raise OpenSSL::X509::StoreError 読み込みに失敗した場合に発生します -
Proc
# source _ location -> [String , Integer] | nil (54904.0) -
ソースコードのファイル名と行番号を配列で返します。
ソースコードのファイル名と行番号を配列で返します。
その手続オブジェクトが ruby で定義されていない(つまりネイティブ
である)場合は nil を返します。
//emlist[例][ruby]{
# /path/to/target.rb を実行
proc {}.source_location # => ["/path/to/target.rb", 1]
proc {}.source_location # => ["/path/to/target.rb", 2]
(eval "proc {}").source_location # => ... -
Process
:: Status # exitstatus -> Integer | nil (54904.0) -
exited? が真の場合プロセスが返した終了ステータスの整数を、そ うでない場合は nil を返します。
exited? が真の場合プロセスが返した終了ステータスの整数を、そ
うでない場合は nil を返します。 -
RSS
:: Maker :: ChannelBase # lastBuildDate (54904.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # lastBuildDate=() (54904.0) -
@todo
@todo -
RSS
:: Rss :: Channel # lastBuildDate (54904.0) -
@todo
@todo -
RSS
:: Rss :: Channel # lastBuildDate= (54904.0) -
@todo
@todo -
Rake
:: TaskManager # create _ rule(*args) { . . . } (54904.0) -
与えられたパラメータに従ってルールを作成します。
与えられたパラメータに従ってルールを作成します。
@param args ルールに与えるパラメータを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
rule = Rake.application.create_rule '.txt' => '.md' do |t|
"#{t}"
end
p rule # => 0x0000558dd2e32d20 /path/to/Rakefile:5>
end
//} -
RubyVM
:: InstructionSequence # absolute _ path -> String | nil (54904.0) -
self が表す命令シーケンスの絶対パスを返します。
self が表す命令シーケンスの絶対パスを返します。
self を文字列から作成していた場合は nil を返します。
例1:irb で実行した場合
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
iseq.absolute_path
# => nil
例2: RubyVM::InstructionSequence.compile_file を使用した場合
# /tmp/method.... -
WEBrick
:: HTTPAuth :: BasicAuth # authenticate(request , response) -> bool (54904.0) -
クライアントから送られてきたユーザ名とパスワードを認証します。 認証に失敗した場合は challenge を呼びます。
クライアントから送られてきたユーザ名とパスワードを認証します。
認証に失敗した場合は challenge を呼びます。
@param request WEBrick::HTTPRequest のインスタンスを指定します。
@param response WEBrick::HTTPResponse のインスタンスを指定します。
@raise WEBrick::HTTPStatus::Unauthorized 認証に失敗した場合に発生します。 -
WEBrick
:: HTTPResponse # status _ line -> String (54904.0) -
HTTP のステータスラインを CR+LF 付き文字列で返します。
HTTP のステータスラインを CR+LF 付き文字列で返します。
require 'webrick'
res = WEBrick::HTTPResponse.new( { :HTTPVersion => "1.1" } )
res.status = 404
p res.status_line #=> "HTTP/1.1 404 Not Found \r\n" -
Enumerable
# collect _ concat {| obj | block } -> Array (54604.0) -
各要素をブロックに渡し、その返り値を連結した配列を返します。
各要素をブロックに渡し、その返り値を連結した配列を返します。
ブロックの返り値は基本的に配列を返すべきです。
ブロックを省略した場合は Enumerator を返します。
//emlist[例][ruby]{
[[1,2], [3,4]].flat_map{|i| i.map{|j| j*2}} # => [2,4,6,8]
//} -
Enumerable
# flat _ map {| obj | block } -> Array (54604.0) -
各要素をブロックに渡し、その返り値を連結した配列を返します。
各要素をブロックに渡し、その返り値を連結した配列を返します。
ブロックの返り値は基本的に配列を返すべきです。
ブロックを省略した場合は Enumerator を返します。
//emlist[例][ruby]{
[[1,2], [3,4]].flat_map{|i| i.map{|j| j*2}} # => [2,4,6,8]
//} -
File
:: Stat # executable? -> bool (54604.0) -
実効ユーザ/グループIDで実行できる時に真を返します。
実効ユーザ/グループIDで実行できる時に真を返します。
//emlist[][ruby]{
p File::Stat.new($0).executable?
# 例
#=> true
//} -
File
:: Stat # executable _ real? -> bool (54604.0) -
実ユーザ/グループIDで実行できる時に真を返します。
実ユーザ/グループIDで実行できる時に真を返します。
//emlist[][ruby]{
p File::Stat.new($0).executable_real?
#例
#=> true
//} -
Float
# numerator -> Integer (54604.0) -
自身を Rational に変換した時の分子を返します。
自身を Rational に変換した時の分子を返します。
@return 分子を返します。
//emlist[例][ruby]{
2.0.numerator # => 2
0.5.numerator # => 1
//}
@see Float#denominator -
RSS
:: SyndicationModel # sy _ updateBase (54604.0) -
@todo
@todo -
RSS
:: SyndicationModel # sy _ updateBase= (54604.0) -
@todo
@todo -
RSS
:: SyndicationModel # sy _ updateFrequency (54604.0) -
@todo
@todo -
RSS
:: SyndicationModel # sy _ updateFrequency= (54604.0) -
@todo
@todo -
RSS
:: SyndicationModel # sy _ updatePeriod (54604.0) -
@todo
@todo -
RSS
:: SyndicationModel # sy _ updatePeriod= (54604.0) -
@todo
@todo -
Rational
# numerator -> Integer (54604.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 -
OpenSSL
:: X509 :: Request # add _ attribute(attr) -> OpenSSL :: X509 :: Attribute (46804.0) -
新たな attribute を CSR に追加します。
新たな attribute を CSR に追加します。
@param attr 追加する attribute(OpenSSL::X509::Attribute の
インスタンス)
@return 渡した attribute オブジェクトを返します
@see OpenSSL::X509::Request#attribute,
OpenSSL::X509::Request#attribute= -
Zlib
:: Deflate # flush(flush = Zlib :: SYNC _ FLUSH) -> String (46804.0) -
deflate('', flush) と同じです。flush が 省略された時は Zlib::SYNC_FLUSH が使用されます。 このメソッドはスクリプトの可読性のために提供されています。
deflate('', flush) と同じです。flush が
省略された時は Zlib::SYNC_FLUSH が使用されます。
このメソッドはスクリプトの可読性のために提供されています。
@param flush Zlib::NO_FLUSH Zlib::SYNC_FLUSH Zlib::FULL_FLUSH などを指定します。
require 'zlib'
def case1
dez = Zlib::Deflate.new
comp_str = dez.deflate('hoge')
comp_str << dez.deflate(' fuga'... -
Matrix
# lup -> Matrix :: LUPDecomposition (46684.0) -
行列の LUP 分解を保持したオブジェクトを返します。
行列の LUP 分解を保持したオブジェクトを返します。
Matrix::LUPDecomposition は to_ary を定義しているため、
多重代入によって3つの行列(下三角行列、上三角行列、置換行列)
を得ることができます。これを [L, U, P] と書くと、
L*U = P*self を満たします。
//emlist[例][ruby]{
require 'matrix'
a = Matrix[[1, 2], [3, 4]]
l, u, p = a.lup
l.lower_triangular? # => true
u.upper_triangular? # => true
p.... -
Matrix
# lup _ decomposition -> Matrix :: LUPDecomposition (46684.0) -
行列の LUP 分解を保持したオブジェクトを返します。
行列の LUP 分解を保持したオブジェクトを返します。
Matrix::LUPDecomposition は to_ary を定義しているため、
多重代入によって3つの行列(下三角行列、上三角行列、置換行列)
を得ることができます。これを [L, U, P] と書くと、
L*U = P*self を満たします。
//emlist[例][ruby]{
require 'matrix'
a = Matrix[[1, 2], [3, 4]]
l, u, p = a.lup
l.lower_triangular? # => true
u.upper_triangular? # => true
p.... -
OpenSSL
:: OCSP :: BasicResponse # add _ status(cid , status , reason , revtime , thisupd , nextupd , exts) -> self (46504.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
:: OCSP :: BasicResponse # status -> [[OpenSSL :: OCSP :: CertificateId , Integer , Integer , Time|nil , Time , Time|nil , [OpenSSL :: X509 :: Extension]]] (46504.0) -
証明書の状態の問い合わせの結果を返します。
証明書の状態の問い合わせの結果を返します。
この返り値には複数の問い合わせ結果が含まれています。
個々の結果は以下の内容の配列です。
[ 問い合わせの CertificateId オブジェクト,
ステータスコード,
失効理由コード,
失効時刻,
最終更新時刻,
次回更新時刻,
拡張領域 ]
ステータスコードはいかのいずれかの値を取ります
* OpenSSL::OCSP::V_CERTSTATUS_GOOD 正常
* OpenSSL::OCSP::V_CERTSTATUS_REVOKED 失効
* OpenSSL::OCSP::... -
OpenSSL
:: X509 :: Request # attributes -> [OpenSSL :: X509 :: Attribute] (46504.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 -
REXML
:: DocType # attribute _ of(element , attribute) -> String | nil (46504.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] (46504.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 (46504.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 (46504.0) -
要素が保持している属性の集合を返します。
要素が保持している属性の集合を返します。 -
Enumerator
:: Lazy # enum _ for(method = :each , *args) -> Enumerator :: Lazy (46204.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 (46204.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) -> Enumerator :: Lazy (46204.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 (46204.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
:: ConfigFile # update _ sources=(update _ sources) (46204.0) -
Gem::SourceInfoCache を毎回更新するかどうか設定します。
Gem::SourceInfoCache を毎回更新するかどうか設定します。
@param update_sources 真を指定すると毎回 Gem::SourceInfoCache を更新します。 -
Gem
:: Specification # executable=(executable) (46204.0) -
実行可能ファイル名をセットします。
実行可能ファイル名をセットします。
@param executable 実行可能ファイル名を指定します。 -
Gem
:: Specification # executables=(executables) (46204.0) -
実行可能ファイル名のリストをセットします。
実行可能ファイル名のリストをセットします。
@param executables 実行可能ファイル名のリストを指定します。 -
OpenSSL
:: ASN1 :: ASN1Data # value=(value) (46204.0) -
ASN.1 値に対応するRubyのオブジェクトを変更します。
ASN.1 値に対応するRubyのオブジェクトを変更します。
@param value 設定するオブジェクト
@see OpenSSL::ASN1::ASN1Data#value -
OpenSSL
:: X509 :: ExtensionFactory # issuer _ certificate -> OpenSSL :: X509 :: Certificate | nil (46204.0) -
自身に設定されている発行者(issuer)の証明書オブジェクトを返します。
自身に設定されている発行者(issuer)の証明書オブジェクトを返します。
証明書が設定されていない場合は nil を返します。 -
OpenSSL
:: X509 :: ExtensionFactory # subject _ certificate -> OpenSSL :: X509 :: Certificate | nil (46204.0) -
自身に設定されている所有者(subject)の証明書オブジェクトを返します。
自身に設定されている所有者(subject)の証明書オブジェクトを返します。
証明書が設定されていない場合は nil を返します。 -
PTY
:: ChildExited # status -> Process :: Status (46204.0) -
子プロセスの終了ステータスをProcess::Statusオブジェクトで返します。
子プロセスの終了ステータスをProcess::Statusオブジェクトで返します。 -
Shell
# truncate(path , length) -> 0 (46204.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate -
Shell
:: CommandProcessor # truncate(path , length) -> 0 (46204.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate -
Shell
:: Filter # truncate(path , length) -> 0 (46204.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate -
Zlib
:: Deflate # deflate(string , flush = Zlib :: NO _ FLUSH) -> String (46204.0) -
string を圧縮ストリームに入力します。処理後、ストリームからの 出力を返します。このメソッドを呼ぶと出力バッファ及び入力バッファは 空になります。string が nil の場合はストリームへの入力を 終了します。(Zlib::ZStream#finish と同じ)。 flush には Zlib::NO_FLUSH, Zlib::SYNC_FLUSH, Zlib::FULL_FLUSH, Zlib::FINISH のいずれかを指定します。 詳しくは zlib.h を参照して下さい。
string を圧縮ストリームに入力します。処理後、ストリームからの
出力を返します。このメソッドを呼ぶと出力バッファ及び入力バッファは
空になります。string が nil の場合はストリームへの入力を
終了します。(Zlib::ZStream#finish と同じ)。
flush には Zlib::NO_FLUSH, Zlib::SYNC_FLUSH,
Zlib::FULL_FLUSH, Zlib::FINISH のいずれかを指定します。
詳しくは zlib.h を参照して下さい。
@param string 圧縮する文字列を指定します。
@param flush Zlib::NO_... -
BigDecimal
# truncate(n) -> BigDecimal (45904.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 (45904.0) -
分子を返します。
分子を返します。
//emlist[例][ruby]{
Complex('1/2+2/3i').numerator # => (3+4i)
Complex(3).numerator # => (3+0i)
//}
@see Complex#denominator