lib/valnzbn/utils.rb in valnzbn-0.1.1 vs lib/valnzbn/utils.rb in valnzbn-0.1.2

- old
+ new

@@ -3,7 +3,8 @@ def self.valid_format?(number) number = number.to_s.gsub(/\D+/, '') !!(number =~/\A94\d{11}\z/) end + alias_method :validate_format, :valid_format? end end \ No newline at end of file