module GLI::DSL
Public Instance Methods
Source
# File lib/gli_patches.rb, line 7 def extract_options(names) options = {} options = names.pop if names.last.kind_of? Hash options = { :desc => @next_desc, :long_desc => @next_long_desc, :default_value => @next_default_value, :ignore_default => @ignore_default, :arg_name => @next_arg_name }.merge(options) end