remove_modeline(content)
Removes an emacs-style modeline from the first line of the document
# File lib/rdoc/parser.rb, line 207 def self.remove_modeline content content.sub(/\A.*-\*-\s*(.*?\S)\s*-\*-.*\r?\n/, '') end