backend.rb 283 B

1234567891011121314151617181920
  1. class PasswordPolicy
  2. class Backend
  3. # @param password [String] to evaluate
  4. def initialize(password)
  5. @password = password
  6. end
  7. def valid?
  8. false
  9. end
  10. def error
  11. ['Unknown error']
  12. end
  13. def self.applicable?
  14. false
  15. end
  16. end
  17. end