lib/rdf/microdata/reader.rb in rdf-microdata-2.0.3 vs lib/rdf/microdata/reader.rb in rdf-microdata-2.1.0
- old
+ new
@@ -279,13 +279,13 @@
end
log_info(nil) {"parse_whole_doc: base='#{base}'"}
ec = {
- :memory => {},
- :current_type => nil,
+ memory: {},
+ current_type: nil,
current_vocabulary: nil,
- :document_base => base,
+ document_base: base,
}
# 1) For each element that is also a top-level item, Generate the triples for that item using the evaluation context.
getItems.each do |el|
log_depth {generate_triples(el, ec)}
end
\ No newline at end of file