[前][次][番号順一覧][スレッド一覧]

ruby-changes:54586

From: nobu <ko1@a...>
Date: Sun, 13 Jan 2019 12:27:21 +0900 (JST)
Subject: [ruby-changes:54586] nobu:r66801 (trunk): Fix remaining syntax errors in Binding#irb docs

nobu	2019-01-13 12:27:16 +0900 (Sun, 13 Jan 2019)

  New Revision: 66801

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66801

  Log:
    Fix remaining syntax errors in Binding#irb docs
    
    Apologies for catching those so late.
    
    [Fix GH-2067] [ci skip]
    
    From: Olivier Lacan <hi@o...>

  Modified files:
    trunk/lib/irb.rb
Index: lib/irb.rb
===================================================================
--- lib/irb.rb	(revision 66800)
+++ lib/irb.rb	(revision 66801)
@@ -749,8 +749,8 @@ class Binding https://github.com/ruby/ruby/blob/trunk/lib/irb.rb#L749
   #
   #     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 https://github.com/ruby/ruby/blob/trunk/lib/irb.rb#L780
   #     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:
   #

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]