Module: Steep::AST::Annotation::Located
- Included in:
- Dynamic, Implements, Named, Typed
- Defined in:
- lib/steep/ast/annotation.rb
Instance Attribute Summary collapse
-
#location ⇒ Object
readonly
Returns the value of attribute location.
Instance Method Summary collapse
Instance Attribute Details
#location ⇒ Object (readonly)
Returns the value of attribute location.
5 6 7 |
# File 'lib/steep/ast/annotation.rb', line 5 def location @location end |
Instance Method Details
#line ⇒ Object
7 8 9 |
# File 'lib/steep/ast/annotation.rb', line 7 def line location&.start_line end |