Module: ActiveSambaLdap::Reloadable

Included in:
Base, Computer, Dc, Group, Idmap, Ou, UnixIdPool, User
Defined in:
lib/active_samba_ldap/reloadable.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
7
8
9
10
11
12
13
# File 'lib/active_samba_ldap/reloadable.rb', line 3

def self.included(base)
  super
  return unless Object.const_defined?(:Reloadable)
  base.class_eval do
    if ::Reloadable.const_defined?(:Deprecated)
      include ::Reloadable::Deprecated
    else
      include ::Reloadable::Subclasses
    end
  end
end