るりまサーチ

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

別のキーワード

  1. objspace allocation_sourcefile
  2. objspace allocation_sourceline
  3. objectspace allocation_sourcefile
  4. objectspace allocation_sourceline
  5. allocation_sourcefile objspace

検索結果

NEWS for Ruby 2.1.0 (49.0)

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

...k_getres

* String
* "literal".freeze は同じオブジェクトを返すように最適化されました。
* 追加: String#scrub, String#scrub! 不正なバイト列を検証して修正します。
古いバージョンのRubyと一緒に使いたいときは string-scrub gem...
...を使います。

* Symbol
* 全てのシンボルは freeze されるようになりました

* pack/unpack (Array/String)
* プラットフォームが対応していれば Q! と q! は long long 型を表します

* toplevel
* main.using はもはや実験的な機能では...
...s the former behavior.

* String
* 以下のコードでレシーバーのエンコーディングと変換後のエンコーディングが同一でも
不正なバイト列を置き換えるようになりました。
//emlist{
include_invalid_byte_string.encode("UTF-8", invalid: :...