Sha256: 2de1501cf49264eb02bcffa2ef9690dbc989c96ee2d58b83ca4dce90680a9cb0

Contents?: true

Size: 721 Bytes

Versions: 10

Compression:

Stored size: 721 Bytes

Contents

module Steep
  module Interface
    class Block
      attr_reader type: Function

      attr_reader self_type: AST::Types::t?

      attr_reader optional: bool

      def initialize: (type: Function, self_type: AST::Types::t?, optional: bool) -> void

      def optional?: () -> bool

      def required?: () -> bool

      def to_optional: () -> Block

      def ==: (untyped other) -> bool

      alias eql? ==

      def hash: () -> Integer

      def closed?: () -> bool

      def subst: (Substitution s) -> Block

      def free_variables: () -> Set[Symbol]

      def to_s: () -> ::String

      def map_type: () { (AST::Types::t) -> AST::Types::t } -> Block

      def +: (Block other) -> Block
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
steep-1.3.2 sig/steep/interface/block.rbs
steep-1.3.1 sig/steep/interface/block.rbs
steep-1.4.0.dev.2 sig/steep/interface/block.rbs
steep-1.4.0.dev.1 sig/steep/interface/block.rbs
steep-1.3.0 sig/steep/interface/block.rbs
steep-1.3.0.pre.2 sig/steep/interface/block.rbs
steep-1.3.0.pre.1 sig/steep/interface/block.rbs
steep-1.2.1 sig/steep/interface/block.rbs
steep-1.2.0 sig/steep/interface/block.rbs
steep-1.2.0.pre.1 sig/steep/interface/block.rbs