method

gets

v1_9_1_378 - Show latest stable - Class: RDoc::RubyLex
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