ruby-changes:56544
From: Hiroshi <ko1@a...>
Date: Mon, 15 Jul 2019 13:44:58 +0900 (JST)
Subject: [ruby-changes:56544] Hiroshi SHIBATA: b401fb35a4 (master): Removed needless LOAD_PATH modification.
https://git.ruby-lang.org/ruby.git/commit/?id=b401fb35a4 From b401fb35a4196ba0229622a1bcdc5966f10e8e5d Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Mon, 15 Jul 2019 13:42:37 +0900 Subject: Removed needless LOAD_PATH modification. We can use require_relative now. diff --git a/tool/generic_erb.rb b/tool/generic_erb.rb index eaafe0c..6af995f 100644 --- a/tool/generic_erb.rb +++ b/tool/generic_erb.rb @@ -5,7 +5,6 @@ https://github.com/ruby/ruby/blob/trunk/tool/generic_erb.rb#L5 require 'erb' require 'optparse' -$:.unshift(File.dirname(__FILE__)) require_relative 'lib/vpath' require_relative 'lib/colorize' diff --git a/tool/id2token.rb b/tool/id2token.rb index 9267126..d12ea9c 100755 --- a/tool/id2token.rb +++ b/tool/id2token.rb @@ -5,7 +5,6 @@ https://github.com/ruby/ruby/blob/trunk/tool/id2token.rb#L5 BEGIN { require 'optparse' - $:.unshift(File.dirname(__FILE__)) require_relative 'lib/vpath' vpath = VPath.new header = nil -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/