るりまサーチ

最速Rubyリファレンスマニュアル検索!
47件ヒット [1-47件を表示] (0.065秒)
トップページ > クエリ:d[x] > クエリ:replacement[x]

別のキーワード

  1. bigdecimal/util to_d
  2. float to_d
  3. kernel $-d
  4. string to_d
  5. integer to_d

ライブラリ

クラス

キーワード

検索結果

Encoding::Converter#replacement -> String (21113.0)

変換器に設定されている置換文字を返します。

...器に設定されている置換文字を返します。

@return 変換器に設定されている置換文字

//emlist[][ruby]{
ec = Encoding::Converter.new("euc-jp", "us-ascii")
p ec.replacement #=> "?"

ec = Encoding::Converter.new("euc-jp", "utf-8")
p ec.replacement #=> "\uFFFD"
//}...

Encoding::Converter#replacement=(string) (9107.0)

置換文字を設定します。

...置換文字を設定します。

@param string 変換器に設定する置換文字

//emlist[][ruby]{
ec = Encoding::Converter.new("utf-8", "us-ascii", :undef => :replace)
ec.replacement = "<undef>"
p ec.convert("a \u3042 b") #=> "a <undef> b"
//}...

REXML::Parent#replace_child(to_replace, replacement) -> () (6229.0)

子ノード列上の to_replace を replacement に置き換えます。

...子ノード列上の to_replace を replacement に置き換えます。

to_replace の parent は nil に、
replacement
の parent は selfに変更されます。

@param to_replace 置き換え元のノード
@param replacement 置き換え先のノード...

NEWS for Ruby 2.2.0 (102.0)

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

...いという長年のバグを修正しました。 9593

=== 組み込みクラスの更新

* Binding
* 追加: Binding#local_variables
* 追加: Binding#receiver

* Dir
* 追加: Dir#fileno

* Enumerable
* 追加: Enumerable#slice_after
* 追加: Enumerable#slice_when...
...
* 改善: メジャーGCにインクリメンタルマーキングを導入しました。 10137

* IO
* 改善: Windows上でパイプのための IO#read_nonblock, IO#write_nonblock をサポートしました。

* Kernel
* 追加: Kernel.#itself(Object#itself)
* 改善: K...
...* rb_quad_pack -> rb_integer_pack
* rb_quad_unpack -> rb_integer_unpack
* rb_read_check : access struct FILE internal. no replacement.
* rb_struct_iv_get : internal function. no replacement.
* struct rb_blocking_region_buffer : internal type. no replacement.
* rb_thread_blocking...