Class: Type::Definition::Scalar
- Inherits:
-
Object
- Object
- Type::Definition::Scalar
- Includes:
- Type::Definition
- Defined in:
- lib/type/definition/scalar.rb
Overview
The Scalar Class is an implementation of Definition interface that takes 100% of implementation from the base. This is to differentiate it from Collection, which has additional constraints.
Instance Attribute Summary
Attributes included from Type::Definition
Method Summary
Methods included from Type::Definition
#cast!, included, #initialize, #nilable, #nilable?, #refine, #to_proc, #to_s, #valid?