Module: Aiwolf::Commands::Guard
- Included in:
- Aiwolf::Client
- Defined in:
- lib/aiwolf/commands/guard.rb
Instance Method Summary collapse
Instance Method Details
#inner_command_guard(packet) ⇒ Object
6 7 8 9 10 |
# File 'lib/aiwolf/commands/guard.rb', line 6 def inner_command_guard(packet) hash = send(:command_guard, packet[:gameInfo]) return '' if hash.nil? || hash.empty? JSON.generate(hash) end |