diff options
author | Stan Lo <[email protected]> | 2023-12-18 14:36:55 +0000 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-12-20 19:11:01 +0900 |
commit | 2793a30b69177e7c7bbf124ccfca7b4f4216ca84 (patch) | |
tree | e3482667fc4e646e69b1b9ca698249dee9825bdd /lib/set | |
parent | 7c2d8198625ca2e38835ad06ab47b4ea3afbc34b (diff) |
[ruby/irb] Warn users about errors in loading RC files
(https://github.com/ruby/irb/pull/817)
1. Because `IRB.rc_file` always generates an rc file name, even if the
file doesn't exist, we should check the file exists before trying to
load it.
2. If any type of errors occur while loading the rc file, we should
warn the user about it.
https://github.com/ruby/irb/commit/37ffdc6b19
Diffstat (limited to 'lib/set')
0 files changed, 0 insertions, 0 deletions