Method: CommandBuilder#separators
- Defined in:
- lib/command-builder.rb
#separators ⇒ Array
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
37 38 39 |
# File 'lib/command-builder.rb', line 37 def separators @separators end |