Method: CommandKit::Options::Option#value?

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

#value?Boolean

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.

Determines if the option has a value.

Returns:

API:

  • private



158
159
160
# File 'lib/command_kit/options/option.rb', line 158

def value?
  !@value.nil?
end