Sha256: d96ad37d118d76f01b7eab4872bb206048a7bbf79965bfbfd213c00cf9806bdf
Contents?: true
Size: 785 Bytes
Versions: 8
Compression:
Stored size: 785 Bytes
Contents
"use strict"; exports.__esModule = true; // istanbul ignore next function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } // istanbul ignore next function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } var _plugin = require("./plugin"); var _plugin2 = _interopRequireDefault(_plugin); /** * [Please add a description.] */ var Transformer = function Transformer(key, obj) { _classCallCheck(this, Transformer); var plugin = {}; plugin.metadata = obj.metadata; delete obj.metadata; plugin.visitor = obj; return new _plugin2["default"](key, plugin); }; exports["default"] = Transformer; module.exports = exports["default"];
Version data entries
8 entries across 8 versions & 3 rubygems