lib/ruote/part/local_participant.rb
def workitem(fei=nil)

      return fetch_workitem(fei) if fei

      @workitem ? @workitem : applied_workitem
    end
# Returns the current workitem if no fei is given.
# If a fei is given, it will return the applied workitem for that fei
# (if any).
#
# The optional fei is mostly here for backward compatibility (with 2.2.0)
#
Returns the current workitem if no fei is given.
If a fei is given, it will return the applied workitem for that fei
(if any).

The optional fei is mostly here for backward compatibility (with 2.2.0)
Returns the current workitem if no fei is given . If a fei is given it will return the applied workitem for that fei ( if any ) . The optional fei is mostly here for backward compatibility ( with 2 . 2 . 0 )
def workitem(fei=nil)
      return fetch_workitem(fei) if fei
      @workitem ? @workitem : applied_workitem
    end
def workitem ( fei = nil ) return fetch_workitem ( fei ) if fei @workitem ? @workitem : applied_workitem end
Returns the current workitem if no fei is given.
Returns the current workitem if no fei is given .
fei