Sha256: 9f2c5bc6bd47e6db4e39e3f7fde784e50bbbc5c14ddd9987c2e0a13636b6b570
Contents?: true
Size: 703 Bytes
Versions: 139
Compression:
Stored size: 703 Bytes
Contents
/*:nodoc:* * class ActionStoreFalse * * This action store the values False respectively. * This is special cases of 'storeConst' * * This class inherited from [[Action]] **/ 'use strict'; var util = require('util'); var ActionStoreConstant = require('./constant'); /*:nodoc:* * new ActionStoreFalse(options) * - options (object): hash of options see [[Action.new]] * **/ var ActionStoreFalse = module.exports = function ActionStoreFalse(options) { options = options || {}; options.constant = false; options.defaultValue = options.defaultValue !== null ? options.defaultValue: true; ActionStoreConstant.call(this, options); }; util.inherits(ActionStoreFalse, ActionStoreConstant);
Version data entries
139 entries across 125 versions & 8 rubygems