Class: Steep::TypeInference::MethodCall::Untyped
- Defined in:
- lib/steep/type_inference/method_call.rb
Instance Attribute Summary
Attributes inherited from Base
#context, #method_name, #node, #receiver_type, #return_type
Instance Method Summary collapse
-
#initialize(node:, context:, method_name:) ⇒ Untyped
constructor
A new instance of Untyped.
Methods inherited from Base
Constructor Details
#initialize(node:, context:, method_name:) ⇒ Untyped
Returns a new instance of Untyped.
173 174 175 |
# File 'lib/steep/type_inference/method_call.rb', line 173 def initialize(node:, context:, method_name:) super(node: node, context: context, method_name: method_name, receiver_type: AST::Types::Any.instance, return_type: AST::Types::Any.instance) end |