Class: BuildTool::VCS::MercurialConfiguration
- Inherits:
-
BaseConfiguration
- Object
- BaseConfiguration
- BuildTool::VCS::MercurialConfiguration
- Defined in:
- lib/build-tool/vcs/mercurial.rb
Instance Attribute Summary collapse
-
#remote ⇒ Object
Returns the value of attribute remote.
Attributes inherited from BaseConfiguration
Instance Method Summary collapse
- #branch ⇒ Object
- #copy_configuration(other) ⇒ Object
-
#initialize(mod = nil) ⇒ MercurialConfiguration
constructor
A new instance of MercurialConfiguration.
- #name ⇒ Object
- #vcs(mod) ⇒ Object
Methods inherited from BaseConfiguration
Constructor Details
#initialize(mod = nil) ⇒ MercurialConfiguration
Returns a new instance of MercurialConfiguration.
16 17 18 19 |
# File 'lib/build-tool/vcs/mercurial.rb', line 16 def initialize( mod = nil ) super( mod ) @remote = {} end |
Instance Attribute Details
#remote ⇒ Object
Returns the value of attribute remote.
14 15 16 |
# File 'lib/build-tool/vcs/mercurial.rb', line 14 def remote @remote end |
Instance Method Details
#branch ⇒ Object
27 28 29 |
# File 'lib/build-tool/vcs/mercurial.rb', line 27 def branch self.module.remote_path end |
#copy_configuration(other) ⇒ Object
31 32 33 34 |
# File 'lib/build-tool/vcs/mercurial.rb', line 31 def copy_configuration( other ) super @remote = {} # Do not copy the remote end |
#name ⇒ Object
10 11 12 |
# File 'lib/build-tool/vcs/mercurial.rb', line 10 def name "mercurial" end |