Sha256: 0cc0266ebf58d867c4f78bbcceb4176aa1752123c06fea848d12c4d78279ade6
Contents?: true
Size: 229 Bytes
Versions: 7
Compression:
Stored size: 229 Bytes
Contents
module WeakParameters class HashValidator < WeakParameters::BaseValidator private def valid_type? value.is_a?(Hash) end def error_message "params[#{key.inspect}] must be an Hash" end end end
Version data entries
7 entries across 7 versions & 1 rubygems