Method not available on this version
This method is only available on newer versions.
The first available version (v2_6_3) is shown here.
remove_magic_comment(string)
public
Removes magic comments and shebang
# File lib/rdoc/encoding.rb, line 112
def self.remove_magic_comment string
string.sub HEADER_REGEXP do |s|
s.gsub(/[^\n]/, '')
end
end