Jacob v0.1.1 Jacob.Command.Concerns.Hideable behaviour View Source

Makes a command “Hideable”

This module is automatically used by your commands when using Jacob.Command

Link to this section Summary

Functions

Make the command hidden

Callbacks

This callback will be used by Jacob in order to know if a command is hidden

Link to this section Functions

Link to this macro hide_command() View Source (macro)

Make the command hidden.

Link to this section Callbacks

This callback will be used by Jacob in order to know if a command is hidden.

A Default implementation for this function is provided. But you may override it if needed.

The default implementation will simply check if the hidden module attribute is present and set to true.