るりまサーチ

最速Rubyリファレンスマニュアル検索!
1288件ヒット [201-300件を表示] (0.023秒)
トップページ > クエリ:attribute[x]

別のキーワード

  1. attribute new
  2. attribute value
  3. element add_attribute
  4. rexml/document attribute
  5. rexml/document add_attribute

検索結果

<< < 1 2 3 4 5 ... > >>

REXML::Element#each_element_with_attribute(key, value = nil, max = 0, name = nil) {|element| ... } -> () (6125.0)

特定の属性を持つすべての子要素を引数としてブロックを呼び出します。

...ent_with_attribute('id'){|e| p e }
# >> <b id='1'/>
# >> <c id='2'/>
# >> <d id='1'/>
doc.root.each_element_with_attribute('id', '1'){|e| p e }
# >> <b id='1'/>
# >> <d id='1'/>
doc.root.each_element_with_attribute('id', '1', 1){|e| p e }
# >> <b id='1'/>
doc.root.each_element_with_attribute('id', '...

Gem::Specification.array_attribute(name) -> () (6123.0)

Gem::Specification.attribute と同じですが、値を配列に格納するアクセサを作ります。

...Gem::Specification.attribute と同じですが、値を配列に格納するアクセサを作ります。

@param name 属性の名前を指定します。

@see Gem::Specification.attribute...

URI::LDAP#attributes=(s) (6122.0)

自身の Attribute を文字列で設定します。

...自身の Attribute を文字列で設定します。

@param s 自身の Attribute を文字列で設定します。...

URI::LDAP#attributes -> String (6116.0)

自身の Attribute を文字列で返します。

...自身の Attribute を文字列で返します。...

Gem::Specification.attribute_alias_singular(singular, plural) -> () (6107.0)

既に存在する複数形の属性の単数形バージョンを定義します。

...それを配列に追加するようなヘルパーメソッドを定義するということです。

例:

# このように定義すると
attribute
_alias_singular :require_path, :require_paths
# こう書くかわりに
s.require_paths = ['mylib']
# こう書くことができます...

絞り込み条件を変える

Gem::Specification.required_attribute(name, default = nil) -> () (6107.0)

必須の属性を作成します。

...必須の属性を作成します。

@param name 属性名を指定します。

@param default デフォルト値を指定します。

@see Gem::Specification.attribute...

Gem::Specification.attribute_defaults -> Array (6101.0)

@todo

...@todo

@@attributes の複製を返します。...

Gem::Specification.attribute_names -> Array (6101.0)

属性名の配列を返します。

属性名の配列を返します。

Gem::Specification.required_attribute?(name) -> bool (6101.0)

必須属性であれば真を返します。

必須属性であれば真を返します。

@param name 属性名を指定します。
<< < 1 2 3 4 5 ... > >>