Sha256: 63b64394fe3dacf84989494748bef6472d3a17507ab5751a247a00b21c81a56a

Contents?: true

Size: 727 Bytes

Versions: 1

Compression:

Stored size: 727 Bytes

Contents

module ActiveLdap
  module Helper
    def ldap_attribute_name_gettext(attribute)
      Base.human_attribute_name(attribute)
    end
    alias_method(:la_, :ldap_attribute_name_gettext)

    def ldap_attribute_description_gettext(attribute)
      Base.human_attribute_description(attribute)
    end
    alias_method(:lad_, :ldap_attribute_description_gettext)

    def ldap_object_class_name_gettext(object_class)
      Base.human_object_class_name(object_class)
    end
    alias_method(:loc_, :ldap_object_class_name_gettext)

    def ldap_object_class_description_gettext(object_class)
      Base.human_object_class_description(object_class)
    end
    alias_method(:locd_, :ldap_object_class_description_gettext)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-activeldap-0.8.3.1 lib/active_ldap/helper.rb