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)


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

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)


1781
1782
1783
# File 'sig/types.rbs', line 1781

def col_span
  @col_span
end

#contentString?

Returns the value of attribute content.

Returns:

  • (String, nil)


1779
1780
1781
# File 'sig/types.rbs', line 1779

def content
  @content
end

#is_headerBoolean?

Returns the value of attribute is_header.

Returns:

  • (Boolean, nil)


1782
1783
1784
# File 'sig/types.rbs', line 1782

def is_header
  @is_header
end

#row_spanInteger?

Returns the value of attribute row_span.

Returns:

  • (Integer, nil)


1780
1781
1782
# File 'sig/types.rbs', line 1780

def row_span
  @row_span
end