Sha256: ba088d49bd39e1bcfe2c0627f25c33e32b976efeb53f8f499b5ecb31306d3ea4
Contents?: true
Size: 438 Bytes
Versions: 4
Compression:
Stored size: 438 Bytes
Contents
module DeadlySerious module Engine class Minion extend Forwardable def_delegators :@brain, :send, :recv def initialize(mastermind, brain) @mastermind = mastermind @brain = brain end def send_to(destiny, msg) @brain.sendm(destiny) @brain.send(msg) end def explode @brain.close @mastermind.destroy_body_of(self) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems