Class: RDF::List

Inherits:
Object
  • Object
show all
Defined in:
lib/rdf/sak/util.rb

Class Method Summary collapse

Class Method Details

.from(graph, subject) ⇒ Object

Inflate a list from a graph but don’t change the graph



45
46
47
# File 'lib/rdf/sak/util.rb', line 45

def self.from graph, subject
  self.new graph: graph, subject: subject, values: get_list(graph, subject)
end