Class: Kommando::Command
- Inherits:
-
Object
- Object
- Kommando::Command
- Defined in:
- lib/kommando/command.rb
Defined Under Namespace
Classes: MissingDependencyError, MissingParameterError, ReservedParameterError, UnknownCommandError
Class Method Summary collapse
Class Method Details
.plugin(plugin, *args) ⇒ Object
17 18 19 20 21 |
# File 'lib/kommando/command.rb', line 17 def self.plugin(plugin, *args) include plugin::InstanceMethods if defined?(plugin::InstanceMethods) extend plugin::ClassMethods if defined?(plugin::ClassMethods) plugin.configure(self, *args) end |