Sha256: a88afe3e11728e6906c2e6787c8296a74690693816d0a7addcd867cd90f104f4

Contents?: true

Size: 925 Bytes

Versions: 2

Compression:

Stored size: 925 Bytes

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.yml
ginny-0.6.2 schema/attr.schema.yml