Created
September 7, 2022 15:59
-
-
Save WA9ACE/b7374e490149bf1746cb656dadfe88bb 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
class A | |
def initialize | |
puts 'A' | |
end | |
end | |
class B < A | |
def initialize | |
puts 'B' | |
end | |
end | |
class C < B | |
def inintialize | |
super | |
end | |
end | |
c = C.new |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment