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.4.2 schema/methodType.json
getargv-0.3.3-universal-darwin vendor/bundle/ruby/3.3.0/gems/rbs-2.8.4/schema/methodType.json
rbs-3.4.1 schema/methodType.json
rbs-3.4.0 schema/methodType.json
rbs-3.4.0.pre.1 schema/methodType.json
rbs-3.3.2 schema/methodType.json
rbs-3.3.1 schema/methodType.json
rbs-3.3.0 schema/methodType.json
rbs-3.3.0.pre.2 schema/methodType.json
rbs-3.3.0.pre.1 schema/methodType.json
rbs-3.2.2 schema/methodType.json
rbs-3.2.1 schema/methodType.json
rbs-3.2.0 schema/methodType.json
rbs-3.2.0.pre.1 schema/methodType.json
rbs-3.1.3 schema/methodType.json
rbs-3.1.2 schema/methodType.json
rbs-3.1.1 schema/methodType.json
rbs-3.1.0 schema/methodType.json
rbs-3.0.4 schema/methodType.json
rbs-3.0.3 schema/methodType.json