summaryrefslogtreecommitdiff
path: root/lib/dataset.rb
diff options
context:
space:
mode:
authormguetlein <martin.guetlein@gmail.com>2010-05-11 15:34:36 +0200
committermguetlein <martin.guetlein@gmail.com>2010-05-11 15:34:36 +0200
commitb5a5b7aab800f1268b675683b345042e901e75e2 (patch)
treecd16d71363126cc227646ffffedd026a5fe69fc8 /lib/dataset.rb
parent35eb04149930d4e24fcbd4966d2253465d088860 (diff)
return pure string when saving
Diffstat (limited to 'lib/dataset.rb')
-rw-r--r--lib/dataset.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dataset.rb b/lib/dataset.rb
index 9304eec..4099e5e 100644
--- a/lib/dataset.rb
+++ b/lib/dataset.rb
@@ -172,7 +172,7 @@ module OpenTox
@features.uniq!
@compounds.uniq!
- OpenTox::RestClientWrapper.post(@@config[:services]["opentox-dataset"],{:content_type => "text/x-yaml"},self.to_yaml).strip
+ OpenTox::RestClientWrapper.post(@@config[:services]["opentox-dataset"],{:content_type => "text/x-yaml"},self.to_yaml).strip.to_s
end
=begin