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.
874 |
# File 'sig/types.rbs', line 874
def initialize: (start: Integer, end: Integer, kind: AnnotationKind) -> void
|
Instance Attribute Details
#end ⇒ Integer (readonly)
Returns the value of attribute end.
871 872 873 |
# File 'sig/types.rbs', line 871 def end @end end |
#kind ⇒ AnnotationKind (readonly)
Returns the value of attribute kind.
872 873 874 |
# File 'sig/types.rbs', line 872 def kind @kind end |
#start ⇒ Integer (readonly)
Returns the value of attribute start.
870 871 872 |
# File 'sig/types.rbs', line 870 def start @start end |