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

ruby-changes:55545

From: Nobuyoshi <ko1@a...>
Date: Fri, 26 Apr 2019 18:54:22 +0900 (JST)
Subject: [ruby-changes:55545] Nobuyoshi Nakada:e804fcb42c (trunk): Fix rdoc in 52cfb17086

https://git.ruby-lang.org/ruby.git/commit/?id=e804fcb42c

From e804fcb42c56d5a4ff31df0391accaf5ede8c26e Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Fri, 26 Apr 2019 18:53:36 +0900
Subject: Fix rdoc in 52cfb17086


diff --git a/lib/irb.rb b/lib/irb.rb
index a7e7944..ba12bdb 100644
--- a/lib/irb.rb
+++ b/lib/irb.rb
@@ -750,8 +750,8 @@ class Binding https://github.com/ruby/ruby/blob/trunk/lib/irb.rb#L750
   #
   #     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
   #
@@ -781,7 +781,7 @@ class Binding https://github.com/ruby/ruby/blob/trunk/lib/irb.rb#L781
   #     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:
   #
-- 
cgit v0.10.2


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

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