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

ruby-changes:42451

From: ktsj <ko1@a...>
Date: Sat, 9 Apr 2016 21:42:56 +0900 (JST)
Subject: [ruby-changes:42451] ktsj:r54525 (trunk): * lib/ostruct.rb: [DOC] fix position of nodoc directive.

ktsj	2016-04-09 22:39:32 +0900 (Sat, 09 Apr 2016)

  New Revision: 54525

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

  Log:
    * lib/ostruct.rb: [DOC] fix position of nodoc directive.

  Modified files:
    trunk/lib/ostruct.rb
Index: lib/ostruct.rb
===================================================================
--- lib/ostruct.rb	(revision 54524)
+++ lib/ostruct.rb	(revision 54525)
@@ -71,8 +71,7 @@ https://github.com/ruby/ruby/blob/trunk/lib/ostruct.rb#L71
 # of these properties compared to using a Hash or a Struct.
 #
 class OpenStruct
-  # :nodoc:
-  class << self
+  class << self # :nodoc:
     alias allocate new
   end
 

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

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