Skip to content

Commit

Permalink
removed to_set from Store#search
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleg Andreev committed May 24, 2008
1 parent a536bc1 commit c32f6b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/strokedb/store.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def find(uuid, version=nil, opts = {}, &block)
# search(:a => xxx, :b => yyy, ...)
def search(slots)
slots.map do |key, value|
@all_slots_view.find([key, value]).to_set
@all_slots_view.find([key, value])
end.inject do |set, subset|
set & subset
end
Expand Down

0 comments on commit c32f6b6

Please sign in to comment.