Exception: Sinject::DependencyContractMissingMethodsException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/sinject/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(methods) ⇒ DependencyContractMissingMethodsException

Returns a new instance of DependencyContractMissingMethodsException.



3
4
5
# File 'lib/sinject/exceptions.rb', line 3

def initialize(methods)
  @methods = methods
end

Instance Method Details

#to_sObject



7
8
9
10
# File 'lib/sinject/exceptions.rb', line 7

def to_s
  method_names = @methods.join(', ')
  "The following methods have not been implemented: '#{method_names}'"
end