Method: ReVIEW::LATEXBuilder#ul_item
- Defined in:
- lib/review/latexbuilder.rb
#ul_item(lines) ⇒ Object
320 321 322 323 324 325 326 327 328 |
# File 'lib/review/latexbuilder.rb', line 320 def ul_item(lines) str = join_lines_to_paragraph(lines) unless @book.config['join_lines_by_lang'] str = lines.map(&:chomp).join("\n") end str.sub!(/\A(\[)/) { '\lbrack{}' } puts '\item ' + str end |