Class: Steep::TypeInference::TypeEnvBuilder::Command::AnnotationsBase
- Defined in:
- lib/steep/type_inference/type_env_builder.rb
Direct Known Subclasses
ImportConstantAnnotations, ImportInstanceVariableAnnotations, ImportLocalVariableAnnotations
Instance Attribute Summary collapse
-
#annotations ⇒ Object
readonly
Returns the value of attribute annotations.
Instance Method Summary collapse
-
#initialize(annotations) ⇒ AnnotationsBase
constructor
A new instance of AnnotationsBase.
Constructor Details
#initialize(annotations) ⇒ AnnotationsBase
Returns a new instance of AnnotationsBase.
8 9 10 |
# File 'lib/steep/type_inference/type_env_builder.rb', line 8 def initialize(annotations) @annotations = annotations end |
Instance Attribute Details
#annotations ⇒ Object (readonly)
Returns the value of attribute annotations.
6 7 8 |
# File 'lib/steep/type_inference/type_env_builder.rb', line 6 def annotations @annotations end |