# File lib/rd/rd2man-lib.rb, line 42 def apply_to_DocumentElement(element, content) content = content.join title = guess_title title = title.sub(/\.rd$/i, '').upcase ".\\\\\" DO NOT MODIFY THIS FILE! it was generated by rd2\n.TH \#{title} 1 \"\#{Time.now.strftime '%B %Y'}\"\n\#{content}\n" end