Exception: StringEntropy::NilHasZeroEntropy

Inherits:
Error
  • Object
show all
Defined in:
lib/string_entropy/error.rb

Instance Method Summary collapse

Constructor Details

#initializeNilHasZeroEntropy

Returns a new instance of NilHasZeroEntropy.



18
19
20
# File 'lib/string_entropy/error.rb', line 18

def initialize
  super("nil values cannot be evaluated as strings and have zero entropy")
end