diff options
author | Stan Lo <stan001212@gmail.com> | 2023-07-09 07:25:09 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-08-02 18:17:27 +0900 |
commit | 201fd5751897618eb2a9a91f6f14241f0bad4744 (patch) | |
tree | ba55e42f413c28b89c0c7889e765f7be5a45b625 | |
parent | fe255277817b55ee0ca0113194043b66eacc0f3a (diff) | |
download | ruby-201fd5751897618eb2a9a91f6f14241f0bad4744.tar.gz |
[ruby/irb] Drop src_encoding.rb
(https://github.com/ruby/irb/pull/634)
Its method `IRB.default_src_encoding` was only used in `magic-file.rb`,
which has been removed.
https://github.com/ruby/irb/commit/ed98983b1f
-rw-r--r-- | lib/irb/input-method.rb | 1 | ||||
-rw-r--r-- | lib/irb/src_encoding.rb | 7 |
2 files changed, 0 insertions, 8 deletions
diff --git a/lib/irb/input-method.rb b/lib/irb/input-method.rb index 643e89f27e..bd787278c2 100644 --- a/lib/irb/input-method.rb +++ b/lib/irb/input-method.rb @@ -4,7 +4,6 @@ # by Keiju ISHITSUKA(keiju@ruby-lang.org) # -require_relative 'src_encoding' require_relative 'completion' require 'io/console' require 'reline' diff --git a/lib/irb/src_encoding.rb b/lib/irb/src_encoding.rb deleted file mode 100644 index 99aea2b43e..0000000000 --- a/lib/irb/src_encoding.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: false -# DO NOT WRITE ANY MAGIC COMMENT HERE. -module IRB - def self.default_src_encoding - return __ENCODING__ - end -end |