diff options
author | Nobuhiro IMAI <nov@yo.rim.or.jp> | 2021-01-23 02:12:39 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2021-01-27 15:01:57 +0900 |
commit | 5b05b85d85002fd47eeb5e28f9f2898e99507b75 (patch) | |
tree | ad7b6ac5a56938800b427bbbeb988aa5c7ab6b87 /lib/irb.rb | |
parent | c736714de11f9d8dd90cb5f4d6b39fd73054aabc (diff) |
[ruby/irb] add `IRB::FileInputMethod.open` to ensure closing associated File
* tweak some methods not to raise exception after `#close`
* use it in `IRB::IrbLoader#{source_file,load_file}
https://github.com/ruby/irb/commit/ec2947acbd
Diffstat (limited to 'lib/irb.rb')
0 files changed, 0 insertions, 0 deletions