diff options
author | Stan Lo <stan001212@gmail.com> | 2023-04-28 18:20:16 +0100 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-04-28 17:20:20 +0000 |
commit | e9930b51b205bd4e577b3787e8d8e7db8eebc237 (patch) | |
tree | 186e1fe2f1d9f8f30c51237555c55c3deaa9b4ec /benchmark/enum_lazy_uniq_100.rb | |
parent | d4dc149c3c4cc01098b5af67decbcba6d370bbee (diff) | |
download | ruby-e9930b51b205bd4e577b3787e8d8e7db8eebc237.tar.gz |
[ruby/irb] Retire magic-file.rb
(https://github.com/ruby/irb/pull/574)
`MagicFile` was introduced around v0.9.6, which was like 14~15 years ago.
It was needed because back then we needed to read a file's magic comment
to determine the encoding of it, and read it with that encoding.
Commit: 3ee79e89
But now we expect files to be encoded in UTF-8 and don't specify encoding
through magic comments anymore, `MagicFile` can be retired.
Diffstat (limited to 'benchmark/enum_lazy_uniq_100.rb')
0 files changed, 0 insertions, 0 deletions