summaryrefslogtreecommitdiff
path: root/lib/irb.rb
diff options
context:
space:
mode:
authorNobuhiro IMAI <nov@yo.rim.or.jp>2021-01-06 19:01:08 +0900
committeraycabta <aycabta@gmail.com>2021-01-08 13:25:18 +0900
commit4bb683a570043d169049d9741c319a297acd607b (patch)
treef76f9ca908476bcc84bf6f42a4f6ad6ada67882a /lib/irb.rb
parent55e52c19e74d5df90560ea1cc4f2a2b9f5d7a5c4 (diff)
[ruby/irb] fix typo in `IRB::Irb#convert_invalid_byte_sequence`
https://github.com/ruby/irb/commit/d09d3c3d68
Diffstat (limited to 'lib/irb.rb')
-rw-r--r--lib/irb.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb.rb b/lib/irb.rb
index 1fb1781..2926825 100644
--- a/lib/irb.rb
+++ b/lib/irb.rb
@@ -586,7 +586,7 @@ module IRB
ret = conv.primitive_convert(str, dst)
case ret
when :invalid_byte_sequence
- conf.insert_output(conf.primitive_errinfo[3].dump[1..-2])
+ conv.insert_output(conf.primitive_errinfo[3].dump[1..-2])
redo
when :undefined_conversion
c = conv.primitive_errinfo[3].dup.force_encoding(conv.primitive_errinfo[1])