# File lib/readline.rb, line 406 def self.shift() if RbReadline.history_length>0 rb_remove_history(0) else nil end end