class PangoFc::Loader
Public Instance Methods
post_load(repository, namespace)
click to toggle source
# File lib/pango/fc-loader.rb, line 19 def post_load(repository, namespace) @base_module.constants.each do |constant| case constant when :INVOKERS, :Loader next else if constant.to_s.upcase == constant.to_s name = "FC_#{constant}" else name = "Fc#{constant}" end value = @base_module.const_get(constant) Pango.const_set(name, value) end end end