Class: Xberg::TextAnnotation
- Inherits:
-
Object
- Object
- Xberg::TextAnnotation
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#end ⇒ Integer
readonly
Returns the value of attribute end.
-
#kind ⇒ AnnotationKind
readonly
Returns the value of attribute kind.
-
#start ⇒ Integer
readonly
Returns the value of attribute start.
Instance Method Summary collapse
-
#initialize ⇒ TextAnnotation
constructor
A new instance of TextAnnotation.
Constructor Details
#initialize ⇒ TextAnnotation
Returns a new instance of TextAnnotation.
905 |
# File 'sig/types.rbs', line 905
def initialize: (start: Integer, end: Integer, kind: AnnotationKind) -> void
|
Instance Attribute Details
#end ⇒ Integer (readonly)
Returns the value of attribute end.
902 903 904 |
# File 'sig/types.rbs', line 902 def end @end end |
#kind ⇒ AnnotationKind (readonly)
Returns the value of attribute kind.
903 904 905 |
# File 'sig/types.rbs', line 903 def kind @kind end |
#start ⇒ Integer (readonly)
Returns the value of attribute start.
901 902 903 |
# File 'sig/types.rbs', line 901 def start @start end |