class RDF::Query::Solutions
Public Instance Methods
to_h()
click to toggle source
# File lib/publisci/query/query_helper.rb, line 4 def to_h arr=[] self.map{|solution| h={} solution.map{|element| h[element[0]] = element[1] } arr << h } arr end