remove_coding_comment(text)
Removes the encoding magic comment from text
# File lib/rdoc/parser/simple.rb, line 40 def remove_coding_comment text text.sub(/\A# .*coding[=:].*$/, '') end