Class: HtmlToMarkdown::GridCell

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize ⇒ GridCell

Returns a new instance of GridCell.

Parameters:

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


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

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

Instance Attribute Details

#col ⇒ Integer (readonly)

Returns the value of attribute col.

Returns:

  • (Integer)


159
160
161
# File 'sig/types.rbs', line 159

def col
  @col
end

#col_span ⇒ Integer (readonly)

Returns the value of attribute col_span.

Returns:

  • (Integer)


161
162
163
# File 'sig/types.rbs', line 161

def col_span
  @col_span
end

#content ⇒ String (readonly)

Returns the value of attribute content.

Returns:

  • (String)


157
158
159
# File 'sig/types.rbs', line 157

def content
  @content
end

#is_header ⇒ Boolean (readonly)

Returns the value of attribute is_header.

Returns:

  • (Boolean)


162
163
164
# File 'sig/types.rbs', line 162

def is_header
  @is_header
end

#row ⇒ Integer (readonly)

Returns the value of attribute row.

Returns:

  • (Integer)


158
159
160
# File 'sig/types.rbs', line 158

def row
  @row
end

#row_span ⇒ Integer (readonly)

Returns the value of attribute row_span.

Returns:

  • (Integer)


160
161
162
# File 'sig/types.rbs', line 160

def row_span
  @row_span
end