Skip to content

Instantly share code, notes, and snippets.

@pgr0ss
Created June 9, 2010 01:00
Show Gist options
  • Save pgr0ss/430891 to your computer and use it in GitHub Desktop.
Save pgr0ss/430891 to your computer and use it in GitHub Desktop.
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