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)


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

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)


1690
1691
1692
# File 'sig/types.rbs', line 1690

def col_span
  @col_span
end

#contentString?

Returns the value of attribute content.

Returns:

  • (String, nil)


1688
1689
1690
# File 'sig/types.rbs', line 1688

def content
  @content
end

#is_headerBoolean?

Returns the value of attribute is_header.

Returns:

  • (Boolean, nil)


1691
1692
1693
# File 'sig/types.rbs', line 1691

def is_header
  @is_header
end

#row_spanInteger?

Returns the value of attribute row_span.

Returns:

  • (Integer, nil)


1689
1690
1691
# File 'sig/types.rbs', line 1689

def row_span
  @row_span
end