Class: Ldaptic::Filter::Join
Overview
Used in the implementation of Ldaptic::Filter::And and Ldaptic::Filter::Or. For internal use only.
Instance Method Summary collapse
-
#initialize(operator, *args) ⇒ Join
constructor
:nodoc:.
- #process ⇒ Object
-
#to_net_ldap_filter ⇒ Object
:nodoc:.
Methods inherited from Abstract
#&, #inspect, #to_ber, #to_s, #|, #~
Constructor Details
Instance Method Details
#process ⇒ Object
144 145 146 |
# File 'lib/ldaptic/filter.rb', line 144 def process "(#{@array*''})" if @array.compact.size > 1 end |
#to_net_ldap_filter ⇒ Object
:nodoc:
147 148 149 |
# File 'lib/ldaptic/filter.rb', line 147 def to_net_ldap_filter #:nodoc: @array[1..-1].inject {|m, o| m.to_net_ldap_filter.send(@array.first, o.to_net_ldap_filter)} end |