queries with blocks don't work

Bug #88428 reported by Eyal Oren
2
Affects Status Importance Assigned to Milestone
ActiveRDF
Confirmed
Medium
Eyal Oren

Bug Description

Passing a block to a query doesn't seem to work.

Query.new.select(:s).where(:s,type,:o).execute do |s|
  puts 'abc'
end

doesn't do anything, although the array returned by the query is not empty:

results = Query.new.select(:s).where(:s,type,:o).execute
results.each do |s|
  puts s
end

Eyal Oren (ikbeneyal)
Changed in activerdf:
assignee: nobody → ikbeneyal
importance: Undecided → Medium
status: Unconfirmed → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.