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

Version Path
optimacms-0.1.61 spec/dummy/node_modules/argparse/lib/action/store/true.js
disco_app-0.18.0 test/dummy/node_modules/argparse/lib/action/store/true.js
disco_app-0.18.2 test/dummy/node_modules/argparse/lib/action/store/true.js
appmap-0.72.2 ./node_modules/argparse/lib/action/store/true.js
appmap-0.72.1 ./node_modules/argparse/lib/action/store/true.js
appmap-0.72.0 ./node_modules/argparse/lib/action/store/true.js
appmap-0.71.0 ./node_modules/argparse/lib/action/store/true.js
disco_app-0.16.1 test/dummy/node_modules/argparse/lib/action/store/true.js
appmap-0.70.2 ./node_modules/argparse/lib/action/store/true.js
appmap-0.70.1 ./node_modules/argparse/lib/action/store/true.js
appmap-0.70.0 ./node_modules/argparse/lib/action/store/true.js
appmap-0.69.0 ./node_modules/argparse/lib/action/store/true.js
appmap-0.68.2 ./node_modules/argparse/lib/action/store/true.js
appmap-0.68.1 ./node_modules/argparse/lib/action/store/true.js
disco_app-0.15.2 test/dummy/node_modules/argparse/lib/action/store/true.js
appmap-0.68.0 ./node_modules/argparse/lib/action/store/true.js
appmap-0.67.1 ./node_modules/argparse/lib/action/store/true.js
appmap-0.67.0 ./node_modules/argparse/lib/action/store/true.js
disco_app-0.18.4 test/dummy/node_modules/argparse/lib/action/store/true.js
disco_app-0.18.1 test/dummy/node_modules/argparse/lib/action/store/true.js