Sha256: 60d1d6cad09440897438589eb8a838b0b6f290772b15843200aac83532c15889

Contents?: true

Size: 649 Bytes

Versions: 3

Compression:

Stored size: 649 Bytes

Contents

module Steep
  module Interface
    class Block
      attr_reader type: Function

      attr_reader optional: bool

      def initialize: (type: Function, 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

3 entries across 3 versions & 1 rubygems

Version Path
steep-1.1.1 sig/steep/interface/block.rbs
steep-1.1.0 sig/steep/interface/block.rbs
steep-1.1.0.pre.1 sig/steep/interface/block.rbs