Module: Plumb::Types

Extended by:
TypeRegistry
Defined in:
lib/plumb/types.rb

Defined Under Namespace

Modules: Forms, Lax, URI, UUID Classes: Data

Constant Summary collapse

Any =
AnyClass.new
Undefined =
Any.value(Plumb::Undefined)
String =
Any[::String]
Symbol =
Any[::Symbol]
Numeric =
Any[::Numeric]
Integer =
Any[::Integer]
Decimal =
Any[BigDecimal]
Static =
StaticClass.new
Value =
ValueClass.new
Nil =
Any[::NilClass]
True =
Any[::TrueClass]
False =
Any[::FalseClass]
Boolean =
(True | False).as_node(:boolean)
Array =
ArrayClass.new
Stream =
StreamClass.new
Tuple =
TupleClass.new
Hash =
HashClass.new
Not =
Plumb::Not.new
Interface =
InterfaceClass.new
Email =
String[URI::MailTo::EMAIL_REGEXP].as_node(:email)
Date =
Any[::Date]
Time =
Any[::Time]

Method Summary

Methods included from TypeRegistry

const_added, included