Module: ActiveLdap::Acts::Tree::ClassMethods

Defined in:
lib/active_ldap/acts/tree.rb

Instance Method Summary collapse

Instance Method Details

#root(options = {}) ⇒ Object



14
15
16
# File 'lib/active_ldap/acts/tree.rb', line 14

def root(options={})
  find(:first, options.merge(:scope => :base))
end