class Cri::CommandDSL::AlreadySpecifiedWithParams

Error that will be raised when declaring the command as taking no parameters, when the command is already declared with parameters.

Public Class Methods

new(command) click to toggle source
Calls superclass method
# File lib/cri/command_dsl.rb, line 18
def initialize(command)
  super("Attempted to declare the command #{command.name.inspect} as taking no parameters, but some parameters are already declared for this command. Suggestion: remove the #no_params call.")
end