Class: ShapeOf::Any
Overview
Anything matches unless key does not exist in the Hash.
Class Method Summary collapse
Methods inherited from Shape
Constructor Details
This class inherits a constructor from ShapeOf::Shape
Class Method Details
.shape_of?(object, validator: Validator.new(shape: self, object: object)) ⇒ Boolean
460 461 462 |
# File 'lib/shape_of.rb', line 460 def self.shape_of?(object, validator: Validator.new(shape: self, object: object)) true end |