diff options
| author | zverok <zverok.offline@gmail.com> | 2019-10-27 12:39:33 +0200 |
|---|---|---|
| committer | Koichi Sasada <ko1@atdot.net> | 2019-11-20 13:42:56 +0900 |
| commit | 4b583cff97025394fab4a014a2a8606dfb557475 (patch) | |
| tree | 47c30089de12ea722acc0b5139dfc7af2c8f649d /spec/ruby/core/array/map_spec.rb | |
| parent | da0d7211aa85b90f2246e2d9abfe08105f7ddedb (diff) | |
Method parameters inspect
Example:
def m(a, b=nil, *c, d:, e: nil, **rest, &block)
end
p method(:m)
#=> #<Method: m(a, b=<default>, *c, d:, e: <default>, **rest, &block) ...>
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2618
Diffstat (limited to 'spec/ruby/core/array/map_spec.rb')
0 files changed, 0 insertions, 0 deletions
