1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

lib/irb.rb: fix up r65674

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2018-11-12 02:00:08 +00:00
parent 199c5cc185
commit bc7976f2c6

View file

@ -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.