summaryrefslogtreecommitdiff
path: root/sample/io.rb
diff options
context:
space:
mode:
authorYukihiro Matsumoto <matz@ruby-lang.org>1994-11-01 08:27:44 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-08-17 22:09:30 +0900
commitc31025779da3020b9d1e9ad4c920e76b6b97d5fd (patch)
tree0823b3c8ef654b96e495d87933f356192de7d773 /sample/io.rb
parent29f237a8b1df650089b54447f070726c75706b6f (diff)
version 0.55v0_55
https://cache.ruby-lang.org/pub/ruby/1.0/ruby-0.55.tar.gz
Diffstat (limited to 'sample/io.rb')
-rw-r--r--sample/io.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/sample/io.rb b/sample/io.rb
index b5591af7e4..0b8a537ef4 100644
--- a/sample/io.rb
+++ b/sample/io.rb
@@ -1,5 +1,6 @@
home = getenv("HOME")
-print(home.sub("m", "&&"), home, "\n")
+home.sub("m", "&&")
+print(home, "\n")
print(home.reverse, "\n")
if File.s("io.rb")