[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
This commit is contained in:
Stan Lo 2023-07-09 07:25:09 +01:00 committed by Hiroshi SHIBATA
parent fe25527781
commit 201fd57518
2 changed files with 0 additions and 8 deletions

View File

@ -4,7 +4,6 @@
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
#
require_relative 'src_encoding'
require_relative 'completion'
require 'io/console'
require 'reline'

View File

@ -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