mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/irb] fix typo in IRB::Irb#convert_invalid_byte_sequence
https://github.com/ruby/irb/commit/d09d3c3d68
This commit is contained in:
parent
55e52c19e7
commit
4bb683a570
1 changed files with 1 additions and 1 deletions
|
@ -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])
|
||||
|
|
Loading…
Add table
Reference in a new issue