Module: Fried::Typings

Defined in:
lib/fried/typings.rb,
lib/fried/typings/is.rb,
lib/fried/typings/type.rb,
lib/fried/typings/one_of.rb,
lib/fried/typings/boolean.rb,
lib/fried/typings/hash_of.rb,
lib/fried/typings/nothing.rb,
lib/fried/typings/version.rb,
lib/fried/typings/anything.rb,
lib/fried/typings/array_of.rb,
lib/fried/typings/tuple_of.rb,
lib/fried/typings/meta_type.rb,
lib/fried/typings/is_strictly.rb,
lib/fried/typings/enumerator_of.rb,
lib/fried/typings/strictly_one_of.rb

Defined Under Namespace

Modules: MetaType, Type Classes: ArrayOf, EnumeratorOf, HashOf, Is, IsStrictly, OneOf, StrictlyOneOf, TupleOf

Constant Summary collapse

Boolean =

Checks if the object is TrueClass or FalseClass

OneOf[TrueClass, FalseClass]
Nothing =

Never matches any object

OneOf[]
VERSION =
"1.1.0"
Anything =
anything.new