Method: ReVIEW::RSTBuilder#table_header
- Defined in:
- lib/review/rstbuilder.rb
#table_header(id, caption) ⇒ Object
315 316 317 318 319 320 321 322 323 324 |
# File 'lib/review/rstbuilder.rb', line 315 def table_header(id, caption) unless id.nil? blank puts ".. _#{id}:" end blank puts ".. list-table:: #{compile_inline(caption)}" puts ' :header-rows: 1' blank end |