Class: Steep::TypeInference::TypeEnvBuilder::Command::AnnotationsBase

Inherits:
Object
  • Object
show all
Defined in:
lib/steep/type_inference/type_env_builder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#annotationsObject (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