class RDoc::RubyLex

def buf_input

def buf_input
  prompt
  line = @input.call
  return nil unless line
  @rests.concat line.split(//)
  true
end