Method: RDF::Query::Pattern#unbound_variables

Defined in:
lib/rdf/query/pattern.rb

#unbound_variablesHash{Symbol => Variable}

Returns all unbound variables in this pattern.

Returns:

Since:

  • 0.3.0



366
367
368
# File 'lib/rdf/query/pattern.rb', line 366

def unbound_variables
  variables.reject { |name, variable| variable.bound? }
end