class WiseGopher::ParamAlreadyDeclared

raised when param are raw_param are declared with the same name

Attributes

param_name[R]

Public Class Methods

new(param_name) click to toggle source
# File lib/wise_gopher/errors.rb, line 71
def initialize(param_name)
  @param_name = param_name
end

Public Instance Methods

message() click to toggle source
# File lib/wise_gopher/errors.rb, line 75
def message
  "'#{param_name}' is already declared either as 'raw_param' or standard 'param'."
end