Class: TextLayout::Table::Span

Inherits:
Cell
  • Object
show all
Defined in:
lib/text_layout/table.rb

Instance Attribute Summary

Attributes inherited from Cell

#attr, #col, #row

Instance Method Summary collapse

Methods inherited from Cell

#height, #width

Instance Method Details

#main?(col, row) ⇒ Boolean

Returns:

  • (Boolean)


41
42
43
# File 'lib/text_layout/table.rb', line 41

def main?(col, row)
  self.col == col && self.row == row
end