Exception: StringEntropy::NilHasZeroEntropy
- Defined in:
- lib/string_entropy/error.rb
Instance Method Summary collapse
-
#initialize ⇒ NilHasZeroEntropy
constructor
A new instance of NilHasZeroEntropy.
Constructor Details
#initialize ⇒ NilHasZeroEntropy
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 |