Create a gist now

Instantly share code, notes, and snippets.

class Code
def initialize(person)
@person = person
end
def make_bugs
"#{@person.name} does some typing"
end
end
class Developer < Employee
def make_bugs
Code.new(self).make_bugs
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment