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

Fix remaining syntax errors in Binding#irb docs

Apologies for catching those so late.

[Fix GH-2067] [ci skip]

From: Olivier Lacan <hi@olivierlacan.com>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2019-01-13 03:27:16 +00:00
parent ad0ba0dc27
commit 6d18187371

View file

@ -749,8 +749,8 @@ class Binding
# #
# Potato.new # Potato.new
# #
# Running +ruby potato.rb+ will open an IRB session where +binding.irb+ is # Running <code>ruby potato.rb</code> will open an IRB session where
# called, and you will see the following: # +binding.irb+ is called, and you will see the following:
# #
# $ ruby potato.rb # $ ruby potato.rb
# #
@ -780,7 +780,7 @@ class Binding
# irb(#<Potato:0x00007feea1916670>):004:0> @cooked = true # irb(#<Potato:0x00007feea1916670>):004:0> @cooked = true
# => true # => true
# #
# You can exit the IRB session with the `exit` command. Note that exiting will # You can exit the IRB session with the +exit+ command. Note that exiting will
# resume execution where +binding.irb+ had paused it, as you can see from the # resume execution where +binding.irb+ had paused it, as you can see from the
# output printed to standard output in this example: # output printed to standard output in this example:
# #