Exception: InterfaceRequirementsNotMetError
- Inherits:
-
StandardError
- Object
- StandardError
- InterfaceRequirementsNotMetError
- Defined in:
- lib/interfacer.rb
Instance Method Summary collapse
-
#initialize(attr_name, missing_methods) ⇒ InterfaceRequirementsNotMetError
constructor
A new instance of InterfaceRequirementsNotMetError.
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 |