Class: SanUltari::GlobalConfig
- Includes:
- Singleton
- Defined in:
- lib/sanultari/global_config.rb
Overview
Application 전역으로 쓸 수 있는 Singleton 객체
Instance Attribute Summary
Attributes inherited from Config
Class Method Summary collapse
-
.method_missing(method_name, *args, &block) ⇒ Object
class method 접근을 singleton instance method 접근으로 변경.
Methods inherited from Config
#from_hash, #init!, #initialize, #make_path, #method_missing, #save, #to_hash
Constructor Details
This class inherits a constructor from SanUltari::Config
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class SanUltari::Config
Class Method Details
.method_missing(method_name, *args, &block) ⇒ Object
class method 접근을 singleton instance method 접근으로 변경
13 14 15 |
# File 'lib/sanultari/global_config.rb', line 13 def self.method_missing(method_name, *args, &block) SanUltari::GlobalConfig.instance.public_send method_name, *args, &block end |