Sha256: 2a56af4b5c007a7fbb059558f76ee9550181d797927e02993cf5e7ca402c6420
Contents?: true
Size: 353 Bytes
Versions: 16
Compression:
Stored size: 353 Bytes
Contents
require 'hashie' module Kuroko2 class Configuration class << self DEFAULT_CONFIG = { table_name_prefix: 'kuroko2_' }.freeze def config @config ||= build_config end private def build_config Hashie::Mash.new(DEFAULT_CONFIG.merge(Rails.application.config_for('kuroko2'))) end end end end
Version data entries
16 entries across 16 versions & 1 rubygems