Module: RubyEmail::Rfc5322::String
- Included in:
- String
- Defined in:
- lib/ruby_email/rfc5322.rb
Instance Method Summary collapse
-
#is_email? ⇒ TrueClass or FalseClass
Check if the current [::String] instance is a valid email.
Instance Method Details
#is_email? ⇒ TrueClass or FalseClass
Check if the current [::String] instance is a valid email
30 31 32 |
# File 'lib/ruby_email/rfc5322.rb', line 30 def is_email? RubyEmail::Rfc5322.validates? self end |