Module: Cinch::Commands::ClassMethods

Defined in:
lib/commands/commands.rb

Instance Method Summary collapse

Instance Method Details

#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