lib/gettext.rb
# Includes GetText module and bind a textdomain to a class.
# * klass: the target ruby class.
# * domainname: the textdomain name.
# * options: options as an Hash. See GetText.bindtextdomain.
Includes GetText module and bind a textdomain to a class.
klass: the target ruby class.
domainname: the textdomain name.
options: options as an Hash.
Includes GetText module and bind a textdomain to a class . klass : the target ruby class . domainname : the textdomain name . options : options as an Hash .
def bindtextdomain_to(klass, domainname, options = {}) 
    ret = nil
    klass.module_eval {
      include GetText
      ret = bindtextdomain(domainname, options)
    }
    ret
  end
def bindtextdomain_to ( klass , domainname , options = { } ) ret = nil klass . module_eval { include GetText ret = bindtextdomain ( domainname , options ) } ret end
Includes GetText module and bind a textdomain to a class.
Includes GetText module and bind a textdomain to a class .
klass
<not_specific>
domainname
<not_specific>
options
<not_specific>