module ActiveLdap::Associations::ClassMethods

def association_reader(name, &make_association)

def association_reader(name, &make_association)
  class_eval(<<-EOM, __FILE__, __LINE__ + 1)
    def #{name}
      @#{name} ||= __make_#{name}
    end
  EOM
end