lib/picky/query/allocations.rb in picky-4.19.1 vs lib/picky/query/allocations.rb in picky-4.19.2
- old
+ new
@@ -26,12 +26,12 @@
@allocations = allocations
end
# Score each allocation.
#
- def calculate_score weights
+ def calculate_score boosts
@allocations.each do |allocation|
- allocation.calculate_score weights
+ allocation.calculate_score boosts
end
end
# Sort the allocations.
#
\ No newline at end of file