Method: CommandKit::Options::Option#separator

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

#separator'=', ...

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 separator characer between the option and option value.

Returns:

  • ('=', ' ', nil)


135
136
137
138
139
140
141
# File 'lib/command_kit/options/option.rb', line 135

def separator
  if @value
    if equals? then '='
    else            ' '
    end
  end
end