Sha256: 34909a9cbd49d6117e024d7705769b7cbf08a86ddaf56fb5fd51c37af7813d7f
Contents?: true
Size: 614 Bytes
Versions: 20
Compression:
Stored size: 614 Bytes
Contents
module RBS module UnitTest module Spy def self.wrap: [T] (untyped object, Symbol method_name) -> WrapSpy[T] | [T, S] (untyped object, Symbol method_name) { (WrapSpy[T], T) -> S } -> S class WrapSpy[T] attr_accessor callback: ^(Test::CallTrace) -> void attr_reader object: T attr_reader method_name: Symbol def initialize: (object: T, method_name: Symbol) -> void def wrapped_object: () -> untyped end end end end class Proc def ruby2_keywords: () -> self end class Module def ruby2_keywords: (*Symbol) -> void end
Version data entries
20 entries across 20 versions & 1 rubygems