summaryrefslogtreecommitdiff
path: root/lib/irb
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2020-01-13 18:26:32 +0900
committeraycabta <aycabta@gmail.com>2020-01-14 15:40:38 +0900
commita2638c0d87106c6ba023a321eea502f35131753e (patch)
tree143f7ced620714c2124d3025ad47939294f5e24a /lib/irb
parentf8ea2860b0cac1aec79978e6c44168802958e8af (diff)
downloadruby-a2638c0d87106c6ba023a321eea502f35131753e.tar.gz
Remove an unused setting variable
Diffstat (limited to 'lib/irb')
-rw-r--r--lib/irb/init.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/irb/init.rb b/lib/irb/init.rb
index 2af872fd03..11f940da49 100644
--- a/lib/irb/init.rb
+++ b/lib/irb/init.rb
@@ -300,7 +300,6 @@ module IRB # :nodoc:
verbose, $VERBOSE = $VERBOSE, nil
Encoding.default_external = extern unless extern.nil? || extern.empty?
Encoding.default_internal = intern unless intern.nil? || intern.empty?
- @CONF[:ENCODINGS] = IRB::DefaultEncodings.new(extern, intern)
[$stdin, $stdout, $stderr].each do |io|
io.set_encoding(extern, intern)
end