Class: AnyVali::AnySchema

Inherits:
Schema
  • Object
show all
Defined in:
lib/anyvali/schemas/any_schema.rb

Constant Summary

Constants inherited from Schema

Schema::RESERVED_METADATA_KEYS

Instance Attribute Summary

Attributes inherited from Schema

#coerce_config, #constraints, #custom_validators, #default_value, #has_default, #kind, #metadata

Instance Method Summary collapse

Methods inherited from Schema

#coerce, #default, #describe, #export, #parse, #portable?, #refine, #safe_parse, #to_node, type_name, #with_metadata

Constructor Details

#initialize(**kwargs) ⇒ AnySchema

Returns a new instance of AnySchema.



5
6
7
# File 'lib/anyvali/schemas/any_schema.rb', line 5

def initialize(**kwargs)
  super(kind: "any", **kwargs)
end