summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-09 02:15:45 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-09 02:15:45 (GMT)
commitc0e36de0aa0c632f630cd059ebb1bfdca927b44d (patch)
tree04ac1b0e6b0af3aa521a2cc17cdef74237a94328 /tool
parent612edc7706c97b1e46e29667c5cc4458187d803d (diff)
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 50c0607..ca8aa6a 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()