Class: Clive::Type::Binary

Inherits:
Object show all
Defined in:
lib/clive/type/definitions.rb

Overview

Binary matches any binary number which may or may not have a “0b” prefix and returns the number as an Integer.

Method Summary

Methods inherited from Object

#typecast, #valid?

Methods inherited from Clive::Type

cast, find_class, match, refute, #typecast, typecast, #valid?, valid?