Class: Mixture::Types::Numeric

Inherits:
Object show all
Defined in:
lib/mixture/types/numeric.rb

Overview

A numeric. This is inherited by Integer, Float, and Rational. Those should be used for coercion instead of this. This just helps represent the type hirearchy.

Direct Known Subclasses

Float, Integer, Rational

Method Summary

Methods inherited from Object

inheritable

Methods inherited from Type

anonymous?, as, constraint, constraints, inheritable, inherited, inspect, mappings, matches?, options, register, to_s