Module: RubyEmail::Public::String
- Included in:
- String
- Defined in:
- lib/ruby_email/public.rb
Overview
included by String
Instance Method Summary collapse
-
#is_public_email? ⇒ TrueClass or FalseClass
Check if the current [::String] instance is a valid email on internet.
Instance Method Details
#is_public_email? ⇒ TrueClass or FalseClass
Check if the current [::String] instance is a valid email on internet
36 37 38 |
# File 'lib/ruby_email/public.rb', line 36 def is_public_email? RubyEmail::Public.validates? self end |