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)


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

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

Instance Attribute Details

#col_spanInteger?

Returns the value of attribute col_span.

Returns:

  • (Integer, nil)


1818
1819
1820
# File 'sig/types.rbs', line 1818

def col_span
  @col_span
end

#contentString?

Returns the value of attribute content.

Returns:

  • (String, nil)


1816
1817
1818
# File 'sig/types.rbs', line 1816

def content
  @content
end

#is_headerBoolean?

Returns the value of attribute is_header.

Returns:

  • (Boolean, nil)


1819
1820
1821
# File 'sig/types.rbs', line 1819

def is_header
  @is_header
end

#row_spanInteger?

Returns the value of attribute row_span.

Returns:

  • (Integer, nil)


1817
1818
1819
# File 'sig/types.rbs', line 1817

def row_span
  @row_span
end