lib/ruote/exp/ro_persist.rb
# Does persist or unpersist, if successful then returns true. If the
# expression is gone, returns false.
# If there is a 'fresher' version of the expression, re-attempt and returns
# false.
#
Does persist or unpersist, if successful then returns true. If the
expression is gone, returns false.
If there is a 'fresher' version of the expression, re-attempt and returns
false.
Does persist or unpersist if successful then returns true . If the expression is gone returns false . If there is a ' fresher ' version of the expression re - attempt and returns false .
def do_p(pers)
      case r = pers ? try_persist : try_unpersist
        when true
          false 
        when Hash
          self.h = r
          self.send("do_#{@msg['action']}", @msg) if @msg
          false 
        else
          true 
      end
    end
def do_p ( pers ) case r = pers ? try_persist : try_unpersist when true false when Hash self . h = r self . send ( "do_#{@msg['action']}" , @msg ) if @msg false else true end end
Does persist or unpersist, if successful then returns true.
Does persist or unpersist if successful then returns true .
# do not go on # do not go on # success, do go on
pers