summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/irb.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/irb.rb b/lib/irb.rb
index eb9547fbb2..d077299c2c 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.