Class: Reek::Context::SingletonMethodContext Private
- Inherits:
-
MethodContext
- Object
- CodeContext
- MethodContext
- Reek::Context::SingletonMethodContext
- Defined in:
- lib/reek/context/singleton_method_context.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
A context wrapper for any singleton method definition found in a syntax tree.
Instance Attribute Summary
Attributes inherited from MethodContext
#num_statements, #parameters, #refs
Attributes inherited from CodeContext
Instance Method Summary collapse
- #envious_receivers ⇒ Object private
Methods inherited from MethodContext
#count_statements, #initialize, #record_call_to, #record_use_of_self, #references_self?, #unused_params, #uses_param?, #uses_super_with_implicit_arguments?
Methods inherited from CodeContext
#config_for, #each_node, #full_name, #initialize, #local_nodes, #matches?, #method_missing, #name, #num_methods
Constructor Details
This class inherits a constructor from Reek::Context::MethodContext
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Reek::Context::CodeContext
Instance Method Details
#envious_receivers ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
10 11 12 |
# File 'lib/reek/context/singleton_method_context.rb', line 10 def envious_receivers [] end |