Method: ReVIEW::HTMLBuilder#paragraph

Defined in:
lib/review/htmlbuilder.rb

#paragraph(lines) ⇒ Object



436
437
438
439
440
441
442
443
# File 'lib/review/htmlbuilder.rb', line 436

def paragraph(lines)
  if @noindent
    puts %Q(<p class="noindent">#{join_lines_to_paragraph(lines)}</p>)
    @noindent = nil
  else
    puts "<p>#{join_lines_to_paragraph(lines)}</p>"
  end
end