class Flor::Pro::All

Protected Instance Methods

function_mandatory?() click to toggle source
# File lib/flor/pcore/all.rb, line 84
def function_mandatory?

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

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

  Flor.true?(payload['ret'])
end
no_iterate() click to toggle source
# File lib/flor/pcore/all.rb, line 89
def no_iterate

  ret =
    case col = @node['ocol']
    when Array then col.all?
    when Hash then col.values.all?
    else false
    end

  wrap_reply('ret' => ret)
end
receive_iteration() click to toggle source
# File lib/flor/pcore/all.rb, line 79
def receive_iteration

  # nothing to do
end