Created
August 19, 2018 10:12
-
-
Save mehdi-farsi/b3a9607021ca5b078eb9f01a038e3720 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
class User | |
def self.inherited(user_type) | |
puts "#{user_type} is a kind of user" | |
end | |
end | |
class Tenant < User | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment