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)


26
27
28
# File 'lib/text_layout/table.rb', line 26

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