Module: Prepcook

Defined in:
lib/prepcook.rb,
lib/prepcook/version.rb

Overview

Testing the rake release function

Defined Under Namespace

Classes: Work

Constant Summary collapse

VERSION =
"0.0.8"

Class Method Summary collapse

Class Method Details

.work(cooktask = "chopping", tasklength = 3) ⇒ Object



7
8
9
10
11
12
13
14
15
# File 'lib/prepcook.rb', line 7

def self.work(cooktask = "chopping", tasklength = 3)
    work_finished = String.new
    ShellSpinner do
        worker = Work.new(cooktask, tasklength)
        work_finished = worker.work    
        puts work_finished
    end
    return work_finished
end