Class: Argy::Argument

Inherits:
Parameter show all
Defined in:
lib/argy/argument.rb

Overview

An positional argument to be parsed from the command line

Instance Method Summary collapse

Constructor Details

This class inherits a constructor from Argy::Parameter

Instance Method Details

#labelString

The display label for the argument

Returns:

  • (String)


8
9
10
# File 'lib/argy/argument.rb', line 8

def label
  name.to_s.upcase
end