Class: Rusky::Task
- Inherits:
-
Object
- Object
- Rusky::Task
- Defined in:
- lib/rusky/task.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(base = nil) ⇒ Task
constructor
A new instance of Task.
- #install ⇒ Object
Constructor Details
#initialize(base = nil) ⇒ Task
Returns a new instance of Task.
14 15 16 |
# File 'lib/rusky/task.rb', line 14 def initialize(base=nil) @cwd = base || Rusky.current_work_directory_name end |
Class Method Details
.install(base = nil) ⇒ Object
9 10 11 |
# File 'lib/rusky/task.rb', line 9 def install(base=nil) new(base).install end |