Ruby 1.9.3 リファレンスマニュアル > ライブラリ一覧 > irb/ext/save-historyライブラリ > IRB::Contextクラス > save_history

instance method IRB::Context#save_history

save_history -> Integer | nil [added by irb/ext/save-history]

履歴の最大保存件数を Integer か nil で返します。

[RETURN]
履歴の最大保存件数を Integer か nil で返します。0 以下や nil を返した場合は追加の保存は行いません。

[SEE_ALSO] irb/履歴の保存

class IRB::Context