Class: Xberg::TextAnnotation

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTextAnnotation

Returns a new instance of TextAnnotation.

Parameters:



2547
# File 'sig/types.rbs', line 2547

def initialize: (start: Integer, end: Integer, kind: AnnotationKind) -> void

Instance Attribute Details

#endInteger (readonly)

Returns the value of attribute end.

Returns:

  • (Integer)


2544
2545
2546
# File 'sig/types.rbs', line 2544

def end
  @end
end

#kindAnnotationKind (readonly)

Returns the value of attribute kind.

Returns:



2545
2546
2547
# File 'sig/types.rbs', line 2545

def kind
  @kind
end

#startInteger (readonly)

Returns the value of attribute start.

Returns:

  • (Integer)


2543
2544
2545
# File 'sig/types.rbs', line 2543

def start
  @start
end