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)


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

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)


1701
1702
1703
# File 'sig/types.rbs', line 1701

def col_span
  @col_span
end

#contentString?

Returns the value of attribute content.

Returns:

  • (String, nil)


1699
1700
1701
# File 'sig/types.rbs', line 1699

def content
  @content
end

#is_headerBoolean?

Returns the value of attribute is_header.

Returns:

  • (Boolean, nil)


1702
1703
1704
# File 'sig/types.rbs', line 1702

def is_header
  @is_header
end

#row_spanInteger?

Returns the value of attribute row_span.

Returns:

  • (Integer, nil)


1700
1701
1702
# File 'sig/types.rbs', line 1700

def row_span
  @row_span
end