Sha256: 378fc1558bba72c333a1441327d8f2a9b6b6b510433192e8c2768466aaaca46b

Contents?: true

Size: 887 Bytes

Versions: 14

Compression:

Stored size: 887 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": {
        "$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

14 entries across 14 versions & 1 rubygems

Version Path
rbs-2.6.0 schema/methodType.json
rbs-2.5.1 schema/methodType.json
rbs-2.5.0 schema/methodType.json
rbs-2.4.0 schema/methodType.json
rbs-2.3.2 schema/methodType.json
rbs-2.3.1 schema/methodType.json
rbs-2.3.0 schema/methodType.json
rbs-2.2.2 schema/methodType.json
rbs-2.2.1 schema/methodType.json
rbs-2.2.0 schema/methodType.json
rbs-2.1.0 schema/methodType.json
rbs-2.0.0 schema/methodType.json
rbs-2.0.0.pre2 schema/methodType.json
rbs-2.0.0.pre1 schema/methodType.json