Class: Xberg::TableCell

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTableCell

Returns a new instance of TableCell.

Parameters:

  • content: (String)
  • row_span: (Integer)
  • col_span: (Integer)
  • is_header: (Boolean)


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

def initialize: (?content: String, ?row_span: Integer, ?col_span: Integer, ?is_header: bool) -> void

Instance Attribute Details

#col_spanInteger (readonly)

Returns the value of attribute col_span.

Returns:

  • (Integer)


2485
2486
2487
# File 'sig/types.rbs', line 2485

def col_span
  @col_span
end

#contentString (readonly)

Returns the value of attribute content.

Returns:

  • (String)


2483
2484
2485
# File 'sig/types.rbs', line 2483

def content
  @content
end

#is_headerBoolean (readonly)

Returns the value of attribute is_header.

Returns:

  • (Boolean)


2486
2487
2488
# File 'sig/types.rbs', line 2486

def is_header
  @is_header
end

#row_spanInteger (readonly)

Returns the value of attribute row_span.

Returns:

  • (Integer)


2484
2485
2486
# File 'sig/types.rbs', line 2484

def row_span
  @row_span
end