ruby-changes:63203
From: Kazuhiro <ko1@a...>
Date: Tue, 29 Sep 2020 22:50:31 +0900 (JST)
Subject: [ruby-changes:63203] cece71b467 (master): Add call-seq of [Feature #16274]
https://git.ruby-lang.org/ruby.git/commit/?id=cece71b467 From cece71b46708d69c74583d48478ea4d0401bb746 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA <zn@m...> Date: Tue, 29 Sep 2020 22:49:44 +0900 Subject: Add call-seq of [Feature #16274] diff --git a/hash.c b/hash.c index 15c839c..c496ca6 100644 --- a/hash.c +++ b/hash.c @@ -3195,6 +3195,7 @@ transform_keys_i(VALUE key, VALUE value, VALUE result) https://github.com/ruby/ruby/blob/trunk/hash.c#L3195 /* * call-seq: * hash.transform_keys {|key| ... } -> new_hash + * hash.transform_keys(hash2) -> new_hash * hash.transform_keys -> new_enumerator * * Returns a new \Hash object; each entry has: -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/