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

ruby-changes:51402

From: hsbt <ko1@a...>
Date: Fri, 8 Jun 2018 17:47:01 +0900 (JST)
Subject: [ruby-changes:51402] hsbt:r63608 (trunk): Removed needless extension for require.

hsbt	2018-06-08 17:46:52 +0900 (Fri, 08 Jun 2018)

  New Revision: 63608

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

  Log:
    Removed needless extension for require.

  Modified files:
    trunk/lib/matrix.rb
    trunk/lib/thwait.rb
Index: lib/thwait.rb
===================================================================
--- lib/thwait.rb	(revision 63607)
+++ lib/thwait.rb	(revision 63608)
@@ -5,7 +5,7 @@ https://github.com/ruby/ruby/blob/trunk/lib/thwait.rb#L5
 #       $Revision: 1.3 $
 #       by Keiju ISHITSUKA(Nihon Rational Software Co.,Ltd.)
 
-require "e2mmap.rb"
+require "e2mmap"
 
 #
 # This class watches for termination of multiple threads.  Basic functionality
Index: lib/matrix.rb
===================================================================
--- lib/matrix.rb	(revision 63607)
+++ lib/matrix.rb	(revision 63608)
@@ -12,7 +12,7 @@ https://github.com/ruby/ruby/blob/trunk/lib/matrix.rb#L12
 # Original Documentation:: Gavin Sinclair (sourced from <i>Ruby in a Nutshell</i> (Matsumoto, O'Reilly))
 ##
 
-require "e2mmap.rb"
+require "e2mmap"
 
 module ExceptionForMatrix # :nodoc:
   extend Exception2MessageMapper

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

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