Sha256: abc51942ffc474caaa5a8c7f2bfd7363963955b131e0574657e012d14818c2b9
Contents?: true
Size: 693 Bytes
Versions: 105
Compression:
Stored size: 693 Bytes
Contents
/*:nodoc:* * class ActionStoreTrue * * This action store the values True respectively. * This isspecial cases of 'storeConst' * * This class inherited from [[Action]] **/ 'use strict'; var util = require('util'); var ActionStoreConstant = require('./constant'); /*:nodoc:* * new ActionStoreTrue(options) * - options (object): options hash see [[Action.new]] * **/ var ActionStoreTrue = module.exports = function ActionStoreTrue(options) { options = options || {}; options.constant = true; options.defaultValue = options.defaultValue !== null ? options.defaultValue : false; ActionStoreConstant.call(this, options); }; util.inherits(ActionStoreTrue, ActionStoreConstant);
Version data entries
105 entries across 104 versions & 18 rubygems