Sha256: 3525815279246adca6396e5a01aa56c9eb64c7f05c1b6c3f857b7e49b8d8b837
Contents?: true
Size: 296 Bytes
Versions: 44
Compression:
Stored size: 296 Bytes
Contents
export default class Configuration { constructor() { this.config = {}; } set(key, value = null) { if (typeof key === "object") { this.config = { ...this.config, ...key }; } else { this.config[key] = value; } } get(key) { return this.config[key]; } }
Version data entries
44 entries across 44 versions & 1 rubygems