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

ruby-changes:29357

From: kazu <ko1@a...>
Date: Wed, 19 Jun 2013 14:07:43 +0900 (JST)
Subject: [ruby-changes:29357] kazu:r41409 (trunk): * test/ruby/envutil.rb (EnvUtil#rubybin): remove unnecessary unless expression.

kazu	2013-06-19 14:07:28 +0900 (Wed, 19 Jun 2013)

  New Revision: 41409

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

  Log:
    * test/ruby/envutil.rb (EnvUtil#rubybin): remove unnecessary unless expression.

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/envutil.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 41408)
+++ ChangeLog	(revision 41409)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Jun 19 14:04:41 2013  Kazuhiro NISHIYAMA  <zn@m...>
+
+	* test/ruby/envutil.rb (EnvUtil#rubybin): remove unnecessary
+	  unless expression.
+
 Wed Jun 19 07:47:48 2013  Koichi Sasada  <ko1@a...>
 
 	* gc.c (garbage_collect_body): use FIX2INT for ruby_gc_stress.
Index: test/ruby/envutil.rb
===================================================================
--- test/ruby/envutil.rb	(revision 41408)
+++ test/ruby/envutil.rb	(revision 41409)
@@ -5,9 +5,6 @@ require "test/unit" https://github.com/ruby/ruby/blob/trunk/test/ruby/envutil.rb#L5
 
 module EnvUtil
   def rubybin
-    unless ENV["RUBYOPT"]
-
-    end
     if ruby = ENV["RUBY"]
       return ruby
     end

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

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