summaryrefslogtreecommitdiff
path: root/lib/opentox.rb
diff options
context:
space:
mode:
authormguetlein <martin.guetlein@gmail.com>2013-02-04 14:07:28 +0100
committermguetlein <martin.guetlein@gmail.com>2013-02-04 14:07:28 +0100
commit54b833546cea44e03eca3183ad4a37b9f30651a1 (patch)
treefb240014170efdf4f19ee2d15c6217bc7b128ffc /lib/opentox.rb
parent8a374b38d1e8b727f365b6ce5edf5424eb1a0c7d (diff)
add validation, some debug messages, small adjustments
Diffstat (limited to 'lib/opentox.rb')
-rw-r--r--lib/opentox.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/opentox.rb b/lib/opentox.rb
index 0f29c30..f125c30 100644
--- a/lib/opentox.rb
+++ b/lib/opentox.rb
@@ -115,6 +115,10 @@ module OpenTox
end
def wait_for_task uri
+ OpenTox.wait_for_task uri
+ end
+
+ def self.wait_for_task uri
if URI.task?(uri)
t = OpenTox::Task.new uri
t.wait