Class: Astrails::Safe::Svndump

Inherits:
Source show all
Defined in:
lib/astrails/safe/svndump.rb

Instance Attribute Summary

Attributes inherited from Source

#id

Attributes inherited from Stream

#backup, #config

Instance Method Summary collapse

Methods inherited from Source

#backup, #filename, #initialize, #kind, #timestamp

Methods inherited from Stream

#expand, #initialize

Constructor Details

This class inherits a constructor from Astrails::Safe::Source

Instance Method Details

#commandObject



5
6
7
# File 'lib/astrails/safe/svndump.rb', line 5

def command
  "svnadmin dump #{@config[:options]} #{@config[:repo_path]}"
end

#extensionObject



9
# File 'lib/astrails/safe/svndump.rb', line 9

def extension; '.svn'; end