Class: HtmlToMarkdown::TextAnnotation

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize ⇒ TextAnnotation

Returns a new instance of TextAnnotation.

Parameters:



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

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

Instance Attribute Details

#end ⇒ Integer (readonly)

Returns the value of attribute end.

Returns:

  • (Integer)


287
288
289
# File 'sig/types.rbs', line 287

def end
  @end
end

#kind ⇒ AnnotationKind (readonly)

Returns the value of attribute kind.

Returns:



288
289
290
# File 'sig/types.rbs', line 288

def kind
  @kind
end

#start ⇒ Integer (readonly)

Returns the value of attribute start.

Returns:

  • (Integer)


286
287
288
# File 'sig/types.rbs', line 286

def start
  @start
end