class Flor::Pro::Filter

Protected Instance Methods

iterator_result() click to toggle source
# File lib/flor/pcore/filter.rb, line 86
def iterator_result

  if @node['ocol'].is_a?(Hash)
    Hash[@node['res']]
  else
    @node['res']
  end
end
receive_iteration() click to toggle source
# File lib/flor/pcore/filter.rb, line 78
def receive_iteration

  @node['res'] << @node['col'][@node['idx']] \
    if (
      (heap == 'filter' && Flor.true?(payload['ret'])) ||
      (heap == 'filter-out' && Flor.false?(payload['ret'])))
end