method

gets

ruby latest stable - Class: RDoc

Method deprecated or moved

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