Class: Ldapter::Syntaxes::Abstract
- Inherits:
-
Object
- Object
- Ldapter::Syntaxes::Abstract
show all
- Defined in:
- lib/ldapter/syntaxes.rb
Class Method Summary
(collapse)
Instance Method Summary
(collapse)
Constructor Details
- (Abstract) initialize(object = nil)
The object argument refers back to the LDAP entry from which the
attribute in question came. This is currently used only for the DN syntax,
to allow dn.find to work.
103
104
105
|
# File 'lib/ldapter/syntaxes.rb', line 103
def initialize(object = nil)
@object = object
end
|
Class Method Details
109
110
111
|
# File 'lib/ldapter/syntaxes.rb', line 109
def self.format(object)
new.format(object)
end
|
+ (Object) parse(string)
112
113
114
|
# File 'lib/ldapter/syntaxes.rb', line 112
def self.parse(string)
new.parse(string)
end
|
Instance Method Details
106
107
108
|
# File 'lib/ldapter/syntaxes.rb', line 106
def format(value)
value.to_s
end
|