るりまサーチ

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

別のキーワード

  1. bigdecimal/util to_d
  2. float to_d
  3. rsa d=
  4. rsa d
  5. matrix d

検索結果

<< 1 2 3 ... > >>

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

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

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

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

AST の root を返します。

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

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

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

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

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

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

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

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

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

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

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

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

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

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

//emlist[][ruby]{
require 'rexml/document'
d
oc = REXML::Document.new(<<EOS)
<root>
<children>
<grandc...
...hildren />
</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 # =>...

絞り込み条件を変える

RDoc::Options#root=(val) (9118.0)

コマンドライン引数の --root オプションと同様の指定を行います。

...コマンドライン引数の --root オプションと同様の指定を行います。

@param val パスを文字列で指定します。...

RSS::RootElementMixin#output_encoding (9101.0)

@todo

...@todo...

RSS::RootElementMixin#output_encoding= (9101.0)

@todo

...@todo...

REXML::Element#add_attribute(attr) -> () (6149.0)

要素の属性を追加します。 同じ名前の属性がすでにある場合はその属性を新しい 属性で置き換えます。

...alized な文字列を渡す必要があります。

@param key 属性名(文字列)
@param value 属性値(文字列)
@param attr 属性(REXML::Attribute オブジェクト)

//emlist[][ruby]{
require 'rexml/document'
d
oc = REXML::Document.new("<e/>")
d
oc.root.add_attribute("a", "b"); doc.root # =...
...> <e a='b'/>
d
oc.root.add_attribute("x:a", "c"); doc.root # => <e a='b' x:a='c'/>
d
oc.root.add_attribute(REXML::Attribute.new("b", "d"))
d
oc.root # => <e a='b' x:a='c' b='d'/>
//}...
<< 1 2 3 ... > >>