Project

General

Profile

« Previous | Next » 

Revision 6089b33a

Added by Marc Dequènes almost 15 years ago

  • ID 6089b33a753e7b3d548686ab36e99843cfea0283

[evol] added list of available objects and aspects of objects, and s/ou/unit/ object

View differences:

lib/ldap_shadows/object.rb
rel_list & possible_relations
end
def self.possible_aspects
return [] unless self.presentation[:allowed_aspects]
self.presentation[:allowed_aspects].collect{|key| key.to_s }.sort
end
def aspects
present_aspects = []
(self.class.presentation[:allowed_aspects] || []).each do |aspect|

Also available in: Unified diff