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

ruby-changes:19117

From: nobu <ko1@a...>
Date: Wed, 23 Mar 2011 08:25:55 +0900 (JST)
Subject: [ruby-changes:19117] Ruby:r31156 (trunk): * ruby.c (proc_options): remove an experimental featuRe: --require

nobu	2011-03-23 08:05:51 +0900 (Wed, 23 Mar 2011)

  New Revision: 31156

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

  Log:
    * ruby.c (proc_options): remove an experimental feature: --require
      option.

  Modified files:
    trunk/ruby.c

Index: ruby.c
===================================================================
--- ruby.c	(revision 31155)
+++ ruby.c	(revision 31156)
@@ -1068,9 +1068,6 @@
 		set_source_encoding_once(opt, s, 0);
 	    }
 #endif
-	    else if (is_option_with_arg("require", Qfalse, Qtrue)) {
-		add_modules(&opt->req_list, s);
-	    }
 	    else if (is_option_with_arg("gem", Qfalse, Qtrue)) {
                 if (strcmp("disabled", s) == 0) {
                     opt->disable |= DISABLE_BIT(gems);

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

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