Exception: GitShizzle::Dsl::DuplicateCommandDefinitionError

Inherits:
Error
  • Object
show all
Defined in:
lib/git_shizzle/dsl/duplicate_command_definition_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(command) ⇒ DuplicateCommandDefinitionError

Returns a new instance of DuplicateCommandDefinitionError.



5
6
7
# File 'lib/git_shizzle/dsl/duplicate_command_definition_error.rb', line 5

def initialize(command)
  super "The '#{command.identifier}' command was specified twice."
end