diff --git a/lib/valid_email2.rb b/lib/valid_email2.rb index 1c3f090..b73250c 100644 --- a/lib/valid_email2.rb +++ b/lib/valid_email2.rb @@ -27,7 +27,7 @@ def blacklist def allow_list @allow_list ||= load_if_exists(ALLOW_LIST_FILE || WHITELIST_FILE) end - alias_method :allow_list, :whitelist + alias_method :whitelist, :allow_list deprecate_method :whitelist, :allow_list private