Class: Ldaptic::Syntaxes::DirectoryString

Inherits:
Abstract
  • Object
show all
Defined in:
lib/ldaptic/syntaxes.rb

Direct Known Subclasses

PostalAddress

Constant Summary

Constants inherited from Abstract

Abstract::PRINTABLE

Instance Method Summary collapse

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



154
155
156
# File 'lib/ldaptic/syntaxes.rb', line 154

def error(string)
  "can't be blank" if string.empty?
end

#parse(string) ⇒ Object



150
151
152
# File 'lib/ldaptic/syntaxes.rb', line 150

def parse(string)
  string
end