Skip to content

Instantly share code, notes, and snippets.

@danielcooper
Created October 22, 2012 16:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielcooper/3932444 to your computer and use it in GitHub Desktop.
Save danielcooper/3932444 to your computer and use it in GitHub Desktop.
module BugMakingSupport
def make_bugs
"#{@person.name} does some typing"
end
end
class Developer < Employee
include BugMakingSupport
end
@andrewhavens
Copy link

Shouldn't this be @name instead of @person.name? Or am I missing something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment