-
-
Save butchmarshall/acc9ab872e8f4488b531 to your computer and use it in GitHub Desktop.
ruby: TypeError: superclass mismatch for class MyClass
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
class InheritMe | |
end | |
module A | |
class MyClass | |
VERSION = "0.0.1" | |
end | |
end | |
module A | |
class MyClass < InheritMe | |
end | |
end | |
# Generates error TypeError: superclass mismatch for class MyClass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment