Class: RoastBeef::SvnPackage

Inherits:
Package
  • Object
show all
Defined in:
lib/roastbeef/scms/svn_package.rb

Instance Attribute Summary

Attributes inherited from Package

#author, #build, #description, #name, #prereqs, #remove, #repository, #url

Instance Method Summary collapse

Methods inherited from Package

all, #checked_out?, find, #initialize, #inspect, #install, #path, #to_s, #truncated_description, #unremovable?

Constructor Details

This class inherits a constructor from RoastBeef::Package

Instance Method Details

#checkoutObject



3
4
5
# File 'lib/roastbeef/scms/svn_package.rb', line 3

def checkout
  system "svn co #{repository} #{path}"
end

#updateObject



7
8
9
# File 'lib/roastbeef/scms/svn_package.rb', line 7

def update
  system "cd #{path} && svn up"
end