# File lib/active_ldap/schema/syntaxes.rb, line 43 def type_cast(value) return nil if value.nil? if /\A'([01]*)'B\z/ =~ value.to_s $1 else value end end