Exu::Domain::EmailAddress
Inherits Struct < Value < Object
Value object representing a valid virtual mailbox email address. Strictly rejects path traversal characters, double dots, and invalid local parts.
Constants
LOCAL_PART_REGEX = /^[a-zA-Z0-9._%+-]+$/
Constructors
Class methods
Instance methods
==(other : EmailAddress) : Bool
Sourcedomain
Sourcelocal_part
Sourceto_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO) which can be overridden for custom implementations.
Also see #inspect.