Class: Ldaptic::Filter::Attribute
- Defined in:
- lib/ldaptic/filter.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ Attribute
constructor
A new instance of Attribute.
- #process ⇒ Object
Methods inherited from Abstract
#&, #inspect, #to_ber, #to_net_ldap_filter, #to_s, #|, #~
Constructor Details
#initialize(name) ⇒ Attribute
Returns a new instance of Attribute.
90 91 92 93 94 95 |
# File 'lib/ldaptic/filter.rb', line 90 def initialize(name) if name.kind_of?(Symbol) name = name.to_s.tr('_-', '-_') end @name = name end |
Instance Method Details
#process ⇒ Object
101 102 103 |
# File 'lib/ldaptic/filter.rb', line 101 def process "(#{@name}=*)" end |