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:



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

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

Instance Attribute Details

#endInteger (readonly)

Returns the value of attribute end.

Returns:

  • (Integer)


901
902
903
# File 'sig/types.rbs', line 901

def end
  @end
end

#kindAnnotationKind (readonly)

Returns the value of attribute kind.

Returns:



902
903
904
# File 'sig/types.rbs', line 902

def kind
  @kind
end

#startInteger (readonly)

Returns the value of attribute start.

Returns:

  • (Integer)


900
901
902
# File 'sig/types.rbs', line 900

def start
  @start
end