Skip to content

Instantly share code, notes, and snippets.

@zeisler
Created March 25, 2015 22:47
Show Gist options
  • Save zeisler/8bc799fe1dd36ac13487 to your computer and use it in GitHub Desktop.
Save zeisler/8bc799fe1dd36ac13487 to your computer and use it in GitHub Desktop.
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