class ActiveModel::EachValidator

def check_validity!

ArgumentError when invalid options are supplied.
that the arguments supplied are valid. You could for example raise an
Hook method that gets called by the initializer allowing verification
def check_validity!
end