diff options
author | Christoph Helma <helma@in-silico.de> | 2009-12-21 15:20:20 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.de> | 2009-12-21 15:20:20 +0100 |
commit | f178a17d3318082dfa923582715b39d72bd07c32 (patch) | |
tree | 997b281f49b020ad477bb12034c54bdc8b5bb788 /lib/dataset.rb | |
parent | 52a39a978bb1c8a6caa5882f12eb1830893563b8 (diff) |
Dataset.find fixed, feature.rb removed from gemspec
Diffstat (limited to 'lib/dataset.rb')
-rw-r--r-- | lib/dataset.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dataset.rb b/lib/dataset.rb index 30f9644..4d05e73 100644 --- a/lib/dataset.rb +++ b/lib/dataset.rb @@ -85,9 +85,9 @@ module OpenTox def self.find(uri) begin - RestClient.get uri, :accept => 'application/rdf+xml' # check if the resource is available dataset = Dataset.new - dataset.read uri.to_s + data = RestClient.get uri, :accept => 'application/rdf+xml' # check if the resource is available + dataset.rdf = data dataset rescue nil |