summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-03 01:44:52 (GMT)
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-03 01:44:52 (GMT)
commit5c10fb414a96dacf1b91b4a6e050d973e9fcc567 (patch)
treeaebff4b25211062282799248c160fa3049841730 /sample
parent7e73e70d023b434d7d676fb9990619212d52c0b5 (diff)
Fix NoMethodError [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample')
-rw-r--r--sample/cbreak.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/cbreak.rb b/sample/cbreak.rb
index c224684..7f1385c 100644
--- a/sample/cbreak.rb
+++ b/sample/cbreak.rb
@@ -30,7 +30,7 @@ end
cbreak();
print("this is no-echo line: ");
-readline().print
+readline().display
cooked();
print("this is echo line: ");
readline()