Method: SimpleTable::Cell#tag_name

Defined in:
lib/simple_table/cell.rb

#tag_nameObject



20
21
22
# File 'lib/simple_table/cell.rb', line 20

def tag_name
  options[:tag_name] || parent.head? ? :th : :td
end