# File lib/terminal-table/row.rb, line 47 def number_of_columns @cells.collect(&:colspan).inject(0, &:+) end