summaryrefslogtreecommitdiff
path: root/lib/optparse/kwargs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/optparse/kwargs.rb')
-rw-r--r--lib/optparse/kwargs.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/optparse/kwargs.rb b/lib/optparse/kwargs.rb
index ed58cc1..5a2def4 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