1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

improved status

This commit is contained in:
Rodrigo Estebanez 2013-07-05 16:33:51 +02:00
parent c185aba360
commit 3de804c3a5

View file

@ -28,6 +28,20 @@ module Fog
def success?
status == 'success'
end
def non_running?
if status == 'running'
if progress.to_i == 0
printf '.'
else
puts progress
end
else
puts status
end
status != 'running'
end
end
end
end