Method: Steep::TypeInference::ConstantEnv#namespace
- Defined in:
- lib/steep/type_inference/constant_env.rb
#namespace ⇒ Object
20 21 22 23 24 25 26 |
# File 'lib/steep/type_inference/constant_env.rb', line 20 def namespace @namespace ||= if context context.namespace.append(context.name) else AST::Namespace.root end end |