Class: AudioFeedManager::ArgumentsSpecification::Argument
- Inherits:
-
Struct
- Object
- Struct
- AudioFeedManager::ArgumentsSpecification::Argument
- Defined in:
- lib/audio_feed_manager/cli/arguments_specification.rb
Instance Attribute Summary collapse
-
#default ⇒ Object
Returns the value of attribute default.
-
#description ⇒ Object
Returns the value of attribute description.
-
#name ⇒ Object
Returns the value of attribute name.
-
#required ⇒ Object
Returns the value of attribute required.
Instance Method Summary collapse
Instance Attribute Details
#default ⇒ Object
Returns the value of attribute default
5 6 7 |
# File 'lib/audio_feed_manager/cli/arguments_specification.rb', line 5 def default @default end |
#description ⇒ Object
Returns the value of attribute description
5 6 7 |
# File 'lib/audio_feed_manager/cli/arguments_specification.rb', line 5 def description @description end |
#name ⇒ Object
Returns the value of attribute name
5 6 7 |
# File 'lib/audio_feed_manager/cli/arguments_specification.rb', line 5 def name @name end |
#required ⇒ Object
Returns the value of attribute required
5 6 7 |
# File 'lib/audio_feed_manager/cli/arguments_specification.rb', line 5 def required @required end |
Instance Method Details
#optional ⇒ Object
10 11 12 |
# File 'lib/audio_feed_manager/cli/arguments_specification.rb', line 10 def optional !required end |
#usage_name ⇒ Object
6 7 8 |
# File 'lib/audio_feed_manager/cli/arguments_specification.rb', line 6 def usage_name name.upcase end |
#varargs ⇒ Object
14 15 16 |
# File 'lib/audio_feed_manager/cli/arguments_specification.rb', line 14 def varargs false end |