Created
June 9, 2010 01:00
-
-
Save pgr0ss/430891 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def ccexp?(str) | |
month, year = str.split("/") | |
if year.to_i < 10 | |
true | |
elsif year.to_i == 10 | |
month.to_i <= 6 | |
else | |
false | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment