summaryrefslogtreecommitdiff
path: root/lib/utils/shims/task.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils/shims/task.rb')
-rw-r--r--lib/utils/shims/task.rb22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/utils/shims/task.rb b/lib/utils/shims/task.rb
new file mode 100644
index 0000000..cb73e72
--- /dev/null
+++ b/lib/utils/shims/task.rb
@@ -0,0 +1,22 @@
+=begin
+* Name: task.rb
+* Description: Task shims
+* Author: Andreas Maunz <andreas@maunz.de>
+* Date: 10/2012
+=end
+
+
+module OpenTox
+
+ # Shims for the Task class
+ class Task
+
+ # Check status of a task
+ # @return [String] Status
+ def status
+ self[RDF::OT.hasStatus]
+ end
+
+ end
+
+end