Sha256: a249cdc201a6ac82b1e849c93cb049013490df1bf13961b8492c46319cab6bf9
Contents?: true
Size: 306 Bytes
Versions: 4
Compression:
Stored size: 306 Bytes
Contents
class UpdateManagerStub attr_reader :handlers def initialize(td_client, update) @td_client, @update, @handlers = td_client, update, [] end def add_handler(handler) @handlers << handler handler.call(@update) end def remove_handler(handler) @handlers.delete(handler) end end
Version data entries
4 entries across 4 versions & 1 rubygems