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
ela-4.1.6 node_modules/argparse/lib/action/store/true.js
ela-4.1.5 node_modules/argparse/lib/action/store/true.js
ela-4.1.4 node_modules/argparse/lib/action/store/true.js
ela-4.1.3 node_modules/argparse/lib/action/store/true.js
ela-4.1.2 node_modules/argparse/lib/action/store/true.js
ela-4.1.1 node_modules/argparse/lib/action/store/true.js
ela-4.1.0 node_modules/argparse/lib/action/store/true.js
ela-4.0.0 node_modules/argparse/lib/action/store/true.js
opal-0.10.6 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js
opal-0.10.6.beta stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js
ela-3.4.3 node_modules/argparse/lib/action/store/true.js
ela-3.4.2 node_modules/argparse/lib/action/store/true.js
ela-3.4.0 node_modules/argparse/lib/action/store/true.js
ela-3.3.1 node_modules/argparse/lib/action/store/true.js
ela-3.3.0 node_modules/argparse/lib/action/store/true.js
ela-3.2.0 node_modules/argparse/lib/action/store/true.js
ela-3.1.1 node_modules/argparse/lib/action/store/true.js
ela-3.1.0 node_modules/argparse/lib/action/store/true.js
ela-3.0.0 node_modules/argparse/lib/action/store/true.js
ela-2.0.0 node_modules/argparse/lib/action/store/true.js