class Flor::Pro::Find

Protected Instance Methods

iterator_over?() click to toggle source
Calls superclass method Flor::Pro::Iterator#iterator_over?
# File lib/flor/pcore/find.rb, line 54
def iterator_over?

  super || (@node['idx'] > 0 && Flor.true?(payload['ret']))
end
iterator_result() click to toggle source
# File lib/flor/pcore/find.rb, line 59
def iterator_result

  if Flor.true?(payload['ret'])
    @node['col'][@node['idx'] - 1]
  else
    nil
  end
end
pre_iterator() click to toggle source
# File lib/flor/pcore/find.rb, line 44
def pre_iterator

  # nothing to do
end
receive_iteration() click to toggle source
# File lib/flor/pcore/find.rb, line 49
def receive_iteration

  # nothing to do
end