るりまサーチ

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

別のキーワード

  1. cgi element_init
  2. cgi/html element_init
  3. matrix element
  4. rss element
  5. element add_namespace

ライブラリ

クラス

キーワード

検索結果

REXML::Element#clone -> REXML::Element (21202.0)

self を複製して返します。

self を複製して返します。

複製されるのは名前、属性、名前空間のみです。
子ノードは複製されません。

REXML::Attribute#clone -> REXML::Element (18202.0)

self を複製し返します。

self を複製し返します。

REXML::Attribute.new(attribute_to_clone, parent = nil) -> REXML::Attribute (119.0)

新たな属性オブジェクトを生成します。

...ソッドは直接は使わず、REXML::Element#add_attribute などを
使うでしょう。

@param attribute_to_clone 複製元の REXML::Attribute オブジェクト
@param attribute 属性名
@param value 属性の値
@param parent 生成される属性が所属する要素(REXML::Element)...

NEWS for Ruby 3.0.0 (42.0)

NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...tor::ArithmeticSequence

//emlist[][ruby]{
dirty_data = ['--', 'data1', '--', 'data2', '--', 'data3']
dirty_data[(1..).step(2)] # take each second element
# => ["data1", "data2", "data3"]
//}

* Binding
* Binding#eval when called with one argument will use `"(eval)"` for `__FILE__` and `1` for...
...tion context. 16786
* Kernel
* Kernel#clone when called with the `freeze: false` keyword will call `#initialize_clone` with the `freeze: false` keyword. 14266
* Kernel#clone when called with the `freeze: true` keyword will call `#initialize_clone` with the `freeze: true` keyword, and will...
...zen. 8948 16377 15504

//emlist[][ruby]{
/foo/.frozen? #=> true
(42...).frozen? # => true
//}

* EXPERIMENTAL: Hash#each consistently yields a 2-element array. 12706
* Now `{ a: 1 }.each(&->(k, v) { })` raises an ArgumentError due to lambda's arity check.
* When writing to STDOUT redirected...

REXML::Attribute.new(attribute, value, parent = nil) -> REXML::Attribute (19.0)

新たな属性オブジェクトを生成します。

...ソッドは直接は使わず、REXML::Element#add_attribute などを
使うでしょう。

@param attribute_to_clone 複製元の REXML::Attribute オブジェクト
@param attribute 属性名
@param value 属性の値
@param parent 生成される属性が所属する要素(REXML::Element)...

絞り込み条件を変える

NEWS for Ruby 2.4.0 (12.0)

NEWS for Ruby 2.4.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...IO#readlines, IO.foreach は
chomp というキーワード引数を受け付けるようになりました。12553

* Kernel
* Kernel#clone は freeze というキーワード引数を受け付けるようになりました。
12300

* MatchData
* MatchData#named_captures...
...追加 12596

* readline
* Readline.quoting_detection_proc, Readline.quoting_detection_proc= を追加
12659

* rexml
* REXML::Element#[] : If String or Symbol is specified, attribute
value is returned. Otherwise, Nth child is returned. This is
backward compatible chang...