Class: BuildTool::VCS::BazarConfiguration

Inherits:
BaseConfiguration show all
Includes:
MJ::Mixins::InheritedAttributes
Defined in:
lib/build-tool/vcs/bazar.rb

Instance Attribute Summary

Attributes inherited from BaseConfiguration

#module

Instance Method Summary collapse

Methods included from MJ::Mixins::InheritedAttributes

included

Methods inherited from BaseConfiguration

#local_path

Constructor Details

#initializeBazarConfiguration

Returns a new instance of BazarConfiguration.



19
20
21
22
# File 'lib/build-tool/vcs/bazar.rb', line 19

def initialize
    super
    @url = nil
end

Instance Method Details

#copy_configuration(other) ⇒ Object



32
33
34
# File 'lib/build-tool/vcs/bazar.rb', line 32

def copy_configuration( other )
    super
end

#nameObject



15
16
17
# File 'lib/build-tool/vcs/bazar.rb', line 15

def name
    "bazar"
end

#vcs(mod) ⇒ Object

Raises:

  • (StandardError)


24
25
26
27
28
# File 'lib/build-tool/vcs/bazar.rb', line 24

def vcs( mod )
    raise StandardError if @module and ! mod.equal?( @module )
    @module = mod
    Bazar.new( self )
end