aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-09 02:15:45 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-09 02:15:45 +0000
commit3657b28b2ae105a99527f837c8ce3213abbd1e41 (patch)
tree04ac1b0e6b0af3aa521a2cc17cdef74237a94328 /tool
parent5dec6a441190221ef1ecba49f9afc65daf1f334e (diff)
downloadruby-3657b28b2ae105a99527f837c8ce3213abbd1e41.tar.gz
vcs.rb: srcdir accessor
* tool/vcs.rb (VCS#srcdir): add accessor for VCS::GIT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rw-r--r--tool/vcs.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/tool/vcs.rb b/tool/vcs.rb
index 50c0607039..ca8aa6a391 100644
--- a/tool/vcs.rb
+++ b/tool/vcs.rb
@@ -89,6 +89,8 @@ class VCS
String === path or path.respond_to?(:to_path)
end
+ attr_reader :srcdir
+
def initialize(path)
@srcdir = path
super()