class Sinject::DependencyRegistrationException
Public Class Methods
new(key)
click to toggle source
# File lib/sinject/exceptions.rb, line 39 def initialize(key) @key = key end
Public Instance Methods
to_s()
click to toggle source
# File lib/sinject/exceptions.rb, line 43 def to_s "A Dependency has already been registered for the key: '#{@key}'" end