This method is deprecated or moved on the latest stable version.
The last existing version (v1_8_7_330) is shown here.
gets(file)
private
Find the first comment in the file (that isn’t a
shebang line) If the file doesn’t start with a comment, report the fact
and return empty string
# File lib/rdoc/usage.rb, line 133
def RDoc.gets(file)
if (line = file.gets) && (line =~ /^#!/) # shebang
throw :exit, find_comment(file)
else
line
end
end