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

ruby-changes:35158

From: hsbt <ko1@a...>
Date: Thu, 21 Aug 2014 14:46:01 +0900 (JST)
Subject: [ruby-changes:35158] hsbt:r47240 (trunk): * lib/e2mmap.rb: removed commented-out code.

hsbt	2014-08-21 14:45:47 +0900 (Thu, 21 Aug 2014)

  New Revision: 47240

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

  Log:
    * lib/e2mmap.rb: removed commented-out code.

  Modified files:
    trunk/ChangeLog
    trunk/lib/e2mmap.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 47239)
+++ ChangeLog	(revision 47240)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Aug 21 14:45:41 2014  SHIBATA Hiroshi  <shibata.hiroshi@g...>
+
+	* lib/e2mmap.rb: removed commented-out code.
+
 Thu Aug 21 13:23:34 2014  SHIBATA Hiroshi  <shibata.hiroshi@g...>
 
 	* lib/rinda/ring.rb: split executable code into sample directory.
Index: lib/e2mmap.rb
===================================================================
--- lib/e2mmap.rb	(revision 47239)
+++ lib/e2mmap.rb	(revision 47240)
@@ -142,8 +142,6 @@ module Exception2MessageMapper https://github.com/ruby/ruby/blob/trunk/lib/e2mmap.rb#L142
   def E2MM.Raise(klass = E2MM, err = nil, *rest)
     if form = e2mm_message(klass, err)
       b = $@.nil? ? caller(1) : $@
-      #p $@
-      #p __FILE__
       b.shift if b[0] =~ /^#{Regexp.quote(__FILE__)}:/
       raise err, sprintf(form, *rest), b
     else
@@ -157,7 +155,6 @@ module Exception2MessageMapper https://github.com/ruby/ruby/blob/trunk/lib/e2mmap.rb#L155
   def E2MM.e2mm_message(klass, exp)
     for c in klass.ancestors
       if mes = @MessageMap[[c,exp]]
-        #p mes
         m = klass.instance_eval('"' + mes + '"')
         return m
       end

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

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