Class: Ldaptic::MatchingRules::TelephoneNumberMatch

Inherits:
CaseIgnoreMatch show all
Defined in:
lib/ldaptic/matching_rules.rb

Instance Method Summary collapse

Methods inherited from OctetStringMatch

#match

Instance Method Details

#matchable(value) ⇒ Object

Doesn’t remove unicode hyphen equivalents u058A, u2010, u2011, u2212, ufe63, or uff0d on account of unicode being so darn difficult to get right in both 1.8 and 1.9.



74
75
76
# File 'lib/ldaptic/matching_rules.rb', line 74

def matchable(value)
  super.delete(' ').delete('-')
end