Method: Spider::Model::QuerySet#each_current_index
- Defined in:
- lib/spiderfw/model/query_set.rb
#each_current_index {|Fixnum| ... } ⇒ void
This method returns an undefined value.
Iterates on indexes without loading.
490 491 492 493 494 495 |
# File 'lib/spiderfw/model/query_set.rb', line 490 def each_current_index @objects.each_index do |i| i += @window_current_start-1 if @window_current_start yield i end end |