/ Published in: Ruby

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
def age ((Time.now - birthday)/(60*60*24)/365.2422).to_i end
Comments
