Created
May 15, 2015 21:41
-
-
Save ryanstout/0a0161bb5b6418115659 to your computer and use it in GitHub Desktop.
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 characters
module InGem | |
class BlueController | |
def index | |
puts 'in gem' | |
end | |
class BlueTemplate | |
def path | |
'blue_template' | |
end | |
end | |
end | |
end | |
module Main | |
class BlueController < InGem::BlueController | |
def index | |
puts 'main' | |
end | |
class BlueTemplate < BlueTemplate | |
def path | |
'main' | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment