Sha256: abb06ffb541eb31e40a5c83750cbdd0dea36ea13916151a1bf470990853d702f

Contents?: true

Size: 692 Bytes

Versions: 139

Compression:

Stored size: 692 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

139 entries across 125 versions & 8 rubygems

Version Path
trusty-festivity-extension-2.5.8 node_modules/bower/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js
trusty-festivity-extension-2.5.7 node_modules/bower/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js
trusty-festivity-extension-2.5.6 node_modules/bower/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js
opal-0.10.1 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js
opal-0.10.0 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js
trusty-festivity-extension-2.5.5 node_modules/bower/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js
opal-0.10.0.rc2 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js
opal-0.9.4 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js
opal-0.9.3 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js
opal-0.10.0.rc1 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js
opal-0.10.0.beta5 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js
opal-0.10.0.beta4 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js
trusty-festivity-extension-2.5.4 node_modules/bower/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js
opal-0.10.0.beta3 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js
trusty-festivity-extension-2.5.3 node_modules/bower/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js
trusty-festivity-extension-2.5.2 node_modules/bower/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js
trusty-festivity-extension-2.5.1 node_modules/bower/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js
trusty-festivity-extension-2.5.0 node_modules/bower/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js
trusty-festivity-extension-2.4.6 node_modules/bower/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js
opal-0.10.0.beta2 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js