Class: Compel::Builder::Any

Inherits:
Schema
  • Object
show all
Defined in:
lib/compel/builder/any.rb

Instance Attribute Summary

Attributes inherited from Schema

#options, #type

Instance Method Summary collapse

Methods inherited from Schema

#build_option, #default_options, #default_value, human_name, #required?, #validate

Methods included from Common

#coerce_if_proc, #default, #if, #is, #length, #max_length, #min_length, #required

Constructor Details

#initializeAny

Returns a new instance of Any.



6
7
8
# File 'lib/compel/builder/any.rb', line 6

def initialize
  super(Coercion::Any)
end