Module: RubyEmail::Rfc1123::String
- Included in:
- String
- Defined in:
- lib/ruby_email/rfc1123.rb
Instance Method Summary collapse
-
#is_domain? ⇒ TrueClass or FalseClass
Check if the current [::String] instance is a valid domain.
Instance Method Details
#is_domain? ⇒ TrueClass or FalseClass
Check if the current [::String] instance is a valid domain
33 34 35 |
# File 'lib/ruby_email/rfc1123.rb', line 33 def is_domain? RubyEmail::Rfc1123.validates? self end |