Class: Filament::SCM::PackageSCM
- Inherits:
-
Object
- Object
- Filament::SCM::PackageSCM
- Defined in:
- lib/filament/package.rb
Instance Method Summary collapse
- #commit(msg) ⇒ Object
-
#initialize(package) ⇒ PackageSCM
constructor
A new instance of PackageSCM.
- #status ⇒ Object
- #update ⇒ Object
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 |
#status ⇒ Object
75 76 77 |
# File 'lib/filament/package.rb', line 75 def status @package.subpackages.each {|s| s.scm.status} end |
#update ⇒ Object
71 72 73 |
# File 'lib/filament/package.rb', line 71 def update @package.subpackages.each {|s| s.scm.update} end |