AphonicClass
- Namespace
- Ancestors
- Subclasses
-
- Actual
-
Stands in for the actual result of the expect block, allowing a query method to call on the actual result to be set up and checked after the expect block returns.
- Not::Receive
-
The “not to receive” keywords on ::Objects.
- To::Receive
-
The “to receive” keywords on ::Objects.
Class that only responds to #__send__
and #object_id. Useful for DSLs and
classes that make use of #method_missing. Things are set
up so that if methods are added to Kernel, Object, or Method after the
initial set-up, such methods will similarly be .silenced.
Class Methods
silence(methodSymbol)self#⚙
Undefines method unless it’s on the short-list of methods to keep.