Sha256: d3b2ba0aab77db5747cd5cd2544f9eff1e39bfa73844cd2866a95ed6eec197c3
Contents?: true
Size: 520 Bytes
Versions: 4
Compression:
Stored size: 520 Bytes
Contents
# frozen_string_literal: true require 'singleton' module Synvert::Core # Synvert global configuration. class Configuration < Hash include Singleton # Set the configuration. # # @param key [String] configuration key. # @param value [Object] configuration value. def set(key, value) self[key] = value end # Get the configuration. # # @param key [String] configuration key. # @return [Object] configuration value. def get(key) self[key] end end end
Version data entries
4 entries across 4 versions & 1 rubygems