Module: RubyEmail::String
- Included in:
- String
- Defined in:
- lib/ruby_email/core.rb
Overview
included by String
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
33 34 35 |
# File 'lib/ruby_email/core.rb', line 33 def is_email? RubyEmail.validates? self end |