Module: Navigable::Command

Defined in:
lib/navigable/command.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods Classes: NotFoundError

Constant Summary collapse

TYPE =
:__command__
EXECUTE_NOT_IMPLEMENTED_MESSAGE =
'Class must implement `execute` method.'

Class Method Summary collapse

Class Method Details

.extended(base) ⇒ Object



13
14
15
16
17
18
# File 'lib/navigable/command.rb', line 13

def self.extended(base)
  base.extend(Manufacturable::Item)
  base.extend(Observable)
  base.extend(ClassMethods)
  base.include(InstanceMethods)
end