Class: Ldaptic::Syntaxes::BitString

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

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



131
132
133
# File 'lib/ldaptic/syntaxes.rb', line 131

def error(string)
  "is invalid" unless string =~ /\A'[01]*'B\z/
end