module RubyEmail::Rfc1123::String

Public Instance Methods

is_domain?() click to toggle source

Check if the current [::String] instance is a valid domain @return [TrueClass or FalseClass]

# File lib/ruby_email/rfc1123.rb, line 33
def is_domain?
  RubyEmail::Rfc1123.validates? self
end