Sha256: 4b658c03324ba9eb1b5657b60e7552e4e23586c7bca88eda5e99800415e4f44f
Contents?: true
Size: 369 Bytes
Versions: 66
Compression:
Stored size: 369 Bytes
Contents
module Udongo class Config def initialize @configs = {} end def method_missing(method_name, *arguments, &block) super if method_name.to_s.include?('=') unless @configs[method_name] @configs[method_name] = "Udongo::Configs::#{method_name.to_s.camelcase}".constantize.new end @configs[method_name] end end end
Version data entries
66 entries across 66 versions & 1 rubygems