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:



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

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

Instance Attribute Details

#endInteger (readonly)

Returns the value of attribute end.

Returns:

  • (Integer)


871
872
873
# File 'sig/types.rbs', line 871

def end
  @end
end

#kindAnnotationKind (readonly)

Returns the value of attribute kind.

Returns:



872
873
874
# File 'sig/types.rbs', line 872

def kind
  @kind
end

#startInteger (readonly)

Returns the value of attribute start.

Returns:

  • (Integer)


870
871
872
# File 'sig/types.rbs', line 870

def start
  @start
end