Created
March 25, 2015 22:47
-
-
Save zeisler/8bc799fe1dd36ac13487 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 MyClass | |
def initalize(arg1: arg2:, **additional_args) | |
post_initalize(**additional_args) | |
end | |
def post_initalize(*) | |
end | |
end | |
class SubClass < MyClass | |
def post_initalize(arg3:) | |
end | |
end | |
SubClass.new(arg1: :h, arg2: :z, arg3: :p) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment