Sha256: 0cae9e28aabf1a6a5c75c0c2c1811a891fa33e4d497ae97be4c7eb51a11dbab0
Contents?: true
Size: 1.31 KB
Versions: 2
Compression:
Stored size: 1.31 KB
Contents
{ "$id": "https://raw.githubusercontent.com/tcd/ginny/master/schema/func.schema.json", "$schema": "http://json-schema.org/draft-07/schema#", "title": "Ginny Func Definition", "description": "Used to generate a [method](https://ruby-doc.org/core-2.6.5/doc/syntax/methods_rdoc.html).", "type": "object", "required": [ "name" ], "properties": { "body": { "description": "String to write into the body of the function.", "type": "string" }, "description": { "description": "Description of the function. [Markdown](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) is supported.", "type": "string" }, "modules": { "description": "List of modules to declare the function inside of.", "type": "array", "items": { "type": "string" } }, "name": { "description": "Name of the function.", "type": "string" }, "params": { "description": "An array of `Ginny::Param`s.", "type": "array", "items": { "$ref": "https://raw.githubusercontent.com/tcd/ginny/master/schema/param.schema.json" } }, "return_type": { "description": "Return [type](https://rubydoc.info/gems/yard/file/docs/GettingStarted.md#Declaring_Types) of the function.", "type": "string" } } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ginny-0.6.3 | schema/func.schema.json |
ginny-0.6.2 | schema/func.schema.json |