summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-07-15 13:15:13 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-07-15 13:16:16 +0900
commitbadfbdf32c26f44b93687698b4dca9dd95f70a75 (patch)
treeafd402bf8ec0d77d41c88093859a82101730e45a /tool
parentbd494ae79b18e260b0123bf40ddc1c694d7b25b8 (diff)
Move vpath.rb into tool library direcotry.
Diffstat (limited to 'tool')
-rwxr-xr-xtool/checksum.rb2
-rw-r--r--tool/generic_erb.rb2
-rwxr-xr-xtool/id2token.rb2
-rw-r--r--tool/lib/vpath.rb (renamed from tool/vpath.rb)0
4 files changed, 3 insertions, 3 deletions
diff --git a/tool/checksum.rb b/tool/checksum.rb
index 3b41aed..bcc60ee 100755
--- a/tool/checksum.rb
+++ b/tool/checksum.rb
@@ -1,6 +1,6 @@
#!ruby
-require_relative 'vpath'
+require_relative 'lib/vpath'
class Checksum
def initialize(vpath)
diff --git a/tool/generic_erb.rb b/tool/generic_erb.rb
index 3184cbb..eaafe0c 100644
--- a/tool/generic_erb.rb
+++ b/tool/generic_erb.rb
@@ -6,7 +6,7 @@
require 'erb'
require 'optparse'
$:.unshift(File.dirname(__FILE__))
-require 'vpath'
+require_relative 'lib/vpath'
require_relative 'lib/colorize'
vpath = VPath.new
diff --git a/tool/id2token.rb b/tool/id2token.rb
index 706154e..9267126 100755
--- a/tool/id2token.rb
+++ b/tool/id2token.rb
@@ -6,7 +6,7 @@
BEGIN {
require 'optparse'
$:.unshift(File.dirname(__FILE__))
- require 'vpath'
+ require_relative 'lib/vpath'
vpath = VPath.new
header = nil
diff --git a/tool/vpath.rb b/tool/lib/vpath.rb
index 48ab148..48ab148 100644
--- a/tool/vpath.rb
+++ b/tool/lib/vpath.rb