Class: Compel::Builder::Integer

Inherits:
Schema
  • Object
show all
Includes:
CommonValue
Defined in:
lib/compel/builder/integer.rb

Instance Attribute Summary

Attributes inherited from Schema

#options, #type

Instance Method Summary collapse

Methods included from CommonValue

#in, #is, #max, #min, #range

Methods inherited from Schema

#default_value, #required?, #validate

Methods included from Common

#default, #length, #required

Constructor Details

#initializeInteger

Returns a new instance of Integer.



8
9
10
# File 'lib/compel/builder/integer.rb', line 8

def initialize
  super(Coercion::Integer)
end