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:



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

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

Instance Attribute Details

#endInteger (readonly)

Returns the value of attribute end.

Returns:

  • (Integer)


906
907
908
# File 'sig/types.rbs', line 906

def end
  @end
end

#kindAnnotationKind (readonly)

Returns the value of attribute kind.

Returns:



907
908
909
# File 'sig/types.rbs', line 907

def kind
  @kind
end

#startInteger (readonly)

Returns the value of attribute start.

Returns:

  • (Integer)


905
906
907
# File 'sig/types.rbs', line 905

def start
  @start
end