summaryrefslogtreecommitdiff
path: root/lib/opentox.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2012-03-29 14:50:03 +0200
committerChristoph Helma <helma@in-silico.ch>2012-03-29 14:50:03 +0200
commit97f9367b05a9a665022adc5c3f0a988acb1c4fa3 (patch)
tree0a716fa05fc4c8beacde349b13e7d749c1b23b9e /lib/opentox.rb
parent0d457e40c005ba4209ec7e3093aa06d73d65a442 (diff)
RestClientWrapper follows redirects
Diffstat (limited to 'lib/opentox.rb')
-rw-r--r--lib/opentox.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/opentox.rb b/lib/opentox.rb
index 2232063..187eb08 100644
--- a/lib/opentox.rb
+++ b/lib/opentox.rb
@@ -70,12 +70,6 @@ module OpenTox
end
end
-# def to_hash
-# hash = {}
-# metadata.each{|k,v| v.is_a?(Array) ? hash[k.to_s] = v.collect{|i| i.to_s} : hash[k.to_s] = v.to_s}
-# hash
-# end
-
def to_yaml
@rdf.to_hash.to_yaml
end