Class: Smartdict::Plugin::InitializerContext

Inherits:
Object
  • Object
show all
Includes:
Core
Defined in:
lib/smartdict/plugin/initializer_context.rb

Instance Method Summary collapse

Instance Method Details

#register_command(name, command_class) ⇒ Object



4
5
6
# File 'lib/smartdict/plugin/initializer_context.rb', line 4

def register_command(name, command_class)
  CommandManager.register(name, command_class)
end