Class: BuildTool::VCS::MercurialConfiguration
- Inherits:
-
BaseConfiguration
- Object
- BaseConfiguration
- BuildTool::VCS::MercurialConfiguration
- Includes:
- MJ::Mixins::InheritedAttributes
- Defined in:
- lib/build-tool/vcs/mercurial.rb
Instance Attribute Summary collapse
Attributes inherited from BaseConfiguration
Instance Method Summary collapse
- #copy_configuration(other) ⇒ Object
-
#initialize ⇒ MercurialConfiguration
constructor
A new instance of MercurialConfiguration.
- #name ⇒ Object
- #vcs(mod) ⇒ Object
Methods included from MJ::Mixins::InheritedAttributes
Methods inherited from BaseConfiguration
Constructor Details
#initialize ⇒ MercurialConfiguration
Returns a new instance of MercurialConfiguration.
19 20 21 22 23 |
# File 'lib/build-tool/vcs/mercurial.rb', line 19 def initialize super @url = nil @track = nil end |
Instance Attribute Details
#track ⇒ Object
32 33 34 35 36 |
# File 'lib/build-tool/vcs/mercurial.rb', line 32 def track return @track if @track return parent.track if @parent return 'default' end |
Instance Method Details
#copy_configuration(other) ⇒ Object
40 41 42 |
# File 'lib/build-tool/vcs/mercurial.rb', line 40 def copy_configuration( other ) super end |
#name ⇒ Object
15 16 17 |
# File 'lib/build-tool/vcs/mercurial.rb', line 15 def name "mercurial" end |