method
remove_coding_comment
v1_9_2_180 -
Show latest stable
- Class:
RDoc::Parser::Simple
remove_coding_comment(text)public
No documentation available.
# File lib/rdoc/parser/simple.rb, line 39
def remove_coding_comment text
text.sub(/\A# .*coding[=:].*$/, '')
end