Class: Taipu::Hash

Inherits:
Base
  • Object
show all
Defined in:
lib/taipu/hash.rb

Overview

The type number.

Instance Method Summary collapse

Methods inherited from Base

#constraints, #to_h, #to_sym

Instance Method Details

#valid?(value) ⇒ Boolean

Returns:



7
8
9
# File 'lib/taipu/hash.rb', line 7

def valid?(value)
  value.is_a?(::Hash)
end