Class: Contracts::SingletonMethodReference
- Inherits:
-
MethodReference
- Object
- MethodReference
- Contracts::SingletonMethodReference
- Defined in:
- lib/contracts-ruby2/lib/contracts/method_reference.rb,
lib/contracts-ruby3/lib/contracts/method_reference.rb
Overview
The same as MethodReference, but used for singleton methods.
Instance Attribute Summary
Attributes inherited from MethodReference
Method Summary
Methods inherited from MethodReference
#initialize, #make_alias, #make_definition, #method_position, #send_to
Constructor Details
This class inherits a constructor from Contracts::MethodReference