Class: BuildTool::VCS::SvnConfiguration

Inherits:
BaseConfiguration show all
Defined in:
lib/build-tool/vcs/svn.rb

Instance Attribute Summary collapse

Attributes inherited from BaseConfiguration

#module

Instance Method Summary collapse

Methods inherited from BaseConfiguration

#local_path, #remote_path, #repository

Constructor Details

#initializeSvnConfiguration

Returns a new instance of SvnConfiguration.



7
8
9
10
# File 'lib/build-tool/vcs/svn.rb', line 7

def initialize
    super
    @only = nil
end

Instance Attribute Details

#onlyObject

Returns the value of attribute only.



22
23
24
# File 'lib/build-tool/vcs/svn.rb', line 22

def only
  @only
end

Instance Method Details

#copy_configuration(other) ⇒ Object



28
29
30
31
# File 'lib/build-tool/vcs/svn.rb', line 28

def copy_configuration( other )
    super
    @only = nil     # Do not copy nil
end

#nameObject



12
13
14
# File 'lib/build-tool/vcs/svn.rb', line 12

def name
    "svn"
end

#vcs(mod) ⇒ Object

Raises:

  • (StandardError)


16
17
18
19
20
# File 'lib/build-tool/vcs/svn.rb', line 16

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