lib/json/ld/compact.rb in json-ld-0.1.5.2 vs lib/json/ld/compact.rb in json-ld-0.1.6

- old
+ new

@@ -42,10 +42,10 @@ k ||= '@id' if element.keys == ['@id'] case k when '@value', '@id' - # If element has an @value property or element is a subject reference, return the result of performing + # If element has an @value property or element is a node reference, return the result of performing # Value Compaction on element using active property. v = context.compact_value(property, element, :depth => @depth) debug("compact") {"value optimization, return as #{v.inspect}"} return v when '@list'