Class: Xberg::OcrTable

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeOcrTable

Returns a new instance of OcrTable.

Parameters:

  • cells: (Array[Array[String]])
  • markdown: (String)
  • page_number: (Integer)
  • bounding_box: (OcrTableBoundingBox)


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

def initialize: (cells: Array[Array[String]], markdown: String, page_number: Integer, ?bounding_box: OcrTableBoundingBox) -> void

Instance Attribute Details

#bounding_boxOcrTableBoundingBox (readonly)

Returns the value of attribute bounding_box.

Returns:



1149
1150
1151
# File 'sig/types.rbs', line 1149

def bounding_box
  @bounding_box
end

#cellsArray[Array[String]] (readonly)

Returns the value of attribute cells.

Returns:

  • (Array[Array[String]])


1146
1147
1148
# File 'sig/types.rbs', line 1146

def cells
  @cells
end

#markdownString (readonly)

Returns the value of attribute markdown.

Returns:

  • (String)


1147
1148
1149
# File 'sig/types.rbs', line 1147

def markdown
  @markdown
end

#page_numberInteger (readonly)

Returns the value of attribute page_number.

Returns:

  • (Integer)


1148
1149
1150
# File 'sig/types.rbs', line 1148

def page_number
  @page_number
end