Module: Aiwolf::Base::CommandParser
Instance Attribute Summary
Attributes included from Logger
Instance Method Summary collapse
Instance Method Details
#parse_command(packet) ⇒ Object
10 11 12 13 |
# File 'lib/aiwolf/base/command_parser.rb', line 10 def parse_command(packet) logger.debug(packet[:request].downcase) send("inner_command_#{packet[:request].downcase}".to_sym, packet) end |