Class: ShapeOf::Any

Inherits:
Shape
  • Object
show all
Defined in:
lib/shape_of.rb

Overview

Anything matches unless key does not exist in the Hash.

Class Method Summary collapse

Methods inherited from Shape

#initialize, required?

Constructor Details

This class inherits a constructor from ShapeOf::Shape

Class Method Details

.shape_of?(object) ⇒ Boolean



306
307
308
# File 'lib/shape_of.rb', line 306

def self.shape_of?(object)
  true
end