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