Module: LDAP::Server::MatchingRule::Ordering
- Included in:
- DefaultMatchingClass
- Defined in:
- lib/ldap/server/match.rb
Instance Method Summary collapse
Instance Method Details
#ge(vals, m) ⇒ Object
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 |
#le(vals, m) ⇒ Object
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 |