Sha256: af237fbdcb3906c444b92b026e07111f7e44142587368e3afbed4e8c053e4824
Contents?: true
Size: 358 Bytes
Versions: 22
Compression:
Stored size: 358 Bytes
Contents
const AbstractHandler = require('./AbstractHandler') class SetStaticFieldHandler extends AbstractHandler { constructor() { super() } process(command) { const { payload } = command let [obj, field, value] = payload obj[field] = value return 0 } } module.exports = new SetStaticFieldHandler()
Version data entries
22 entries across 11 versions & 1 rubygems