# File lib/yard/parser/ruby/legacy/ruby_lex.rb, line 512
      def gets
        c = getc or return
        l = ""
        begin
          l.concat c unless c == "\r"
          break if c == "\n"
        end while c = getc
        l
      end