Module: StringEntropy

Defined in:
lib/string_entropy.rb,
lib/string_entropy/info.rb,
lib/string_entropy/error.rb,
lib/string_entropy/version.rb

Defined Under Namespace

Classes: BadEncoding, Error, Info, NilHasZeroEntropy, StringMismatch

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.exampleObject



12
13
14
# File 'lib/string_entropy.rb', line 12

def self.example
  StringEntropy::Info.new("password")
end

.info(string) ⇒ Object



8
9
10
# File 'lib/string_entropy.rb', line 8

def self.info(string)
  StringEntropy::Info.new(string)
end