Exception: Accord::BrokenImplementation

Inherits:
Invalid
  • Object
show all
Defined in:
lib/accord/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(interface, method_name) ⇒ BrokenImplementation

Returns a new instance of BrokenImplementation.



13
14
15
16
# File 'lib/accord/exceptions.rb', line 13

def initialize(interface, method_name)
  @interface = interface
  @method_name = method_name
end

Instance Method Details

#to_sObject



18
19
20
# File 'lib/accord/exceptions.rb', line 18

def to_s
  "signature mismatch for #{@interface.inspect}##{@method_name}"
end