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

ruby-changes:53064

From: stomar <ko1@a...>
Date: Sun, 21 Oct 2018 23:02:08 +0900 (JST)
Subject: [ruby-changes:53064] stomar:r65278 (trunk): lib/mutex_m.rb: fix example code in documentation

stomar	2018-10-21 23:02:00 +0900 (Sun, 21 Oct 2018)

  New Revision: 65278

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

  Log:
    lib/mutex_m.rb: fix example code in documentation
    
    * lib/mutex_m.rb: [DOC] fix invalid example code to make it
      syntax highlighted.

  Modified files:
    trunk/lib/mutex_m.rb
Index: lib/mutex_m.rb
===================================================================
--- lib/mutex_m.rb	(revision 65277)
+++ lib/mutex_m.rb	(revision 65278)
@@ -25,12 +25,12 @@ https://github.com/ruby/ruby/blob/trunk/lib/mutex_m.rb#L25
 #   obj.extend Mutex_m
 #
 # Or mixin Mutex_m into your module to your class inherit Mutex instance
-# methods ---remember to call super() in your class initialize method.
+# methods --- remember to call super() in your class initialize method.
 #
 #   class Foo
 #     include Mutex_m
-#     def initialize ...
-#       ...
+#     def initialize
+#       # ...
 #       super()
 #     end
 #     # ...

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

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