Sha256: 032e0547679154636fdfd00aeb28d66379fc0eb10abe4c172ca21f22d486907c
Contents?: true
Size: 373 Bytes
Versions: 11
Compression:
Stored size: 373 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
11 entries across 11 versions & 1 rubygems