diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-14 21:04:57 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-14 21:04:57 +0000 |
commit | 8945eeda8f88bcbd9c4c97f69bf5fcae3b72f2a3 (patch) | |
tree | 33ea8ca96bc7871d8566b56fa005b389b0eed9ed /lib/irb.rb | |
parent | ed778c2a89258a8459e32aeee273a872a33ca421 (diff) |
Fix syntax on Binding.irb documentation [ci skip]
There was incorrect backticks (`) instead of plus signs to denote method
references, and a typo.
[Fix GH-2016]
From: Olivier Lacan <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb.rb')
-rw-r--r-- | lib/irb.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/irb.rb b/lib/irb.rb index d077299c2c..f2c7959cae 100644 --- a/lib/irb.rb +++ b/lib/irb.rb @@ -733,12 +733,12 @@ module IRB end class Binding - # Opens an IRB session where `binding.irb` is called which allows for + # Opens an IRB session where +binding.irb+ is called which allows for # interactive debugging. You can call any methods or variables available in # the current scope, and mutate state if you need to. # # - # Given a Ruby file called `potato.rb` containing the following code: + # Given a Ruby file called +potato.rb+ containing the following code: # # class Potato # def initialize @@ -750,7 +750,7 @@ class Binding # # Potato.new # - # Running `ruby potato.rb` will open an IRB session where `binding.irb` is + # Running +ruby potato.rb+ will open an IRB session where +binding.irb+ is # called, and you will see the following: # # $ ruby potato.rb @@ -782,7 +782,7 @@ class Binding # => true # # You can exit the IRB session with the `exit` command. Note that exiting will - # resume execution where +binding.call+ 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: # # irb(#<Potato:0x00007feea1916670>):005:0> exit |