diff options
| author | BurdetteLamar <burdettelamar@yahoo.com> | 2021-03-28 12:24:21 -0500 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-03-29 15:55:41 +0900 |
| commit | 7846f3201a1381cf07ff7477b8a1d6744a853c78 (patch) | |
| tree | 166e4cce81ceec6b090dd9b93eb00171a23e568c /lib/optparse/kwargs.rb | |
| parent | eca8ffaa0b446db0a1cacc82a2e73155f6fd3fce (diff) | |
[ruby/optparse] Change *opts to *params, to avoid confusion
https://github.com/ruby/optparse/commit/f5f5e202dd
Diffstat (limited to 'lib/optparse/kwargs.rb')
| -rw-r--r-- | lib/optparse/kwargs.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/optparse/kwargs.rb b/lib/optparse/kwargs.rb index ed58cc142b..5a2def4747 100644 --- a/lib/optparse/kwargs.rb +++ b/lib/optparse/kwargs.rb @@ -2,6 +2,9 @@ require 'optparse' class OptionParser + # :call-seq: + # define_by_keywords(options, method, **params) + # def define_by_keywords(options, meth, **opts) meth.parameters.each do |type, name| case type |
