るりまサーチ

最速Rubyリファレンスマニュアル検索!
42件ヒット [1-42件を表示] (0.022秒)
トップページ > クエリ:name[x] > クエリ:receiver[x] > 種類:文書[x]

別のキーワード

  1. _builtin name
  2. resolv each_name
  3. openssl name
  4. win32ole name
  5. net/imap name

検索結果

NEWS for Ruby 2.7.0 (85.0)

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

...END
{
"name": "Alice",
"age": 30,
"children": [{ "name": "Bob", "age": 2 }]
}
END

JSON.parse(json, symbolize_names: true) in {name: "Alice", children: [{name: name, age: age}]}

p name #=> "Bob"
p age #=> 2

JSON.parse(json, symbolize_names: true) in {name: "Alice", children: [{name: "Charli...
...先されますが、
警告が表示されます。

_1 = 0 #=> warning: `_1' is reserved for numbered parameter; consider another name
[1].each { p _1 } # prints 0 instead of 1

==== ブロックなしの proc/lambda が deprecated

* ブロック付きで呼び出されたメ...
...extnameが「.」で終わる文字列に対して
「.」を返すようになりました。 15267

//emlist[][ruby]{
File.extname("foo.") #=> "."
//}

* FrozenError
* 新規メソッド
* 変更しようとしたfreezeされたオブジェクトを返すFrozenError#receiver...

NEWS for Ruby 2.6.0 (55.0)

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

...ディスクリプタに FD_CLOEXEC フラグは設定されます。) 14907

* KeyError
* 新規オプション
* KeyError.new に :receiver と :key にオプションが追加されて
Ruby コードからも設定できるようになりました。 14313

* Method
*...
...ックします。
それ以外の場合はそのクラス自身のみチェックします。 14944

* NameError
* 新規オプション
* NameError.new に :receiver オプションが追加されて
Ruby コードからも設定できるようになりました。 14313...
...MENT_NAME}" 記法をサポート
* いくつかの XPath 実装を修正:
* "//#{ELEMENT_NAME}[#{POSITION}]" の問題
* string() 関数: function(document) がルート要素の外のノードを返すのを修正
* "/ #{ELEMENT_NAME} " の問題
* "/ #{ELEMENT_NAME} [...

NEWS for Ruby 3.0.0 (49.0)

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

...ption. 8709
* ENV
* ENV.except has been added, which returns a hash excluding the given keys and their values. 15822
* Windows: Read ENV names and values as UTF-8 encoded Strings 12650
* Encoding
* Added new encoding IBM720. 16233
* Changed default for Encoding.default_externa...
...en called with the `freeze: true` keyword will call `#initialize_clone` with the `freeze: true` keyword, and will return a frozen copy even if the receiver is unfrozen. 16175
* Kernel#eval when called with two arguments will use `"(eval)"` for `__FILE__` and `1` for `__LINE__` in the evaluated c...
...now affect classes and modules that have already included or prepended the receiver, mirroring the behavior if the arguments were included in the receiver before the other modules and classes included or prepended the receiver. 9573
* Module#public, Module#protected, Module#private, Module#publi...

NEWS for Ruby 2.5.0 (25.0)

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

...File.stat, File.exist? など rb_stat() を使用しているメソッドではGVLを解放するようになりました
13941
* File.rename GVL を解放するようになりました 13951
* File::Stat#atime, File::Stat#mtime, File::Stat#ctime
Windows 8 以降でタイムス...
...me.at は第2引数の精度を指定するための第3引数を指定できるようになりました
13919

* KeyError
* KeyError#receiver を追加 12063
* KeyError#key を追加 12063

* FrozenError
* 新しい例外クラスです 13224

=== 標準添付ライブラリ...
...his much improves the speed of generating documents.
* It also facilitates supporting new syntax in the future.
* Support many new syntaxes of Ruby from the past few years.
* Use "frozen_string_literal: true".
This reduces document generation time by 5%.
* Support d...

Ruby用語集 (25.0)

Ruby用語集 A B C D E F G I J M N O R S Y

...し、切り替えて使うための
ツールの一つ。Linux、macOS などで動作する。

https://github.com/rbenv/rbenv

: RD(Ruby Document format)
Ruby スクリプト中に記述することを念頭に作られたドキュメントフォーマット。

: RDoc
Ruby スクリ...
...関係が
なく、再定義もできない。
代入式「n = 1」における「=」は代入演算子である。
「str.size」「user&.name」といったメソッド呼び出しにおける
「.」「&.」も演算子である。
「[*0..9]」におけるいわゆる splat 展開の...
...ような場所ではどこでも同じ
変数が読み書きできるため、レキシカルスコープではない。

: レシーバー
: receiver
メソッドは何らかの特定のオブジェクトについて呼び出される。
このオブジェクトをそのメソッド呼び出...

絞り込み条件を変える

NEWS for Ruby 2.3.0 (19.0)

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

...//}
* 属性値の代入にも使えます
//emlist{
obj&.attr += 1
//}

* did_you_mean gem:
* 名前のタイポによって NameError や NoMethodError が起きたときに、自動的に他の似た名前を提案してくれます。
//emlist{
"Yuki".starts_with?("Y...
...た要素を返します。
11498

* Module
* Module#deprecate_constant を追加
11398

* NameError
* レシーバーオブジェクトを返す NameError#receiver を追加
10881

* Numeric
* Numeric#positive?, Numeric#negative? を追加
11151

* Proc...
...加されました
11785

* Struct
* Struct#dig を追加
11688

* Thread
* スレッド名を扱うために Thread#name, Thread#name= を追加
11251

=== 組み込みクラスの互換性 (機能追加とバグ修正を除く)

* Array
* Array#select!, Array#ke...