Class: Mrwolf
- Inherits:
-
Object
- Object
- Mrwolf
- Defined in:
- lib/mrwolf.rb
Defined Under Namespace
Classes: Packager, Transporter
Instance Method Summary collapse
-
#initialize(path, project, version) ⇒ Mrwolf
constructor
A new instance of Mrwolf.
- #package ⇒ Object
- #transport ⇒ Object
Constructor Details
#initialize(path, project, version) ⇒ Mrwolf
Returns a new instance of Mrwolf.
2 3 4 5 6 |
# File 'lib/mrwolf.rb', line 2 def initialize(path,project,version) @path =path @project =project @version =version end |
Instance Method Details
#package ⇒ Object
8 9 10 11 |
# File 'lib/mrwolf.rb', line 8 def package task = Packager.new(@path,@project,@version) task.package end |
#transport ⇒ Object
13 14 15 16 |
# File 'lib/mrwolf.rb', line 13 def transport task = Transporter.new(@project,@version) task.publish end |