Method: Cinch::Commands::ClassMethods#commands

Defined in:
lib/commands/commands.rb

#commandsArray<Command>

All registered commands.

Returns:

  • (Array<Command>)

    The registered commands.



20
21
22
# File 'lib/commands/commands.rb', line 20

def commands
  @commands ||= []
end