Method: CommandKit::Options::Option#short

Defined in:
lib/command_kit/options/option.rb

#shortString? (readonly)

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 option's optional short-flag.

Returns:

  • (String, nil)


26
27
28
# File 'lib/command_kit/options/option.rb', line 26

def short
  @short
end