lib/openwfe/engine/status_methods.rb
#
# Prepares the @expressions instance variable. This method
# is only called by the process_status method of the Engine.
#
Prepares the @expressions instance variable. This method
is only called by the process_status method of the Engine.
Prepares the @expressions instance variable . This method is only called by the process_status method of the Engine .
def pack_expressions
      @expressions = []
      @all_expressions.sort_by { |fe|
        "#{fe.fei.wfid} #{fe.fei.expid}"
      }.each do |fe|
        next unless fe.apply_time
        @expressions.delete_if { |e| e.fei == fe.parent_id }
        @expressions << fe
      end
    end
def pack_expressions @expressions = [ ] @all_expressions . sort_by { | fe | "#{fe.fei.wfid} #{fe.fei.expid}" } . each do | fe | next unless fe . apply_time @expressions . delete_if { | e | e . fei == fe . parent_id } @expressions << fe end end
Prepares the @expressions instance variable.
Prepares the @expressions instance variable .
# no Environment instances allowed