Skip to content

Instantly share code, notes, and snippets.

@ryanstout
Created May 15, 2015 21:41
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 ryanstout/0a0161bb5b6418115659 to your computer and use it in GitHub Desktop.
Save ryanstout/0a0161bb5b6418115659 to your computer and use it in GitHub Desktop.
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