method

eval_history=

ruby latest stable - Class: IRB::Context
eval_history=(no)
public

Sets command result history limit.

no is an Integer or nil.

Returns no of history items if greater than 0.

If no is 0, the number of history items is unlimited.

If no is nil, execution result history isn’t used (default).