class Cri::CommandDSL::AlreadySpecifiedAsNoParams
Error
that will be raised when specifying a parameter after the command is already declared as taken no params.
Public Class Methods
new(param, command)
click to toggle source
Calls superclass method
# File lib/cri/command_dsl.rb, line 10 def initialize(param, command) super("Attempted to specify a parameter #{param.inspect} to the command #{command.name.inspect}, which is already specified as taking no params. Suggestion: remove the #no_params call.") end