Project

General

Profile

« Previous | Next » 

Revision 76b620b3

Added by st0012 (Stan Lo) 6 months ago

[ruby/irb] IRB.conf[:SAVE_HISTORY] should handle boolean values
(https://github.com/ruby/irb/pull/1062)

Although not documented, IRB.conf[:SAVE_HISTORY] used to accept boolean,
which now causes NoMethodError when used.

This commit changes the behavior to accept boolean values and
adds tests for the behavior.

https://github.com/ruby/irb/commit/8b1a07b2a8