Sha256: bf5e6566a828731f6de0739da49905382ce5fe3bdef230b549418b5e864f19d6
Contents?: true
Size: 268 Bytes
Versions: 1
Compression:
Stored size: 268 Bytes
Contents
module Emittance::Watcher def watch(identifier, callback_method = nil, &callback) if callback_method Emittance::Broker.register_method_call identifier, self, callback_method else Emittance::Broker.register identifier, &callback end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
emittance-0.0.1 | lib/emittance/watcher.rb |