Created
June 19, 2015 17:17
-
-
Save vgevorgyan/40167989e2eca899bb65 to your computer and use it in GitHub Desktop.
This file contains 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 Test | |
class Document | |
def initialize | |
p 'Hello' | |
end | |
end | |
end | |
class Email < Test::Document | |
end | |
class MainController < ApplicationController | |
def index | |
email = Email.new | |
p email.inspect | |
end | |
end | |
# Only prints Email object |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment