module AppCfg
Public Class Methods
[](key)
click to toggle source
# File lib/appcfg/retrieval.rb, line 2 def self.[](key) if @@cache.respond_to?(key) @@cache.send(key) else nil end end
method_missing(method_sym, *arguments, &block)
click to toggle source
Calls superclass method
# File lib/appcfg/retrieval.rb, line 10 def self.method_missing(method_sym, *arguments, &block) if @@cache.respond_to?(method_sym) @@cache.send(method_sym) else super end end
respond_to?(method_sym, include_private = false)
click to toggle source
Calls superclass method
# File lib/appcfg/retrieval.rb, line 18 def self.respond_to?(method_sym, include_private = false) if @@cache.respond_to?(method_sym) true else super end end
set_cache(data)
click to toggle source
# File lib/appcfg/source.rb, line 2 def self.set_cache data @@cache = data end