class Sinject::DependencyContractInvalidParametersException
Public Class Methods
new(method, parameters)
click to toggle source
# File lib/sinject/exceptions.rb, line 14 def initialize(method, parameters) @method = method @parameters = parameters end
Public Instance Methods
to_s()
click to toggle source
# File lib/sinject/exceptions.rb, line 19 def to_s parameter_names = @parameters.join(', ') "The method signature of method: '#{@method}' does not match the contract parameters: '#{parameter_names}'" end