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

ruby-changes:28804

From: zzak <ko1@a...>
Date: Mon, 20 May 2013 22:01:34 +0900 (JST)
Subject: [ruby-changes:28804] zzak:r40856 (trunk): * lib/e2mmap.rb: Format of E2MM documentation

zzak	2013-05-20 22:01:24 +0900 (Mon, 20 May 2013)

  New Revision: 40856

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40856

  Log:
    * lib/e2mmap.rb: Format of E2MM documentation

  Modified files:
    trunk/ChangeLog
    trunk/lib/e2mmap.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 40855)
+++ ChangeLog	(revision 40856)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon May 20 22:00:31 2013  Zachary Scott  <zachary@z...>
+
+	* lib/e2mmap.rb: Format of E2MM documentation
+
 Mon May 20 21:41:15 2013  Zachary Scott  <zachary@z...>
 
 	* ext/extmk.rb: nodoc this file
Index: lib/e2mmap.rb
===================================================================
--- lib/e2mmap.rb	(revision 40855)
+++ lib/e2mmap.rb	(revision 40856)
@@ -1,13 +1,17 @@ https://github.com/ruby/ruby/blob/trunk/lib/e2mmap.rb#L1
 #
+#--
 #   e2mmap.rb - for ruby 1.1
 #       $Release Version: 2.0$
 #       $Revision: 1.10 $
 #       by Keiju ISHITSUKA
 #
-# --
-#   Usage:
+#++
 #
-# U1)
+# Helper module for easily defining exceptions with predefined messages.
+#
+# == Usage
+#
+# 1.
 #   class Foo
 #     extend Exception2MessageMapper
 #     def_e2message ExistingExceptionClass, "message..."
@@ -15,7 +19,7 @@ https://github.com/ruby/ruby/blob/trunk/lib/e2mmap.rb#L19
 #     ...
 #   end
 #
-# U2)
+# 2.
 #   module Error
 #     extend Exception2MessageMapper
 #     def_e2meggage ExistingExceptionClass, "message..."
@@ -30,7 +34,7 @@ https://github.com/ruby/ruby/blob/trunk/lib/e2mmap.rb#L34
 #   foo = Foo.new
 #   foo.Fail ....
 #
-# U3)
+# 3.
 #   module Error
 #     extend Exception2MessageMapper
 #     def_e2message ExistingExceptionClass, "message..."
@@ -50,7 +54,7 @@ https://github.com/ruby/ruby/blob/trunk/lib/e2mmap.rb#L54
 module Exception2MessageMapper
   @RCS_ID='-$Id: e2mmap.rb,v 1.10 1999/02/17 12:33:17 keiju Exp keiju $-'
 
-  E2MM = Exception2MessageMapper
+  E2MM = Exception2MessageMapper # :nodoc:
 
   def E2MM.extend_object(cl)
     super

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

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