diff options
Diffstat (limited to 'lib/opentox.rb')
-rw-r--r-- | lib/opentox.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/opentox.rb b/lib/opentox.rb index 292eb6f..211fc7b 100644 --- a/lib/opentox.rb +++ b/lib/opentox.rb @@ -129,7 +129,7 @@ module OpenTox end def create_rdf - @rdf = RDF::Graph.new + @rdf = RDF::Graph.new if @rdf.empty? or URI.task?(@uri) @metadata[RDF.type] ||= eval("RDF::OT."+self.class.to_s.split('::').last) @metadata[RDF::DC.date] ||= DateTime.now @metadata.each do |predicate,values| |