lib/valnzbn/utils.rb in valnzbn-0.1.2 vs lib/valnzbn/utils.rb in valnzbn-0.1.3
- old
+ new
@@ -3,8 +3,7 @@
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