class UnknownAlgorithmError

Defines an error which is thrown when the user attempts to use an algorithm which is not defined.

If the algorithm you want isn't implemented, please create an issue on GitHub. I can add the library that implements it as an optional dependency.

Public Class Methods

new(algorithm = "~") click to toggle source
Calls superclass method
# File lib/object_hash_rb/error.rb, line 10
def initialize(algorithm = "~")
  super("Attempted to hash with unknown algorithm (got #{algorithm})")
end