Method: Qonfig::CommandSet#add_command

Defined in:
lib/qonfig/command_set.rb

#add_command(command) ⇒ void Also known as: <<

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.

This method returns an undefined value.

Parameters:

Since:

  • 0.1.0



30
31
32
# File 'lib/qonfig/command_set.rb', line 30

def add_command(command)
  thread_safe { commands << command }
end