summaryrefslogtreecommitdiff
path: root/gem_prelude.rb
diff options
context:
space:
mode:
authorStan Lo <[email protected]>2023-04-28 18:20:16 +0100
committergit <[email protected]>2023-04-28 17:20:20 +0000
commite9930b51b205bd4e577b3787e8d8e7db8eebc237 (patch)
tree186e1fe2f1d9f8f30c51237555c55c3deaa9b4ec /gem_prelude.rb
parentd4dc149c3c4cc01098b5af67decbcba6d370bbee (diff)
[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 'gem_prelude.rb')
0 files changed, 0 insertions, 0 deletions