method

gets

v1_9_1_378 - Show latest stable - Class: RubyLex
gets()
public

No documentation available.

# File lib/irb/ruby-lex.rb, line 122
  def gets
    l = ""
    while c = getc
      l.concat(c)
      break if c == "\n"
    end
    return nil if l == "" and c.nil?
    l
  end