576件ヒット
[1-100件を表示]
(0.100秒)
別のキーワード
ライブラリ
-
net
/ imap (72) - pathname (12)
- pstore (60)
- psych (24)
-
rexml
/ document (384) -
rexml
/ streamlistener (12) -
rubygems
/ security (12)
クラス
-
Gem
:: Security :: Policy (12) -
Net
:: IMAP (36) -
Net
:: IMAP :: MailboxQuotaRoot (24) -
Net
:: IMAP :: ThreadMember (12) - PStore (60)
- Pathname (12)
-
Psych
:: Nodes :: Node (12) -
Psych
:: TreeBuilder (12) -
REXML
:: Attributes (156) -
REXML
:: DocType (12) -
REXML
:: Element (144) -
REXML
:: Elements (72)
モジュール
キーワード
- [] (24)
- []= (24)
- abort (12)
-
add
_ attribute (24) - attribute (12)
- delete (36)
-
delete
_ all (12) -
delete
_ element (12) - doctype (12)
- each (24)
-
each
_ attribute (12) -
each
_ element _ with _ attribute (12) -
each
_ element _ with _ text (12) - fetch (12)
-
get
_ attribute (12) -
get
_ attribute _ ns (12) -
get
_ text (12) - getquota (12)
- getquotaroot (12)
-
has
_ elements? (12) - length (12)
- mailbox (12)
- namespaces (12)
-
next
_ element (12) - prefixes (12)
- public (12)
- quotaroots (12)
- root? (24)
- seqno (12)
- setquota (12)
- size (24)
- tag (12)
- text (12)
- text= (12)
-
to
_ a (24) - transaction (12)
-
verify
_ root (12) - xpath (12)
検索結果
先頭5件
-
Psych
:: TreeBuilder # root -> Psych :: Nodes :: Stream (21118.0) -
AST の root を返します。
...AST の root を返します。
@see Psych::Nodes::Stream... -
Net
:: IMAP :: MailboxQuotaRoot # quotaroots -> [String] (12117.0) -
問い合わせしたメールボックスの quota root 名を配列で返します。
...問い合わせしたメールボックスの quota root 名を配列で返します。
空の場合もありえます。... -
Net
:: IMAP :: MailboxQuotaRoot # mailbox -> String (12101.0) -
問い合わせしたメールボックスの名前を返します。
問い合わせしたメールボックスの名前を返します。 -
REXML
:: Attributes # each _ attribute {|attribute| . . . } -> () (9219.0) -
各属性に対しブロックを呼び出します。
...::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").f......irst
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 (9219.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("a......tt") # => att='<'
a.attributes.get_attribute("foo:att") # => foo:att='1'
//}... -
REXML
:: Attributes # get _ attribute _ ns(namespace , name) -> REXML :: Attribute | nil (9219.0) -
namespace と name で特定される属性を返します。
...)
//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_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.attributes.get_attribute_ns("http://example.org/foo", "attt") # => nil
//}... -
Net
:: IMAP # getquotaroot(mailbox) -> [Net :: IMAP :: MailboxQuotaRoot | Net :: IMAP :: MailboxQuota] (6535.0) -
GETQUOTAROOT コマンドを送って 指定したメールボックスの quota root の一覧と、 関連する quota の情報を返します。
...GETQUOTAROOT コマンドを送って
指定したメールボックスの quota root の一覧と、
関連する quota の情報を返します。
quota root の情報は Net::IMAP::MailboxQuotaRoot のオブジェクトで、
返り値の配列の中に唯一含まれています。
quota の情......られた quota root ごとに
Net::IMAP::MailboxQuota オブジェクトで得られます。
詳しくは 2087 を見てください。
このコマンドは Net::IMAP#capability の返り値を見ることで
利用可能かどうか判断できます。
@param mailbox quota root を得たい... -
REXML
:: Element # attribute(name , namespace = nil) -> REXML :: Attribute | nil (6219.0) -
name で指定される属性を返します。
...name で指定される属性を返します。
属性は REXML::Attribute オブジェクトの形で返します。
name は "foo:bar" のように prefix を指定することができます。
namespace で名前空間の URI を指定することで、その名前空間内で
name という......list[][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.attribute("att") # => att='<'
a.attribute("att......", "http://example.org/bar") # => bar:att='2'
a.attribute("bar:att") # => bar:att='2'
a.attribute("baz") # => nil
//}... -
Pathname
# root? -> bool (6214.0) -
self がルートディレクトリであれば真を返します。判断は文字列操作によっ て行われ、ファイルシステムはアクセスされません。
...self がルートディレクトリであれば真を返します。判断は文字列操作によっ
て行われ、ファイルシステムはアクセスされません。
//emlist[例][ruby]{
require 'pathname'
Pathname('/').root? # => true
Pathname('/im/sure').root? # => false
//}...