Sha256: 512ed9a332be4ee55364e6f424804321ebc5f96b9d5dcda5278eb25fe9c43eae

Contents?: true

Size: 1 KB

Versions: 56

Compression:

Stored size: 1 KB

Contents

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "definitions": {
    "block": {
      "type": "object",
      "properties": {
        "type": {
          "$ref": "function.json"
        },
        "required": {
          "type": "boolean"
        },
        "self_type": {
          "oneOf": [
            { "$ref": "#" },
            { "type": "null" }
          ]
        }
      },
      "required": ["type", "required", "self_type"]
    }
  },
  "title": "Method type: `() -> void`, `[X] (::Integer) { (::String) -> X } -> Array[X]`, ...",
  "type": "object",
  "properties": {
    "type_params": {
      "type": "array",
      "items": {
        "$ref": "typeParam.json"
      }
    },
    "type": {
      "$ref": "function.json"
    },
    "block": {
      "oneOf": [
        {
          "$ref": "#/definitions/block"
        },
        {
          "type": "null"
        }
      ]
    },
    "location": {
      "$ref": "location.json"
    }
  },
  "required": ["type_params", "type", "block", "location"]
}

Version data entries

56 entries across 56 versions & 2 rubygems

Version Path
rbs-3.0.2 schema/methodType.json
rbs-3.0.1 schema/methodType.json
rbs-3.0.0 schema/methodType.json
rbs-3.0.0.dev.3 schema/methodType.json
rbs-3.0.0.dev.2 schema/methodType.json
rbs-2.8.4 schema/methodType.json
rbs-2.8.3 schema/methodType.json
rbs-3.0.0.dev.1 schema/methodType.json
rbs-2.8.2 schema/methodType.json
rbs-2.8.1 schema/methodType.json
rbs-2.8.0 schema/methodType.json
rbs-2.8.0.pre.1 schema/methodType.json
rbs-2.7.0 schema/methodType.json
rbs-2.7.0.pre.3 schema/methodType.json
rbs-2.7.0.pre.2 schema/methodType.json
rbs-2.7.0.pre.1 schema/methodType.json