Module: Types

Defined in:
lib/arcade.rb,
lib/support/string.rb

Constant Summary collapse

Rid =

include in attribute definitions

String.constrained( format:  /\A[#]{1}[0-9]{1,}:[0-9]{1,}\z/ )
Blockchain =

add other blockchain symbols here

String.constrained( format: /^(algo|eth|btc)$/ )
Email =
String.constrained( format: /\A[\w+\-.]+@[a-z\d\-]+(\.[a-z]+)*\.[a-z]+\z/i )