Sha256: 78de1e9f827981cc4fe8c95ad7f51ba304ad43283a9e3366ec06c9eb5de90df9
Contents?: true
Size: 231 Bytes
Versions: 4
Compression:
Stored size: 231 Bytes
Contents
# Observer that takes an updater block to process updates class BlockObserver include Observer def initialize(&updater) @updater = updater end def update(changed_value=nil) @updater.call(changed_value) end end
Version data entries
4 entries across 4 versions & 1 rubygems