Method: CommandBuilder#separators

Defined in:
lib/command-builder.rb

#separatorsArray

Holds separators matrix. It's four-items array:

  • short argument separator,
  • short argument name/value separator,
  • long argument separator,
  • short argument name/value separator.

Here is some example in the same order as in command:

["-", " ", "--", "="]

command -s something --long=something

Returns:

  • (Array)

    separators matrix



37
38
39
# File 'lib/command-builder.rb', line 37

def separators
  @separators
end