Method: Qonfig::CommandSet#each

Defined in:
lib/qonfig/command_set.rb

#each(&block) ⇒ Enumerable

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • block (Proc)

Returns:

  • (Enumerable)

Since:

  • 0.1.0



40
41
42
# File 'lib/qonfig/command_set.rb', line 40

def each(&block)
  thread_safe { block_given? ? commands.each(&block) : commands.each }
end