Class: Steep::AST::Annotation::Dynamic
- Includes:
- Located
- Defined in:
- lib/steep/ast/annotation.rb
Defined Under Namespace
Classes: Name
Instance Attribute Summary collapse
-
#names ⇒ Object
readonly
Returns the value of attribute names.
Attributes included from Located
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(names:, location: nil) ⇒ Dynamic
constructor
A new instance of Dynamic.
Methods included from Located
Constructor Details
#initialize(names:, location: nil) ⇒ Dynamic
Returns a new instance of Dynamic.
125 126 127 128 |
# File 'lib/steep/ast/annotation.rb', line 125 def initialize(names:, location: nil) @location = location @names = names end |
Instance Attribute Details
#names ⇒ Object (readonly)
Returns the value of attribute names.
123 124 125 |
# File 'lib/steep/ast/annotation.rb', line 123 def names @names end |