Sha256: 8b38dc2455787b7d612cc1b063e357e04d06ce3984d8d8a7077a7a10add578e3
Contents?: true
Size: 534 Bytes
Versions: 6
Compression:
Stored size: 534 Bytes
Contents
module RR class SpyVerificationProxy BlankSlate.call(self) def initialize(subject) @subject = subject end if KeywordArguments.fully_supported? def method_missing(method_name, *args, **kwargs, &block) SpyVerification.new(@subject, method_name, args, kwargs) end else def method_missing(method_name, *args, &block) SpyVerification.new(@subject, method_name, args, {}) end ruby2_keywords(:method_missing) if respond_to?(:ruby2_keywords, true) end end end
Version data entries
6 entries across 6 versions & 1 rubygems