Class: Dry::CLI::Argument Private

Inherits:
Option
  • Object
show all
Defined in:
lib/dry/cli/option.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Command line argument

Since:

  • 0.1.0

Instance Attribute Summary

Attributes inherited from Option

#name, #options

Instance Method Summary collapse

Methods inherited from Option

#alias_names, #aliases, #array?, #boolean?, #default, #desc, #description_name, #flag?, #initialize, #parser_options, #required?, #type, #values

Constructor Details

This class inherits a constructor from Dry::CLI::Option

Instance Method Details

#argument?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)

Since:

  • 0.1.0



133
134
135
# File 'lib/dry/cli/option.rb', line 133

def argument?
  true
end