Method: Swarm::ActivityExpression#work

Defined in:
lib/swarm/expressions/activity_expression.rb

#workObject



5
6
7
8
9
10
11
# File 'lib/swarm/expressions/activity_expression.rb', line 5

def work
  if command == "trace"
    TraceParticipant.new(hive: hive, expression: self).work
  else
    StorageParticipant.new(hive: hive, expression: self).work
  end
end