-
-
Save indigoviolet/03a8b8475101d6ad707350726db4471f to your computer and use it in GitHub Desktop.
fin blog embed
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
Contract Hash => DescendantOf[KeywordStruct] | |
def self.define(**args) | |
KeywordStruct.new(*args.keys) do | |
include C | |
Contract KeywordArgs[**args] => Any | |
def initialize(**params) | |
super | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment