Skip to content

Instantly share code, notes, and snippets.

@audiodude
Created August 14, 2013 22:33
Show Gist options
  • Save audiodude/6236335 to your computer and use it in GitHub Desktop.
Save audiodude/6236335 to your computer and use it in GitHub Desktop.
"Code our love," she said
class Person
def loves other_person
true
end
end
class CutePerson < Person
end
class GrumpyPerson < Person
end
alias does puts
abby = CutePerson.new
tmoney = GrumpyPerson.new
does tmoney.loves(abby) == abby.loves(tmoney)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment