summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-07-25 16:39:28 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-07-25 16:39:28 +0900
commitd8e90f555817146d17ec82a55360b6d69c649d67 (patch)
treedf2e46781aa6764a6904e244f86e692b54cbad1c
parenta850be68a57dce65449766654aa1912b5fa660cb (diff)
Fix a typo in inspect
-rw-r--r--lib/csv.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csv.rb b/lib/csv.rb
index aaa0c48231..fcf54a2fa4 100644
--- a/lib/csv.rb
+++ b/lib/csv.rb
@@ -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"