408件ヒット
[1-100件を表示]
(0.176秒)
ライブラリ
-
net
/ imap (36) - pstore (48)
-
rexml
/ document (252) -
rexml
/ streamlistener (36) -
rubygems
/ security (12) -
rubygems
/ server (12)
クラス
-
Gem
:: Security :: Policy (12) -
Gem
:: Server (12) -
Net
:: IMAP (36) - PStore (48)
-
RDoc
:: Options (12) -
REXML
:: Attributes (60) -
REXML
:: Element (132) -
REXML
:: Elements (60)
モジュール
キーワード
- [] (24)
- []= (12)
-
add
_ attribute (24) -
add
_ element (12) - attribute (12)
- delete (36)
-
delete
_ all (12) -
delete
_ element (12) -
delete
_ namespace (12) - doctype (12)
- each (12)
-
each
_ element _ with _ attribute (12) -
each
_ element _ with _ text (12) - elementdecl (12)
- entitydecl (12)
- fetch (12)
-
get
_ attribute (12) -
get
_ attribute _ ns (12) -
get
_ text (12) - getquota (12)
- getquotaroot (12)
- root= (12)
- root? (12)
- setquota (12)
- text (12)
- text= (12)
-
to
_ a (12) - transaction (12)
-
verify
_ root= (12)
検索結果
先頭5件
-
Gem
:: Server # root(request , response) -> () (24214.0) -
メソッド名に対応する URI に対するリクエストを処理するメソッドです。
...メソッド名に対応する URI に対するリクエストを処理するメソッドです。
@param request WEBrick::HTTPRequest オブジェクトが自動的に指定されます。
@param response WEBrick::HTTPResponse オブジェクトが自動的に指定されます。... -
Net
:: IMAP # getquotaroot(mailbox) -> [Net :: IMAP :: MailboxQuotaRoot | Net :: IMAP :: MailboxQuota] (12341.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 を得たい......メールボックス名(文字列)
@raise Net::IMAP::NoResponseError 指定したメールボックスが存在しない場合に発生します... -
RDoc
:: Options # root=(val) (12224.0) -
コマンドライン引数の --root オプションと同様の指定を行います。
...コマンドライン引数の --root オプションと同様の指定を行います。
@param val パスを文字列で指定します。... -
Gem
:: Security :: Policy # verify _ root=(flag) (12208.0) -
証明書チェーンのルートを検証するかどうかを設定します。
...証明書チェーンのルートを検証するかどうかを設定します。
@param flag 真、または偽を指定します。... -
PStore
# root?(name) -> bool (12208.0) -
ルート name がデータベースに格納されている場合に真を返します。
...ルート name がデータベースに格納されている場合に真を返します。
@param name 探索するルート。
@raise PStore::Error トランザクション外でこのメソッドが呼び出された場合に発生します。
@see Hash#key?... -
REXML
:: Attributes # get _ attribute _ ns(namespace , name) -> REXML :: Attribute | nil (9131.0) -
namespace と name で特定される属性を返します。
...。
@param namespace 名前空間(URI, 文字列)
@param 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......et_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... -
REXML
:: Attributes # get _ attribute(name) -> Attribute | nil (9125.0) -
name という名前の属性を取得します。
...@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='<'/>
</root>
EOS
a = doc.get_elements("....../root/a").first
a.attributes.get_attribute("att") # => att='<'
a.attributes.get_attribute("foo:att") # => foo:att='1'
//}... -
REXML
:: Element # add _ attribute(attr) -> () (6255.0) -
要素の属性を追加します。 同じ名前の属性がすでにある場合はその属性を新しい 属性で置き換えます。
...::Attribute オブジェクトを
渡す方法です。
文字列2つで指定する場合、属性値は unnormalized な文字列を渡す必要があります。
@param key 属性名(文字列)
@param value 属性値(文字列)
@param attr 属性(REXML::Attribute オブジェクト)
//emlist[]......[ruby]{
require 'rexml/document'
doc = REXML::Document.new("<e/>")
doc.root.add_attribute("a", "b"); doc.root # => <e a='b'/>
doc.root.add_attribute("x:a", "c"); doc.root # => <e a='b' x:a='c'/>
doc.root.add_attribute(REXML::Attribute.new("b", "d"))
doc.root # => <e a='b' x:a='c' b='d'/>
//}... -
REXML
:: Element # text=(text) (6237.0) -
「先頭の」テキストノードを text で置き換えます。
... text で置き換えます。
テキストノードを1つ以上保持している場合はそのうち
最初のノードを置き換えます。
要素がテキストノードを保持していない場合は新たなテキストノードが追加されます。
text には文字列、REXML::T......ext、nil のいずれかが指定できます。
REXML::Text オブジェクトを指定した場合には、それが設定され、
文字列を指定した場合には
REXML::Text.new(text, whitespace(), nil, raw())
で生成される Text オブジェクトが設定されます。
nil を指定......ます。
@param text 置き換え後のテキスト(文字列、REXML::Text, nil(削除))
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new('<a><b/></a>')
doc.to_s # => "<a><b/></a>"
doc.root.text = "Foo"; doc.to_s # => "<a><b/>Foo</a>"
doc.root.text = "Bar"; doc.to_s # => "<a>...