For normalize/finding the related classes/modules. This is used for realizing the scope of TextDomain. (see: www.yotabanana.com/hiki/ruby-gettext-scope.html)
normalize the class name klass should kind of the class, not object.
# File lib/gettext/runtime/class_info.rb, line 13 def normalize_class(klass) ret = (klass.kind_of? Module) ? klass : klass.class if ret.name =~ /^\#<|^$/ or ret == GetText ret = Object end ret end
Generated with the Darkfish Rdoc Generator 2.