Module: CrackLib

Extended by:
FFI::Library
Defined in:
lib/cracklib.rb

Defined Under Namespace

Classes: Fascist

Constant Summary collapse

VERSION =
'1.0.0'

Class Method Summary collapse

Class Method Details

.Fascist(pw, dict_path = default_dict) ⇒ Object

Checks the password pw using the cracklib dictionary at dict_path, and returns a CrackLib::Fascist object with the result.



34
35
36
# File 'lib/cracklib.rb', line 34

def self.Fascist(pw, dict_path = default_dict)
  Fascist.new(pw, dict_path)
end