diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-09 02:15:45 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-09 02:15:45 +0000 |
commit | c0e36de0aa0c632f630cd059ebb1bfdca927b44d (patch) | |
tree | 04ac1b0e6b0af3aa521a2cc17cdef74237a94328 | |
parent | 612edc7706c97b1e46e29667c5cc4458187d803d (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
-rw-r--r-- | tool/vcs.rb | 2 |
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() |