Project

General

Profile

« Previous | Next » 

Revision b609bdeb

Added by nobu (Nobuyoshi Nakada) about 6 years ago

Define arguments forwarding as ruby2_keywords style

Get rid of these redundant and useless warnings.

$ ruby -e 'def bar(a) a; end; def foo(...) bar(...) end; foo({})' -e:1: warning: The last argument is used as the keyword parameter -e:1: warning: for `foo' defined here -e:1: warning: The keyword argument is passed as the last hash parameter -e:1: warning: for `bar' defined here