Module: Commandoes

Defined in:
lib/commandoes/command.rb,
lib/commandoes/version.rb,
lib/commandoes/registry.rb,
lib/commandoes/dispatcher.rb,
lib/commandoes/plugins/activemodel_plugin.rb

Defined Under Namespace

Modules: Plugins Classes: Dispatcher, IAmACommand, IAmACommandRegistry, NullHandler

Constant Summary collapse

VERSION =
"0.1.3"
DefaultStorageStrategy =
->(command) do
  return command.class unless command.kind_of? Class
  command
end
UnknownCommand =
Class.new StandardError
RegistryNotFound =
Class.new StandardError