Module: NextStation::Types
- Defined in:
- lib/next_station/types.rb
Constant Summary collapse
- StrippedString =
Types::String.constructor(&:strip)
- Email =
Types::String.constructor { |v| v.strip.downcase }.constrained(format: /\A[^@\s]+@[^@\s]+\z/)
Types::String.constructor(&:strip)
Types::String.constructor { |v| v.strip.downcase }.constrained(format: /\A[^@\s]+@[^@\s]+\z/)