class OSU::Email::InvalidEmailError

Raised when a string is an invalid email

Public Class Methods

new(email) click to toggle source
Calls superclass method
# File lib/osu/email.rb, line 28
def initialize(email)
  super(
    "#{email} is not a valid OSU email. It must resemble name.\#@osu.edu"
  )
end