1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix a typo in inspect

This commit is contained in:
Kazuhiro NISHIYAMA 2019-07-25 16:39:28 +09:00
parent a850be68a5
commit d8e90f5558
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

View file

@ -1306,7 +1306,7 @@ class CSV
# ASCII compatible String.
#
def inspect
str = ["<#", self.class.to_s, " io_type:"]
str = ["#<", self.class.to_s, " io_type:"]
# show type of wrapped IO
if @io == $stdout then str << "$stdout"
elsif @io == $stdin then str << "$stdin"