Class: ParseNameFromEmail::Batch

Inherits:
Object
  • Object
show all
Defined in:
lib/parse_name_from_email/batch.rb

Class Method Summary collapse

Class Method Details

.split_emails_to_array(string_with_emails) ⇒ Object



4
5
6
# File 'lib/parse_name_from_email/batch.rb', line 4

def split_emails_to_array(string_with_emails)
  string_with_emails.split(/\;|\,/)
end