Forked from leoallen85/method_lookup_path.rb
Last active
August 29, 2015 14:20
Revisions
-
leoallen85 renamed this gist
May 7, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
leoallen85 created this gist
May 7, 2015 .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,32 @@ class Base def call p "Base" end end module Mixin def call p "Mixin" super end end module AnotherMixin def call p "AnotherMixin" super end end class User < Base include Mixin include AnotherMixin def call p "User" super end end User.new.call