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

ruby-changes:57247

From: Nobuyoshi <ko1@a...>
Date: Sun, 25 Aug 2019 18:28:22 +0900 (JST)
Subject: [ruby-changes:57247] Nobuyoshi Nakada: c775ab5e28 (master): `local_path?` is a class method [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=c775ab5e28

From c775ab5e2892a86e89cebc2c2d16e7b0fd190f19 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sun, 25 Aug 2019 18:27:57 +0900
Subject: `local_path?` is a class method [ci skip]


diff --git a/tool/lib/vcs.rb b/tool/lib/vcs.rb
index a55b581..15ec4c1 100644
--- a/tool/lib/vcs.rb
+++ b/tool/lib/vcs.rb
@@ -270,7 +270,7 @@ class VCS https://github.com/ruby/ruby/blob/trunk/tool/lib/vcs.rb#L270
     end
 
     def _get_revisions(path, srcdir = nil)
-      if srcdir and local_path?(path)
+      if srcdir and self.class.local_path?(path)
         path = File.join(srcdir, path)
       end
       if srcdir
-- 
cgit v0.10.2


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

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