public
Created

  • Download Gist
gistfile1.rb
Ruby
1 2 3 4 5 6 7 8 9
module BugMakingSupport
def make_bugs
"#{@person.name} does some typing"
end
end
 
class Developer < Employee
include BugMakingSupport
end

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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.