Class: BuildTool::VCS::GitSvnConfiguration
- Inherits:
-
GitConfiguration
- Object
- BaseConfiguration
- GitConfiguration
- BuildTool::VCS::GitSvnConfiguration
- Defined in:
- lib/build-tool/vcs/git-svn.rb
Instance Attribute Summary collapse
-
#externals ⇒ Object
readonly
Returns the value of attribute externals.
Attributes inherited from GitConfiguration
Attributes inherited from BaseConfiguration
Instance Method Summary collapse
- #add_external(local, target) ⇒ Object
- #copy_configuration(other) ⇒ Object
-
#initialize ⇒ GitSvnConfiguration
constructor
A new instance of GitSvnConfiguration.
- #name ⇒ Object
- #vcs(mod) ⇒ Object
Methods inherited from GitConfiguration
Methods inherited from BaseConfiguration
#local_path, #remote_path, #repository
Constructor Details
#initialize ⇒ GitSvnConfiguration
Returns a new instance of GitSvnConfiguration.
15 16 17 18 |
# File 'lib/build-tool/vcs/git-svn.rb', line 15 def initialize super @externals = {} end |
Instance Attribute Details
#externals ⇒ Object (readonly)
Returns the value of attribute externals.
13 14 15 |
# File 'lib/build-tool/vcs/git-svn.rb', line 13 def externals @externals end |
Instance Method Details
#add_external(local, target) ⇒ Object
26 27 28 |
# File 'lib/build-tool/vcs/git-svn.rb', line 26 def add_external( local, target ) @externals[local] = target end |
#copy_configuration(other) ⇒ Object
30 31 32 33 |
# File 'lib/build-tool/vcs/git-svn.rb', line 30 def copy_configuration( other ) super @externals = {} # Do not copy the externals end |
#name ⇒ Object
9 10 11 |
# File 'lib/build-tool/vcs/git-svn.rb', line 9 def name "git-svn" end |