Sha256: 8adc67a074c1f3b59792b1fd1dc5fb3b443bfc6559ca12e8715d7d499d86b97c
Contents?: true
Size: 296 Bytes
Versions: 6
Compression:
Stored size: 296 Bytes
Contents
class Checked class Hashs def check! demand hash?(return!), "...is not a Hash." end def symbol_keys! all_syms = return!.keys.all? { |k| k.is_a?(Symbol) } demand all_syms, '...must have all symbol keys.' end end # === class Hashs end # === class Checked
Version data entries
6 entries across 6 versions & 1 rubygems