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:
parent
199c5cc185
commit
bc7976f2c6
1 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue