Module: Prepcook

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

Overview

Testing the rake release function

Constant Summary collapse

VERSION =
"1.0.1"

Class Method Summary collapse

Class Method Details

.wait_patiently(task_length = 0) ⇒ Object



12
13
14
15
16
# File 'lib/prepcook.rb', line 12

def self.wait_patiently(task_length = 0)
    ShellSpinner do
        sleep task_length
    end
end

.work(cook_task = "chopping", task_length = 3) ⇒ Object



7
8
9
10
# File 'lib/prepcook.rb', line 7

def self.work(cook_task = "chopping", task_length = 3)
    self.wait_patiently(task_length)
    return "Finished #{cook_task}"
end