Module: MobRotation::CommandRouting::ClassMethods

Included in:
Rotation
Defined in:
lib/mob_rotation/command_routing.rb

Instance Method Summary collapse

Instance Method Details

#define_command(name, &block) ⇒ Object



6
7
8
# File 'lib/mob_rotation/command_routing.rb', line 6

def define_command(name, &block)
  CommandRouting::COMMAND_MAPPINGS[name] = block
end