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:
parent
a850be68a5
commit
d8e90f5558
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue