Revision 738ce2f6
Added by Marc Dequènes about 15 years ago
- ID 738ce2f6b9b1fd876ad31fd24654a6b918cabfaf
lib/ldap_shadows/display_helper.rb | ||
---|---|---|
|
||
if options[:show_family_members]
|
||
puts "--- Family ---"
|
||
puts "parent: " + item.class.raw_item_info(item.class.shadow, item.family_parent)[:name]
|
||
puts "siblings: " + item.family_siblings.collect{|raw_item| item.class.raw_item_info(item.class.shadow, raw_item)[:name] }.join(", ")
|
||
puts "children: " + item.family_children.collect{|raw_item| item.class.raw_item_info(item.class.shadow, raw_item)[:name] }.join(", ")
|
||
puts "parent: " + LdapShadows::Manipulation.raw_item_info(item.class.shadow, item.family_parent)[:name]
|
||
puts "siblings: " + item.family_siblings.collect{|raw_item| LdapShadows::Manipulation.raw_item_info(item.class.shadow, raw_item)[:name] }.join(", ")
|
||
puts "children: " + item.family_children.collect{|raw_item| LdapShadows::Manipulation.raw_item_info(item.class.shadow, raw_item)[:name] }.join(", ")
|
||
end
|
||
end
|
||
end
|
Also available in: Unified diff
[fix] forgot to modify method call after moving away raw_item_info()