Class: GitCompound::Command::Arguments::Type::Parameter::String

Inherits:
GitCompound::Command::Arguments::Type::Parameter show all
Defined in:
lib/git_compound/command/arguments/type/parameter/string.rb

Overview

String parameter implementation

Instance Method Summary collapse

Instance Method Details

#valid?Boolean

Returns:



9
10
11
# File 'lib/git_compound/command/arguments/type/parameter/string.rb', line 9

def valid?
  @args.include?(@key) && value!.is_a?(::String)
end