Sha256: b7fe7b057471d7c93e53ea61c80e30fd8899a766dbe84ef65637115011f27a95
Contents?: true
Size: 1.08 KB
Versions: 2
Compression:
Stored size: 1.08 KB
Contents
{ "$id": "https://raw.githubusercontent.com/tcd/ginny/master/schema/attr.schema.json", "$schema": "http://json-schema.org/draft-07/schema#", "title": "Ginny Attr Definition", "description": "Used to generate an instance variable with getters/setters.", "type": "object", "required": [ "name" ], "properties": { "default": { "description": "Default value for the attribute; set in it's Class's `initialize` function.", "type": "string" }, "description": { "description": "Description of the attribute. [Markdown](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) is supported.", "type": "string" }, "name": { "description": "Name of the attribute.", "type": "string" }, "read_only": { "description": "If `true`, an `attr_reader` will be generated for the attribute instead of an `attr_accessor`.", "type": "boolean" }, "type": { "description": "[Type](https://rubydoc.info/gems/yard/file/docs/GettingStarted.md#Declaring_Types) of the attribute.", "type": "string" } } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ginny-0.6.3 | schema/attr.schema.json |
ginny-0.6.2 | schema/attr.schema.json |