lib/astrological_number.rb in astrological-number-0.1.0 vs lib/astrological_number.rb in astrological-number-0.1.1

- old
+ new

@@ -23,9 +23,10 @@ p "Invalid format" AstrologicalNumber.get_number end end + private def valid? !((date_of_birth =~ /(0[1-9]|[1-2][0-9]|3[0-1])-(0[1-9]|1[0-2])-\d{4}/).nil?) end