Sha256: d4689e51fc20af29b117ca2e3d783fba5b17582c2cb8439ee717b5e307ffffe7
Contents?: true
Size: 507 Bytes
Versions: 38
Compression:
Stored size: 507 Bytes
Contents
# encoding: utf-8 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
38 entries across 38 versions & 1 rubygems