Skip to content

Instantly share code, notes, and snippets.

@adgilfillan
Last active December 17, 2015 04:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save adgilfillan/5550085 to your computer and use it in GitHub Desktop.
Save adgilfillan/5550085 to your computer and use it in GitHub Desktop.
def whip2
if self.age < 28
self.whip * 0.95
else
self.whip * 1.05
end
end
def whip3
if self.age < 28
self.whip2 * 0.95
else
self.whip2 * 1.05
end
end
def whip4
if self.age < 28
self.whip3 * 0.95
else
self.whip3 * 1.05
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment