Class: Filament::SCM::PackageSCM

Inherits:
Object
  • Object
show all
Defined in:
lib/filament/package.rb

Instance Method Summary collapse

Constructor Details

#initialize(package) ⇒ PackageSCM

Returns a new instance of PackageSCM.



67
68
69
# File 'lib/filament/package.rb', line 67

def initialize(package)
  @package = package
end

Instance Method Details

#commit(msg) ⇒ Object



79
80
81
# File 'lib/filament/package.rb', line 79

def commit(msg)
  @package.subpackages.each {|s| s.scm.commit(msg)}
end

#statusObject



75
76
77
# File 'lib/filament/package.rb', line 75

def status
  @package.subpackages.each {|s| s.scm.status}
end

#updateObject



71
72
73
# File 'lib/filament/package.rb', line 71

def update
  @package.subpackages.each {|s| s.scm.update}  
end