Assignee changed from mame (Yusuke Endoh) to jeremyevans0 (Jeremy Evans)
I think either is fine. This is a weak opinion, but it looks safer to me not to change the actual return value. @jeremyevans0 (Jeremy Evans) Do you have an opinion?
Shouldn't it actually return method's name?.. For things like
privateruby2_keywordsdefmy_method# ....end
?..
That was not my intention, though I don't object to it if someone else wants to make that change. Note that it would have to return an array of symbols, not a single symbol, since ruby2_keywords accepts arbitrary arguments. Also, it raises the question whether ruby2_keywords should include a method symbol if it doesn't mark the method and issues a warning instead.