method

buf_input

ruby latest stable - Class: RubyLex

Method deprecated or moved

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

buf_input()
private

No documentation available.

# File lib/irb/ruby-lex.rb, line 186
  def buf_input
    prompt
    line = @input.call
    return nil unless line
    @rests.concat line.chars.to_a
    true
  end