summaryrefslogtreecommitdiff
path: root/lib/irb.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-13 03:27:16 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-13 03:27:16 +0000
commit6d18187371c0b90eae41cea18f829363bd61e5f1 (patch)
treef3d7db698cb57dd668a2032d6137b01ea0027f7f /lib/irb.rb
parentad0ba0dc2739ebf54dd6df3e0f1d7bbe4712449f (diff)
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
Diffstat (limited to 'lib/irb.rb')
-rw-r--r--lib/irb.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/irb.rb b/lib/irb.rb
index ee3e649e81..78d0b7c8cf 100644
--- a/lib/irb.rb
+++ b/lib/irb.rb
@@ -749,8 +749,8 @@ class Binding
#
# Potato.new
#
- # Running +ruby potato.rb+ will open an IRB session where +binding.irb+ is
- # called, and you will see the following:
+ # Running <code>ruby potato.rb</code> will open an IRB session where
+ # +binding.irb+ is called, and you will see the following:
#
# $ ruby potato.rb
#
@@ -780,7 +780,7 @@ class Binding
# irb(#<Potato:0x00007feea1916670>):004:0> @cooked = 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
# output printed to standard output in this example:
#