Included Modules

GetText::ClassInfo

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)

Public Instance Methods

normalize_class(klass) click to toggle source

normalize the class name klass should kind of the class, not object.

    # File lib/gettext/runtime/class_info.rb, line 13
13:     def normalize_class(klass)
14:       ret = (klass.kind_of? Module) ? klass : klass.class
15:       if ret.name =~ /^\#<|^$/ or ret == GetText
16:         ret = Object
17:       end
18:       ret
19:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.