Created
May 31, 2012 22:04
-
-
Save smsohan/2846631 to your computer and use it in GitHub Desktop.
Is this valid?
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
#!/usr/bin/ruby | |
module Content | |
module Base | |
end | |
end | |
class Content | |
include Content::Base | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am seeing the following when I run this ruby file
Content is not a class (TypeError)
However, this same thing seems to work fine on a project, running under same Ruby version. My question is, is this valid?