Sha256: fd9c28520161f468f988016b52189580ecce63c3a62ab23653c959da5276b65b
Contents?: true
Size: 464 Bytes
Versions: 31
Compression:
Stored size: 464 Bytes
Contents
# frozen_string_literal: true module Mihari # # dry-type based types # module Types include Dry.Types() Int = Strict::Integer Nil = Strict::Nil Hash = Strict::Hash String = Strict::String Bool = Strict::Bool Double = Strict::Float | Strict::Integer DateTime = Strict::DateTime DataTypes = Types::String.enum("hash", "ip", "domain", "url", "mail") HTTPRequestMethods = Types::String.enum("GET", "POST") end end
Version data entries
31 entries across 31 versions & 1 rubygems