Exception: Accord::BrokenImplementation
- Defined in:
- lib/accord/exceptions.rb
Instance Method Summary collapse
-
#initialize(interface, method_name) ⇒ BrokenImplementation
constructor
A new instance of BrokenImplementation.
- #to_s ⇒ Object
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_s ⇒ Object
18 19 20 |
# File 'lib/accord/exceptions.rb', line 18 def to_s "signature mismatch for #{@interface.inspect}##{@method_name}" end |