lib/picky/results.rb in picky-4.12.1 vs lib/picky/results.rb in picky-4.12.2
- old
+ new
@@ -39,20 +39,20 @@
unique ?
allocations.process_unique!(amount, offset, extra_allocations) :
allocations.process!(amount, offset, extra_allocations)
end
- # Delegates to allocations.
+ # Forwards to allocations.
#
# Note that this is an expensive call and
# should not be done repeatedly. Just keep
# a reference to the result.
#
def ids only = amount
allocations.ids only
end
- # The total results. Delegates to the allocations.
+ # The total results. Forwards to the allocations.
#
def total
@total ||= allocations.total || 0
end
\ No newline at end of file