Module: Kommand::Commands::Command
- Included in:
- Help
- Defined in:
- lib/kommand/commands/command.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/kommand/commands/command.rb', line 4 def self.included(base) Commands::commands << base # Keep track of all commands base.send :include, Scripts::Script base.send :extend, ClassMethods base.send :include, InstanceMethods end |