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