lib/ruote/dboard/process_status.rb
def root_workitem

      return nil unless root_expression

      Ruote::Workitem.new(root_expression.h.applied_workitem)
    end
# Returns the workitem as was applied at the root expression.
#
# Returns nil if no root expression could be found.
#
Returns the workitem as was applied at the root expression.
Returns nil if no root expression could be found.
Returns the workitem as was applied at the root expression . Returns nil if no root expression could be found .
def root_workitem
      return nil unless root_expression
      Ruote::Workitem.new(root_expression.h.applied_workitem)
    end
def root_workitem return nil unless root_expression Ruote :: Workitem . new ( root_expression . h . applied_workitem ) end
Returns the workitem as was applied at the root expression.
Returns the workitem as was applied at the root expression .