ruby / irb

interactive Ruby
BSD 2-Clause "Simplified" License
393 stars 119 forks source link

Fix irb_history saved to current directory #901

Closed tompng closed 8 months ago

tompng commented 8 months ago

Fixes #674 with refactoring

IRB.rc_files is used for irbrc searching and irb_history searching. I think two separate logic is combined into one and making the code complicated.

Changes

tompng commented 8 months ago

I think IRB.conf[: RC_NAME_GENERATOR] is already changed from Proc to Array and released as v1.12.0