Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v2_2_9) is shown here.
remove_coding_comment(text)
public
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