Project

General

Profile

« Previous | Next » 

Revision 693ce6af

Added by jeremyevans (Jeremy Evans) almost 4 years ago

Update documentation for ruby2_keywords

Point out that the method should be used for backwards compatibility
with code prior to Ruby 3.0 instead of Ruby 2.7. It's still needed
in Ruby 2.7. It isn't needed in Ruby 3.0, as the methods using it
could switch to delegating both positional and keyword arguments.

Add a link to the www.ruby-lang.org web page that goes into detail
describing when and how ruby2_keywords should be used.