Class: Hanami::CLI::Argument Private

Inherits:
Option
  • Object
show all
Defined in:
lib/hanami/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

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

Constructor Details

This class inherits a constructor from Hanami::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


120
121
122
# File 'lib/hanami/cli/option.rb', line 120

def argument?
  true
end