ruby-changes:60578
From: Nobuyoshi <ko1@a...>
Date: Mon, 30 Mar 2020 16:02:48 +0900 (JST)
Subject: [ruby-changes:60578] 9552fa9c0d (master): [DOC] Updated module name [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=9552fa9c0d From 9552fa9c0d02e3c1dc618c3de6ba565ec05bb68f Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Mon, 30 Mar 2020 15:51:40 +0900 Subject: [DOC] Updated module name [ci skip] diff --git a/tool/mkconfig.rb b/tool/mkconfig.rb index 4cd47ae..c4f9d5b 100755 --- a/tool/mkconfig.rb +++ b/tool/mkconfig.rb @@ -283,9 +283,9 @@ print <<EOS https://github.com/ruby/ruby/blob/trunk/tool/mkconfig.rb#L283 # require 'rbconfig' # # print <<-END_OF_MAKEFILE - # prefix = \#{Config::MAKEFILE_CONFIG['prefix']} - # exec_prefix = \#{Config::MAKEFILE_CONFIG['exec_prefix']} - # bindir = \#{Config::MAKEFILE_CONFIG['bindir']} + # prefix = \#{RbConfig::MAKEFILE_CONFIG['prefix']} + # exec_prefix = \#{RbConfig::MAKEFILE_CONFIG['exec_prefix']} + # bindir = \#{RbConfig::MAKEFILE_CONFIG['bindir']} # END_OF_MAKEFILE # # => prefix = /usr/local @@ -295,7 +295,7 @@ print <<EOS https://github.com/ruby/ruby/blob/trunk/tool/mkconfig.rb#L295 # RbConfig.expand is used for resolving references like above in rbconfig. # # require 'rbconfig' - # p Config.expand(Config::MAKEFILE_CONFIG["bindir"]) + # p RbConfig.expand(RbConfig::MAKEFILE_CONFIG["bindir"]) # # => "/usr/local/bin" MAKEFILE_CONFIG = {} CONFIG.each{|k,v| MAKEFILE_CONFIG[k] = v.dup} -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/