Method: Moped::Executable#executing?

Defined in:
lib/moped/executable.rb

#executing?(name) ⇒ true, false

Are we currently executing a stack on the thread?

Examples:

Are we executing a pipeline?

executing?(:pipeline)

Parameters:

  • name (Symbol)

    The name of the stack.

Returns:

  • (true, false)

    If we are executing the stack.

Since:

  • 2.0.0



41
42
43
# File 'lib/moped/executable.rb', line 41

def executing?(name)
  !stack(name).empty?
end