Class: ROM::LDAP::LDIF::Exporter Private

Inherits:
Object
  • Object
show all
Extended by:
Initializer
Defined in:
lib/rom/ldap/ldif/exporter.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Export Entry objects as LDIF files.

Instance Method Summary collapse

Instance Method Details

#to_ldifString

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (String)


22
23
24
# File 'lib/rom/ldap/ldif/exporter.rb', line 22

def to_ldif
  tuples.map { |tuple| create_entry(tuple) }.join(NEW_LINE)
end