set_last_value(value)
public
Hide source
# File lib/irb/ext/history.rb, line 22 def set_last_value(value) _set_last_value(value) if @eval_history @eval_history_values.push @line_no, @last_value @workspace.evaluate self, "__ = IRB.CurrentContext.instance_eval{@eval_history_values}" end @last_value end