8136件ヒット
[1-100件を表示]
(0.109秒)
ライブラリ
- ビルトイン (1404)
- benchmark (12)
- bigdecimal (24)
-
cgi
/ core (60) -
cgi
/ html (300) - csv (24)
- date (196)
- dbm (12)
- delegate (24)
- digest (12)
-
fiddle
/ import (36) - gdbm (12)
- getoptlong (12)
-
irb
/ context (24) -
irb
/ input-method (12) - json (264)
-
json
/ add / date (12) -
json
/ add / date _ time (12) -
json
/ add / rational (12) - logger (75)
- matrix (1494)
-
minitest
/ spec (1) -
minitest
/ unit (3) - mkmf (96)
-
net
/ ftp (84) -
net
/ http (36) -
net
/ imap (168) - observer (12)
- open-uri (12)
- openssl (348)
- optparse (12)
- ostruct (12)
- pathname (217)
- prime (36)
- pstore (12)
- rake (144)
-
rake
/ packagetask (12) -
rake
/ rdoctask (12) -
rake
/ testtask (12) -
rdoc
/ context (48) -
rdoc
/ markup (24) -
rdoc
/ parser / simple (12) -
rdoc
/ top _ level (24) - resolv (12)
-
rexml
/ document (624) -
rexml
/ sax2listener (24) -
rexml
/ streamlistener (48) -
rinda
/ rinda (12) -
rinda
/ tuplespace (24) -
ripper
/ lexer (16) -
rubygems
/ commands / lock _ command (12) -
rubygems
/ commands / unpack _ command (12) -
rubygems
/ config _ file (12) -
rubygems
/ format (36) -
rubygems
/ gem _ path _ searcher (24) -
rubygems
/ installer (12) -
rubygems
/ old _ format (36) -
rubygems
/ package / tar _ writer (24) -
rubygems
/ platform (48) -
rubygems
/ remote _ fetcher (36) -
rubygems
/ source _ index (24) -
rubygems
/ source _ info _ cache (84) -
rubygems
/ spec _ fetcher (24) -
rubygems
/ specification (444) -
rubygems
/ user _ interaction (96) -
rubygems
/ validator (12) - scanf (90)
- sdbm (12)
- shell (30)
-
shell
/ command-processor (24) -
shell
/ filter (18) -
shell
/ process-controller (6) - socket (96)
- stringio (124)
- strscan (108)
-
syslog
/ logger (24) - tempfile (12)
- time (12)
- tsort (22)
- uri (36)
-
webrick
/ httpauth / authenticator (12) -
webrick
/ httpauth / digestauth (12) -
webrick
/ httprequest (36) -
webrick
/ httpresponse (24) -
webrick
/ httputils (60) -
webrick
/ log (12) -
win32
/ registry (36) - win32ole (12)
-
yaml
/ dbm (12) - zlib (156)
クラス
-
ARGF
. class (12) - Addrinfo (12)
- Array (21)
- BasicSocket (24)
-
Benchmark
:: Tms (12) - BigDecimal (24)
- Binding (7)
-
CGI
:: Cookie (12) - CSV (24)
- DBM (12)
- Data (12)
- Date (146)
- DateTime (74)
- Delegator (24)
-
Digest
:: Base (12) - Dir (24)
-
Encoding
:: InvalidByteSequenceError (12) -
Encoding
:: UndefinedConversionError (12) -
Enumerator
:: ArithmeticSequence (7) -
Enumerator
:: Chain (7) - Exception (12)
- File (36)
-
File
:: Stat (24) - Float (36)
- GDBM (12)
-
Gem
:: Commands :: LockCommand (12) -
Gem
:: Commands :: UnpackCommand (12) -
Gem
:: ConfigFile (12) -
Gem
:: Format (36) -
Gem
:: GemPathSearcher (24) -
Gem
:: Installer (12) -
Gem
:: OldFormat (36) -
Gem
:: Package :: TarWriter :: BoundedStream (12) -
Gem
:: Package :: TarWriter :: RestrictedStream (12) -
Gem
:: Platform (48) -
Gem
:: RemoteFetcher (36) -
Gem
:: SourceIndex (24) -
Gem
:: SourceInfoCache (84) -
Gem
:: SpecFetcher (24) -
Gem
:: Specification (444) -
Gem
:: StreamUI (60) -
Gem
:: StreamUI :: SilentProgressReporter (12) -
Gem
:: StreamUI :: SimpleProgressReporter (12) -
Gem
:: StreamUI :: VerboseProgressReporter (12) -
Gem
:: Validator (12) - GetoptLong (12)
- Hash (34)
- IO (6)
-
IRB
:: Context (24) -
IRB
:: StdioInputMethod (12) - Integer (12)
-
JSON
:: State (132) - LoadError (12)
- Logger (48)
-
Logger
:: Application (3) -
Logger
:: Formatter (24) - MatchData (160)
- Matrix (1206)
-
Matrix
:: EigenvalueDecomposition (120) -
Matrix
:: LUPDecomposition (120) - Method (12)
-
MiniTest
:: Unit (1) - Module (120)
-
Net
:: FTP (54) -
Net
:: FTP :: MLSxEntry (30) -
Net
:: HTTP (24) -
Net
:: HTTPGenericRequest (12) -
Net
:: IMAP (60) -
Net
:: IMAP :: Address (12) -
Net
:: IMAP :: ContinuationRequest (12) -
Net
:: IMAP :: Envelope (12) -
Net
:: IMAP :: FetchData (12) -
Net
:: IMAP :: MailboxList (12) -
Net
:: IMAP :: StatusData (24) -
Net
:: IMAP :: TaggedResponse (12) -
Net
:: IMAP :: UntaggedResponse (12) - Numeric (12)
- Object (13)
-
OpenSSL
:: ASN1 :: ASN1Data (12) -
OpenSSL
:: Cipher (12) -
OpenSSL
:: OCSP :: Response (12) -
OpenSSL
:: PKCS7 (12) -
OpenSSL
:: PKey :: DSA (12) -
OpenSSL
:: PKey :: EC (12) -
OpenSSL
:: PKey :: PKey (12) -
OpenSSL
:: PKey :: RSA (24) -
OpenSSL
:: SSL :: SSLContext (36) -
OpenSSL
:: SSL :: SSLSocket (12) -
OpenSSL
:: X509 :: Attribute (60) -
OpenSSL
:: X509 :: CRL (12) -
OpenSSL
:: X509 :: Certificate (60) -
OpenSSL
:: X509 :: ExtensionFactory (12) -
OpenSSL
:: X509 :: Request (48) - OpenStruct (12)
- OptionParser (12)
- PStore (12)
- Pathname (217)
-
Prime
:: TrialDivisionGenerator (36) - Proc (12)
-
Process
:: Status (24) -
RDoc
:: Context (48) -
RDoc
:: Markup (24) -
RDoc
:: Options (48) -
RDoc
:: Parser :: Simple (12) -
RDoc
:: TopLevel (24) -
REXML
:: AttlistDecl (24) -
REXML
:: Attribute (168) -
REXML
:: Attributes (180) -
REXML
:: CData (24) -
REXML
:: Declaration (12) -
REXML
:: DocType (24) -
REXML
:: Element (132) -
REXML
:: Entity (12) -
REXML
:: NotationDecl (48) -
Rake
:: Application (48) -
Rake
:: FileList (12) -
Rake
:: InvocationChain (12) -
Rake
:: InvocationChain :: EmptyInvocationChain (12) -
Rake
:: PackageTask (12) -
Rake
:: RDocTask (12) -
Rake
:: Task (12) -
Rake
:: TestTask (12) - Rational (48)
- Regexp (33)
-
Resolv
:: DNS :: Resource :: TXT (12) -
Rinda
:: TupleEntry (12) -
Rinda
:: TupleSpace (12) -
Rinda
:: TupleSpaceProxy (12) -
Ripper
:: Lexer (16) -
RubyVM
:: InstructionSequence (34) - SDBM (12)
-
Scanf
:: FormatSpecifier (18) -
Scanf
:: FormatString (60) - Shell (30)
-
Shell
:: CommandProcessor (24) -
Shell
:: Filter (18) -
Shell
:: ProcessController (6) -
Socket
:: AncillaryData (12) -
Socket
:: Option (24) - String (485)
- StringIO (124)
- StringScanner (108)
- Struct (55)
- SyntaxError (3)
-
Syslog
:: Logger (12) -
Syslog
:: Logger :: Formatter (12) - Tempfile (12)
- Thread (36)
-
Thread
:: Backtrace :: Location (84) - Time (24)
- TracePoint (12)
- UDPSocket (12)
- UNIXSocket (12)
-
URI
:: Generic (12) -
URI
:: LDAP (24) - UnboundMethod (12)
- Vector (48)
-
WEBrick
:: Cookie (12) -
WEBrick
:: HTTPAuth :: DigestAuth (12) -
WEBrick
:: HTTPRequest (36) -
WEBrick
:: HTTPResponse (24) -
WEBrick
:: HTTPUtils :: FormData (60) -
WEBrick
:: Log (12) -
WIN32OLE
_ TYPELIB (12) -
Win32
:: Registry (36) -
YAML
:: DBM (12) -
Zlib
:: Deflate (72) -
Zlib
:: GzipFile (12) -
Zlib
:: Inflate (60) -
Zlib
:: ZStream (12)
モジュール
-
CGI
:: HtmlExtension (300) -
CGI
:: QueryExtension (60) - Enumerable (12)
-
Fiddle
:: Importer (36) - GC (12)
-
Gem
:: InstallUpdateOptions (12) -
JSON
:: Generator :: GeneratorMethods :: Array (12) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (12) -
JSON
:: Generator :: GeneratorMethods :: Float (12) -
JSON
:: Generator :: GeneratorMethods :: Hash (12) -
JSON
:: Generator :: GeneratorMethods :: Integer (12) -
JSON
:: Generator :: GeneratorMethods :: NilClass (12) -
JSON
:: Generator :: GeneratorMethods :: Object (12) -
JSON
:: Generator :: GeneratorMethods :: String (36) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) - Kernel (96)
-
MiniTest
:: Assertions (2) - Observable (12)
-
OpenURI
:: Meta (12) -
REXML
:: SAX2Listener (24) -
REXML
:: StreamListener (48) - TSort (22)
-
WEBrick
:: HTTPAuth :: Authenticator (12)
キーワード
- * (36)
- ** (12)
- + (24)
- +@ (12)
- - (24)
- -@ (12)
-
/ (24) - << (48)
- == (24)
- [] (96)
- []= (19)
-
_ dump (12) -
absolute
_ path (24) - accept (12)
- add (12)
-
add
_ attribute (48) -
add
_ attributes (12) -
add
_ element (12) - adjugate (12)
- alert (12)
-
alert
_ error (12) -
alert
_ warning (12) - antisymmetric? (7)
- appname (1)
-
array
_ nl (12) -
array
_ nl= (12) - asctime (12)
-
assert
_ match (1) -
assert
_ operator (1) - attlistdecl (12)
- attr (72)
-
attr
_ accessor (12) -
attr
_ reader (12) -
attr
_ writer (12) - attribute (12)
-
attribute
_ manager (12) -
attribute
_ of (12) - attributes (60)
- attributes= (24)
-
attributes
_ of (12) - authenticate (12)
- autorequire (12)
-
backtrace
_ locations (36) -
base
_ label (12) - bindir (12)
- binread (12)
- binwrite (12)
- byteindex (3)
- byterindex (3)
- bytes (7)
-
ca
_ path (24) - call (24)
- captures (12)
- cdata (12)
- changed (12)
- chars (7)
- checkbox (12)
-
checkbox
_ group (12) - children (12)
- clone (17)
- codepoints (7)
- coerce (12)
- cofactor (12)
-
cofactor
_ expansion (12) - collect (24)
- collect! (14)
- column (24)
-
column
_ count (12) -
column
_ size (12) -
column
_ vectors (12) - combine (8)
- component (12)
- concat (33)
- conj (12)
- conjugate (12)
-
const
_ source _ location (12) - convert (12)
- covector (12)
- cpu (12)
- creatable? (10)
- create (22)
-
create
_ body (12) -
create
_ ext _ from _ string (12) -
create
_ header (12) -
create
_ makefile (12) -
create
_ tmpsrc (12) -
create
_ value (12) - created? (12)
- ctime (12)
- d (12)
- data (48)
-
data
_ type (12) - date (12)
-
datetime
_ format (24) - deconstruct (5)
-
deconstruct
_ keys (9) -
default
_ executable (12) - deflate (12)
- delete (12)
-
delete
_ all (12) -
delete
_ attribute (12) - description (12)
-
destination
_ encoding _ name (24) - det (24)
-
det
_ e (12) - determinant (24)
-
determinant
_ e (12) - dev (12)
- diagonal? (12)
-
dsa
_ sign _ asn1 (12) - each (60)
-
each
_ attribute (24) -
each
_ byte (24) -
each
_ char (24) -
each
_ child (24) -
each
_ codepoint (24) -
each
_ element _ with _ attribute (12) -
each
_ entry (27) -
each
_ grapheme _ cluster (8) -
each
_ line (24) -
each
_ pair (24) -
each
_ strongly _ connected _ component (11) -
each
_ strongly _ connected _ component _ from (11) -
each
_ with _ index (24) - eigen (12)
- eigensystem (12)
-
eigenvalue
_ matrix (12) - eigenvalues (12)
-
eigenvector
_ matrix (12) -
eigenvector
_ matrix _ inv (12) - eigenvectors (12)
- element (24)
- element= (12)
-
element
_ name (12) -
elements
_ to _ f (12) -
elements
_ to _ i (12) -
elements
_ to _ r (12) - email (12)
- empty? (12)
- entries (12)
-
entrywise
_ product (8) - eql? (12)
- exclude (12)
- executable (12)
- executables (12)
- expires (12)
- extensions (12)
- extname (12)
-
extra
_ chain _ cert (12) -
extra
_ chain _ cert= (12) -
extra
_ rdoc _ files (12) -
extra
_ rdoc _ files= (12) - fatal (36)
- fetch (24)
-
fetch
_ path (12) -
file
_ entries (24) -
file
_ entries= (24) -
file
_ field (12) -
file
_ name (12) -
file
_ relative _ name (12) - filename (12)
- files (12)
- filter (7)
- find (22)
-
find
_ executable (12) -
find
_ index (36) -
find
_ local _ symbol (12) -
find
_ matching (12) - finish (24)
-
first
_ minor (12) - flush (12)
- form (48)
- format (12)
-
formatted
_ program _ filename (12) - formatter (12)
- ftype (24)
-
full
_ gem _ path (12) -
full
_ name (12) -
garbage
_ collect (12) -
gateway
_ interface (12) -
gem
_ path (24) -
gem
_ signature (12) - generate (12)
-
get
_ attribute (12) -
get
_ attribute _ ns (12) -
get
_ file _ uri _ path (12) -
get
_ path (12) - gsub (48)
- gsub! (48)
-
hadamard
_ product (8) -
has
_ attributes? (12) - hash (12)
- hermitian? (12)
- hidden (12)
- homepage (12)
- hstack (12)
- html (24)
- httpdate (24)
- imag (12)
-
image
_ format (12) - imaginary (12)
- img (12)
- indent (12)
- indent= (12)
- index (48)
-
index
_ signature (12) - inflate (12)
- inspect (89)
-
install
_ update _ defaults _ str (12) -
installation
_ path (12) - inv (12)
- inverse (12)
- investigation (12)
-
irb
_ path (12) - isatty (12)
- iso8601 (24)
- jisx0301 (24)
- l (12)
- label (12)
-
laplace
_ expansion (12) -
last
_ match _ tried (6) -
last
_ spec (6) -
last
_ spec _ tried (6) -
latest
_ cache _ file (12) -
latest
_ system _ cache _ file (12) -
latest
_ user _ cache _ file (12) - length (12)
- lex (8)
-
lib
_ dirs _ for (12) -
lib
_ files (12) - libpathflag (12)
- lineno (12)
- lines (7)
-
link
_ command (12) -
loaded
_ from (12) - location (1)
- log (2)
-
lower
_ triangular? (12) - lup (12)
-
lup
_ decomposition (12) - mailbox (12)
- map (24)
- map! (14)
-
mark
_ version (12) - match (60)
- match? (30)
- matched (12)
- matched? (12)
-
matched
_ count (6) -
matched
_ size (12) -
matched
_ string (6) - matchedsize (12)
-
matching
_ files (12) - minor (24)
- mlsd (20)
- mlst (10)
-
multipart
_ form (48) -
must
_ match (1) - name (48)
- names (12)
- namespace (12)
- namespaces (12)
- ndata (12)
- negotiate (12)
- next (12)
-
node
_ type (12) - normal? (12)
- normalize (12)
- normalized= (12)
- notationdecl (12)
- notify (24)
-
object
_ nl (12) -
object
_ nl= (12) - oid (12)
- oid= (12)
-
open
_ uri _ or _ path (12) -
original
_ dir (12) -
original
_ name (12) -
original
_ platform (12) - orthogonal? (12)
- os (12)
- p (12)
- pack (21)
-
package
_ dir _ path (12) - params (12)
- parse (8)
-
password
_ field (12) - path (234)
-
path
_ info (24) -
path
_ translated (12) - pathmap (12)
-
pathmap
_ explode (12) -
pathmap
_ partial (12) -
pathmap
_ replace (12) - pathname (10)
- pattern (12)
- permutation? (12)
- pivots (12)
- platform (12)
-
post
_ match (24) -
pre
_ match (24) - prefix (12)
- prefixes (12)
- printf (12)
- private (12)
-
private
_ decrypt (12) -
private
_ encrypt (12) -
private
_ instance _ methods (12) -
private
_ method _ defined? (12) -
private
_ methods (12) -
processing
_ instruction (12) -
protected
_ methods (12) - prune (6)
- public (12)
-
public
_ methods (12) -
radio
_ group (12) - rakefile (12)
- rank (12)
-
rank
_ e (12) -
raw
_ data (36) -
re
_ string (6) - read (12)
-
readable
_ atfer _ eof? (12) - readlines (12)
- readlink (18)
- real (12)
- real? (12)
- realm (12)
-
record
_ separator (6) - rect (12)
- rectangular (12)
-
recvfrom
_ nonblock (12) - recvmsg (12)
-
recvmsg
_ nonblock (12) - regular? (12)
- remove (12)
-
remove
_ leading _ dot _ dir (12) -
remove
_ private _ comments (12) -
require
_ path (12) -
require
_ paths (12) - reset (12)
-
reset
_ cache _ data (12) - retrbinary (12)
-
return
_ format (12) - rewind (12)
- rfc2822 (12)
- rfc3339 (24)
- rfc822 (12)
- rindex (12)
- rmtree (12)
- round (12)
- route (12)
- row (24)
-
row
_ count (12) -
row
_ size (12) -
row
_ vectors (12) -
rubygems
_ version (12) - say (12)
- scan (24)
- scanf (12)
-
scrolling
_ list (12) - select (24)
-
set
_ cache _ data (12) -
set
_ dictionary (24) -
set
_ error (12) - sign (12)
-
signature
_ algorithm (36) -
signing
_ key (12) - singular? (24)
- size (12)
-
skew
_ symmetric? (7) - solve (12)
-
source
_ location (43) - space (18)
- space= (12)
-
space
_ before (12) -
space
_ before= (12) -
spec
_ count (6) -
spec
_ path (12) - split (18)
- square? (12)
-
start
_ element (12) - state (12)
-
static
_ path (12) - status (48)
-
status
_ line (12) -
status
_ string (12) - store (12)
- strftime (24)
- string (12)
-
string
_ left (6) - struct (12)
- sub (36)
- sub! (36)
- submit (12)
- succ (12)
- summary (12)
- symmetric? (12)
- sync (12)
- syssign (12)
- system (12)
- t (12)
-
tag
_ start (12) - template (24)
-
template
_ dir (12) - terminate (12)
-
terminate
_ interaction (12) -
terminate
_ job (6) - terminated? (12)
-
test
_ file (12) -
test
_ files (12) -
test
_ suite _ file (12) - text (12)
-
text
_ field (12) - textarea (12)
-
time
_ format (12) -
to
_ a (60) -
to
_ ary (24) -
to
_ binary (10) -
to
_ der (36) -
to
_ f (12) -
to
_ json (144) -
to
_ json _ raw (12) -
to
_ json _ raw _ object (12) -
to
_ path (39) -
to
_ pem (12) -
to
_ r (12) -
to
_ ruby (12) -
to
_ s (225) -
to
_ string (12) -
to
_ text (12) - tr! (12)
-
tr
_ s (12) -
tr
_ s! (12) - trace (24)
-
transform
_ keys (8) -
transform
_ keys! (8) -
transform
_ values (9) -
transform
_ values! (9) - transpose (12)
- truncate (138)
-
try
_ file (12) -
try
_ static _ assert (24) - u (12)
-
uid
_ fetch (12) -
uid
_ store (12) - unitary? (12)
-
unix
_ path (12) -
unmatched
_ alias _ lists (12) - unpack (12)
- unpack1 (9)
- update (36)
- updated (36)
-
upper
_ triangular? (12) - v (12)
-
v
_ inv (12) - value (48)
- value= (12)
-
values
_ at (60) - version (12)
- vstack (12)
- write (60)
- xmlschema (24)
- xpath (24)
- zero? (12)
- zone (12)
検索結果
先頭5件
-
Matrix
# tr -> Integer | Float | Rational | Complex (24302.0) -
トレース (trace) を返します。
...トレース (trace) を返します。
行列のトレース (trace) とは、対角要素の和です。
//emlist[例][ruby]{
require 'matrix'
Matrix[[7,6], [3,9]].trace # => 16
//}
trace は正方行列でのみ定義されます。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が... -
String
# tr(pattern , replace) -> String (21350.0) -
pattern 文字列に含まれる文字を検索し、 それを replace 文字列の対応する文字に置き換えます。
...pattern 文字列に含まれる文字を検索し、
それを replace 文字列の対応する文字に置き換えます。
pattern の形式は tr(1) と同じです。つまり、
`a-c' は a から c を意味し、"^0-9" のように
文字列の先頭が `^' の場合は指定文字以外......囲が pattern の範囲よりも小さい場合は、
replace の最後の文字が無限に続くものとして扱われます。
@param pattern 置き換える文字のパターン
@param replace pattern で指定した文字を置き換える文字
//emlist[例][ruby]{
p "foo".tr("f", "......oo"
p "foo".tr('a-z', 'A-Z') # => "FOO"
p "FOO".tr('A-Z', 'a-z') # => "foo"
# シーザー暗号の復号
p "ORYV".tr("A-Z", "D-ZA-C") # => "RUBY"
# 全角英数字といくつかの記号の半角化
email = "ruby−lang@example.com"
p email.tr("0-9... -
CGI
:: QueryExtension # path _ translated -> String (18401.0) -
ENV['PATH_TRANSLATED'] を返します。
...ENV['PATH_TRANSLATED'] を返します。... -
Matrix
:: EigenvalueDecomposition # eigenvector _ matrix -> Matrix (18401.0) -
右固有ベクトルを横に並べた行列を返します。
右固有ベクトルを横に並べた行列を返します。 -
Matrix
:: EigenvalueDecomposition # eigenvector _ matrix _ inv -> Matrix (18401.0) -
左固有ベクトルを縦に並べた行列を返します。
...左固有ベクトルを縦に並べた行列を返します。
これは Matrix::EigenvalueDecomposition#v の逆行列です... -
REXML
:: Attributes # each _ attribute {|attribute| . . . } -> () (18401.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/a").first
a.attributes.each_attribute do |attr|
p [attr.namespace, attr.name, attr.value]
end
# => ["http://example.org/foo", "att", "1"]
# => ["http://example.org/bar", "att", "2"]
# => ["", "att", "<"]
//}... -
REXML
:: Attributes # get _ attribute(name) -> Attribute | nil (18401.0) -
name という名前の属性を取得します。
...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='<'/>
</root>
EOS
a = doc.get_elements("/root/a").first
a.attributes.get_attribute("at......t") # => att='<'
a.attributes.get_attribute("foo:att") # => foo:att='1'
//}... -
REXML
:: Attributes # get _ attribute _ ns(namespace , name) -> REXML :: Attribute | nil (18401.0) -
namespace と name で特定される属性を返します。
...:att='1' bar:att='2' att='<'/>
</root>
EOS
a = doc.get_elements("/root/a").first
a.attributes.get_attribute_ns("", "att") # => att='<'
a.attributes.get_attribute_ns("http://example.org/foo", "att") # => foo:att='1'
a.attributes.get_attribute_ns("http://example.org/baz", "att") # => nil
a.attr......ibutes.get_attribute_ns("http://example.org/foo", "attt") # => nil
//}... -
Net
:: IMAP :: StatusData # attr -> { String => Integer } (18301.0) -
STATUS 応答の内容をハッシュで返します。
...STATUS 応答の内容をハッシュで返します。
ハッシュのキーは
"MESSAGES", "RECENT", "UIDNEXT", "UIDVALIDITY", "UNSEEN"
などが使われます。
詳しくは 2060 の 6.3.10、7.2.4 を見てください。...