Sha256: b182150c9986b704a38903a0de1f36eb4bc1d8c92815979e603d2b84712e99e3

Contents?: true

Size: 308 Bytes

Versions: 28

Compression:

Stored size: 308 Bytes

Contents

require "gettext"

module ActiveLdap
  class << self
    def get_text_supported?
      true
    end
  end

  module GetTextSupport
    class << self
      def included(base)
        base.class_eval do
          include(GetText)
          bindtextdomain("active-ldap")
        end
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
activeldap-7.2.1 lib/active_ldap/get_text.rb
activeldap-7.2.0 lib/active_ldap/get_text.rb
activeldap-7.0.0 lib/active_ldap/get_text.rb
activeldap-6.1.0 lib/active_ldap/get_text.rb
activeldap-6.0.4 lib/active_ldap/get_text.rb
activeldap-6.0.3 lib/active_ldap/get_text.rb
activeldap-6.0.2 lib/active_ldap/get_text.rb
activeldap-6.0.1 lib/active_ldap/get_text.rb
activeldap-6.0.0 lib/active_ldap/get_text.rb
activeldap-5.2.4 lib/active_ldap/get_text.rb
activeldap-5.2.3 lib/active_ldap/get_text.rb
activeldap-5.2.2 lib/active_ldap/get_text.rb
activeldap-5.2.1 lib/active_ldap/get_text.rb
activeldap-5.2.0 lib/active_ldap/get_text.rb
activeldap-5.1.1 lib/active_ldap/get_text.rb
activeldap-5.1.0 lib/active_ldap/get_text.rb
activeldap-3.2.3 lib/active_ldap/get_text.rb
powerhome-activeldap-3.2.3 lib/active_ldap/get_text.rb
activeldap-4.0.6 lib/active_ldap/get_text.rb
activeldap-4.0.5 lib/active_ldap/get_text.rb