summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-12 02:00:08 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-12 02:00:08 +0000
commitbc7976f2c629e08262da404fa29f6ba6f4a46671 (patch)
tree2f4f489b4d04234f55fbf9af5c9a55055bde3a81
parent199c5cc18506f0f92e2b76f76e08608f7a09e5ca (diff)
lib/irb.rb: fix up r65674
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--lib/irb.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/irb.rb b/lib/irb.rb
index eb9547f..d077299 100644
--- a/lib/irb.rb
+++ b/lib/irb.rb
@@ -744,7 +744,7 @@ class Binding
# def initialize
# @cooked = false
# binding.irb
- # puts @cooked
+ # puts "Cooked potato: #{@cooked}"
# end
# end
#
@@ -755,7 +755,7 @@ class Binding
#
# $ ruby potato.rb
#
- # From: potato.rb @ line 3 :
+ # From: potato.rb @ line 4 :
#
# 1: class Potato
# 2: def initialize
@@ -786,7 +786,7 @@ class Binding
# output printed to standard output in this example:
#
# irb(#<Potato:0x00007feea1916670>):005:0> exit
- # $ Cooked potato: true
+ # Cooked potato: true
#
#
# See IRB@IRB+Usage for more information.