method

gets

ruby latest stable - Class: RDoc::RubyLex

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_1_378) is shown here.

gets()
public

No documentation available.

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