Sha256: 94c64c74d9c267cae408e071873a186301f458f26a0fc14f3e2bddda159404c1

Contents?: true

Size: 879 Bytes

Versions: 55

Compression:

Stored size: 879 Bytes

Contents

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

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
rbs-1.8.1 schema/methodType.json
rbs-1.8.0 schema/methodType.json
rbs-1.7.1 schema/methodType.json
rbs-1.7.0 schema/methodType.json
rbs-1.7.0.beta.5 schema/methodType.json
rbs-1.7.0.beta.4 schema/methodType.json
rbs-1.7.0.beta.3 schema/methodType.json
rbs-1.7.0.beta.2 schema/methodType.json
rbs-1.7.0.beta.1 schema/methodType.json
rbs-1.6.2 schema/methodType.json
rbs-1.6.1 schema/methodType.json
rbs-1.6.0 schema/methodType.json
rbs-1.5.1 schema/methodType.json
rbs-1.5.0 schema/methodType.json
rbs-1.4.0 schema/methodType.json
rbs-1.3.3 schema/methodType.json
rbs-1.3.2 schema/methodType.json
rbs-1.3.1 schema/methodType.json
rbs-1.3.0 schema/methodType.json
rbs-1.2.1 schema/methodType.json