Method: CommandKit::Options::OptionValue#usage
- Defined in:
- lib/command_kit/options/option_value.rb
#usage ⇒ String?
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.
The usage string for the argument.
110 111 112 113 114 |
# File 'lib/command_kit/options/option_value.rb', line 110 def usage string = @usage string = "[#{string}]" if optional? string end |