Exception: InterfaceRequirementsNotMetError

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

Instance Method Summary collapse

Constructor Details

#initialize(attr_name, missing_methods) ⇒ InterfaceRequirementsNotMetError

Returns a new instance of InterfaceRequirementsNotMetError.



26
27
28
# File 'lib/interfacer.rb', line 26

def initialize(attr_name, missing_methods)
  super("Attribute #{attr_name} expects #{missing_methods.inspect} to be defined.")
end