Sha256: dfa8a21c1e27e2ec476970d69f44ea46de585ede75e2275af273eb29dbe542ab
Contents?: true
Size: 466 Bytes
Versions: 6
Compression:
Stored size: 466 Bytes
Contents
# coding: utf-8 require 'sanultari/config' require 'singleton' module SanUltari # Application 전역으로 쓸 수 있는 Singleton 객체 # @author Jeong, Jiung # @see Singleton class GlobalConfig < Config include Singleton # class method 접근을 singleton instance method 접근으로 변경 def self.method_missing(method_name, *args, &block) SanUltari::GlobalConfig.instance.public_send method_name, *args, &block end end end
Version data entries
6 entries across 6 versions & 1 rubygems