Revisions
-
svenfuchs renamed this gist
Dec 2, 2009 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
svenfuchs created this gist
Dec 2, 2009 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,34 @@ module Base def listen puts "think: interesting stuff ..." end end class Attendee include Base end module Tweets def listen super puts "tweet: great conference! :D" end end module Applause def listen super puts "applause!" end end attendee = Attendee.new class Attendee include Tweets include Applause end attendee.listen # think: interesting stuff ...