diff options
author | Christoph Helma <helma@in-silico.ch> | 2013-02-07 12:39:27 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2013-02-07 12:39:27 +0100 |
commit | 51db9ac6a532fce91a9e4448db3dae1272a9600c (patch) | |
tree | 904eeb6d0d781c07ed8427168bec1b07b1f852c6 /lib/opentox.rb | |
parent | 147e1b7351975f19697e1e6ff4a6106fd38174ae (diff) | |
parent | 2d7909789e3a4ee3c669125fb1f09fe3b4577de8 (diff) |
Merge branch 'development' of github.com:opentox/opentox-client into development
Diffstat (limited to 'lib/opentox.rb')
-rw-r--r-- | lib/opentox.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/opentox.rb b/lib/opentox.rb index 877c5d5..050e078 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 |