Sha256: df9cba1db082d095f173f14c42a4b7f78793226521b88ab765b94d8084f363da
Contents?: true
Size: 442 Bytes
Versions: 2
Compression:
Stored size: 442 Bytes
Contents
require "humdrum/version" require "humdrum/humdrum_emails.rb" module Humdrum def self.is_common?(email) return false if email.nil? or not email.include?("@") email = email.split("@")[1].downcase.strip HumdrumEmails.list.has_key?(email) end def self.is_outlook?(email) return false if email.nil? or not email.include?("@") email = email.split("@")[1].downcase.strip HumdrumEmails.ms_list.has_key?(email) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
humdrum-0.0.6 | lib/humdrum.rb |
humdrum-0.0.5 | lib/humdrum.rb |