Module: LDAP::Server::MatchingRule::Ordering

Included in:
DefaultMatchingClass
Defined in:
lib/ldap/server/match.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) ge(vals, m)



109
110
111
112
113
114
# File 'lib/ldap/server/match.rb', line 109

def ge(vals, m)
  return false if vals.nil?
  m = normalize(m)
  vals.each { |v| return true if normalize(v) >= m }
  return false
end

- (Object) le(vals, m)



116
117
118
119
120
121
# File 'lib/ldap/server/match.rb', line 116

def le(vals, m)
  return false if vals.nil?
  m = normalize(m)
  vals.each { |v| return true if normalize(v) <= m }
  return false
end