るりまサーチ

最速Rubyリファレンスマニュアル検索!
693件ヒット [1-100件を表示] (0.165秒)

別のキーワード

  1. etc sc_xopen_enh_i18n
  2. rsa n=
  3. rsa n
  4. openssl n
  5. openssl n=

検索結果

<< 1 2 3 ... > >>

Psych::Nodes::Document#root -> Psych::Nodes::Node (21302.0)

ルートノードを返します。

ルートノードを返します。

REXML::Element#root -> REXML::Element (21250.0)

self が属する文書のルート要素を返します。

...ent'
doc = REXML::Document.new(<<EOS)
<root>
<children>
<grandchildren />
</children>
</root>
EOS

children = doc.get_elements("/root/children").first
children.name # => "children"
children.root.name # => "root"
grandchildren = doc.get_elements("/root/children/grandchildren").first
grandchildren.n...
...ame # => "grandchildren"
grandchildren.root.name # => "root"
//}...

RDoc::Options#root -> Pathname (21218.0)

コマンドライン引数の --root オプションで指定したディレクトリを返します。

...コマンドライン引数の --root オプションで指定したディレクトリを返します。

指定されていない場合はカレントディレクトリを返します。...

REXML::Document#root -> REXML::Element | nil (21202.0)

文書のルート要素を返します。

...文書のルート要素を返します。

文書がルート要素を持たない場合は nil を返します。...

Psych::TreeBuilder#root -> Psych::Nodes::Stream (18218.0)

AST の root を返します。

...AST の root を返します。

@see Psych::Nodes::Stream...

絞り込み条件を変える

Gem::Server#root(request, response) -> () (18202.0)

メソッド名に対応する URI に対するリクエストを処理するメソッドです。

...メソッド名に対応する URI に対するリクエストを処理するメソッドです。

@param request WEBrick::HTTPRequest オブジェクトが自動的に指定されます。

@param response WEBrick::HTTPResponse オブジェクトが自動的に指定されます。...

REXML::Element#root_node -> REXML::Document | REXML::Node (12338.0)

self が属する文書のルートノードを返します。

...ent) オブジェクトが
返されます。

その要素が属する REXML::Document オブジェクトが存在しない
場合は木構造上のルートノードが返されます。

//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<root>
<children>
<grandchildren...
.../>
</children>
</root>
EOS

children = doc.get_elements("/root/children").first
children.name # => "children"
children.root_node == doc # => true
grandchildren = doc.get_elements("/root/children/grandchildren").first
grandchildren.name # => "grandchildren"
grandchildren.root_node == doc # => true
/...

Net::IMAP::MailboxQuotaRoot#quotaroots -> [String] (12217.0)

問い合わせしたメールボックスの quota root 名を配列で返します。

...問い合わせしたメールボックスの quota root 名を配列で返します。

空の場合もありえます。...

Net::IMAP#getquotaroot(mailbox) -> [Net::IMAP::MailboxQuotaRoot | Net::IMAP::MailboxQuota] (9435.0)

GETQUOTAROOT コマンドを送って 指定したメールボックスの quota root の一覧と、 関連する quota の情報を返します。

...GETQUOTAROOT コマンドを送って
指定したメールボックスの quota root の一覧と、
関連する quota の情報を返します。

quota root の情報は Net::IMAP::MailboxQuotaRoot のオブジェクトで、
返り値の配列の中に唯一含まれています。
quota の情...
...られた quota root ごとに
N
et::IMAP::MailboxQuota オブジェクトで得られます。

詳しくは 2087 を見てください。
このコマンドは Net::IMAP#capability の返り値を見ることで
利用可能かどうか判断できます。

@param mailbox quota root を得たい...
...メールボックス名(文字列)
@raise Net::IMAP::NoResponseError 指定したメールボックスが存在しない場合に発生します...

REXML::Element#add_element(element, attrs = nil) -> Element (9337.0)

子要素を追加します。

...子要素を追加します。

element として追加する要素を指定します。
REXML::Element オブジェクトもしくは文字列を指定します。

element として REXML::Element オブジェクトを指定した場合、それが追加されます。
文字列を指定した場...
...る要素を追加します。

attrs に { String => String } という Hash を渡すと、
追加する要素の属性を指定できます。

子要素の最後に追加されます。

返り値は追加された要素です。

@param element 追加する要素
@param attrs 追加する要素...
...uby]{
require 'rexml/document'
doc = REXML::Document.new('<a/>')
el = doc.root.add_element 'my-tag' # => <my-tag/>
doc.root.to_s # => "<a><my-tag/></a>"
el = doc.root.add_element 'my-tag', {'attr1'=>'val1', 'attr2'=>'val2'}
# => <my-tag attr1='val1' attr2='val2'/>
doc.root.to_s # => "<a><my-tag/><my...

絞り込み条件を変える

<< 1 2 3 ... > >>