Class: Xberg::Table

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTable

Returns a new instance of Table.

Parameters:

  • cells: (Array[Array[String]])
  • markdown: (String)
  • page_number: (Integer)
  • bounding_box: (BoundingBox)
  • table_id: (String)
  • cell_styles: (Array[TableCellStyle])
  • columns: (Array[String])


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

def initialize: (?cells: Array[Array[String]], ?markdown: String, ?page_number: Integer, ?bounding_box: BoundingBox, ?table_id: String, ?cell_styles: Array[TableCellStyle], ?columns: Array[String]) -> void

Instance Attribute Details

#bounding_boxBoundingBox? (readonly)

Returns the value of attribute bounding_box.

Returns:



2474
2475
2476
# File 'sig/types.rbs', line 2474

def bounding_box
  @bounding_box
end

#cell_stylesArray[TableCellStyle] (readonly)

Returns the value of attribute cell_styles.

Returns:



2476
2477
2478
# File 'sig/types.rbs', line 2476

def cell_styles
  @cell_styles
end

#cellsArray[Array[String]] (readonly)

Returns the value of attribute cells.

Returns:

  • (Array[Array[String]])


2471
2472
2473
# File 'sig/types.rbs', line 2471

def cells
  @cells
end

#columnsArray[String]? (readonly)

Returns the value of attribute columns.

Returns:

  • (Array[String], nil)


2477
2478
2479
# File 'sig/types.rbs', line 2477

def columns
  @columns
end

#markdownString (readonly)

Returns the value of attribute markdown.

Returns:

  • (String)


2472
2473
2474
# File 'sig/types.rbs', line 2472

def markdown
  @markdown
end

#page_numberInteger (readonly)

Returns the value of attribute page_number.

Returns:

  • (Integer)


2473
2474
2475
# File 'sig/types.rbs', line 2473

def page_number
  @page_number
end

#table_idString? (readonly)

Returns the value of attribute table_id.

Returns:

  • (String, nil)


2475
2476
2477
# File 'sig/types.rbs', line 2475

def table_id
  @table_id
end