Sha256: 89114767763aaffcc07459bd09c6cd7822f3a064d0038e536c3fda6a84affd1e

Contents?: true

Size: 648 Bytes

Versions: 20

Compression:

Stored size: 648 Bytes

Contents

module RBS
  module Test
    class TypeCheck
      def initialize: (self_class: Module, builder: DefinitionBuilder, sample_size: Integer, unchecked_classes: Array[Module], instance_class: Module, class_class: Module) -> void

      # Confirm if given `CallTrace` is compatible with `MethodType`
      #
      # Returns an array with detected errors.
      #
      def method_call: (Symbol, MethodType, CallTrace, errors: Array[Errors::t]) -> Array[Errors::t]

      # Test if given `value` is compatible to type
      #
      # Returns `true` if the value has the type.
      # 
      def value: (untyped value, Types::t) -> bool
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
rbs-3.7.0.dev.1 sig/test/type_check.rbs
rbs-3.6.1 sig/test/type_check.rbs
rbs-3.6.0 sig/test/type_check.rbs
rbs-3.6.0.pre.3 sig/test/type_check.rbs
rbs-3.6.0.pre.2 sig/test/type_check.rbs
rbs-3.6.0.pre.1 sig/test/type_check.rbs
rbs-3.6.0.dev.1 sig/test/type_check.rbs
rbs-3.5.3 sig/test/type_check.rbs
rbs-3.5.2 sig/test/type_check.rbs
rbs-3.5.1 sig/test/type_check.rbs
rbs-3.5.1.pre.1 sig/test/type_check.rbs
rbs-3.5.0 sig/test/type_check.rbs
rbs-3.5.0.pre.2 sig/test/type_check.rbs
rbs-3.5.0.pre.1 sig/test/type_check.rbs
rbs-3.4.4 sig/test/type_check.rbs
rbs-3.4.3 sig/test/type_check.rbs
rbs-3.4.2 sig/test/type_check.rbs
rbs-3.4.1 sig/test/type_check.rbs
rbs-3.4.0 sig/test/type_check.rbs
rbs-3.4.0.pre.1 sig/test/type_check.rbs