Class: Ldaptic::Syntaxes::DeliveryMethod
- Inherits:
-
PrintableString
- Object
- Abstract
- PrintableString
- Ldaptic::Syntaxes::DeliveryMethod
- Defined in:
- lib/ldaptic/syntaxes.rb
Constant Summary collapse
- VALUES =
%w(any mhs physical telex teletex g3fax g4fax ia5 videotex telephone)
Constants inherited from Abstract
Instance Method Summary collapse
Methods inherited from PrintableString
Methods inherited from Abstract
format, #format, #initialize, parse, #printable?
Constructor Details
This class inherits a constructor from Ldaptic::Syntaxes::Abstract
Instance Method Details
#error(string) ⇒ Object
277 278 279 |
# File 'lib/ldaptic/syntaxes.rb', line 277 def error(string) 'is invalid' unless VALUES.include?(string) end |