Skip to content

Instantly share code, notes, and snippets.

@indigoviolet
Created December 23, 2017 15:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save indigoviolet/03a8b8475101d6ad707350726db4471f to your computer and use it in GitHub Desktop.
Save indigoviolet/03a8b8475101d6ad707350726db4471f to your computer and use it in GitHub Desktop.
fin blog embed
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