Sha256: 2e607e794e4ae2ba9ac26a5ca6cd8fedda5b245085e44307793aa57152db9a1c
Contents?: true
Size: 313 Bytes
Versions: 8
Compression:
Stored size: 313 Bytes
Contents
module Bogus class RecordsDoubleInteractions extend Takes takes :doubled_interactions, :fake_registry def record(object, method_name, args, &block) fake_name = fake_registry.name(object) doubled_interactions.record(fake_name, method_name, *args, &block) if fake_name end end end
Version data entries
8 entries across 8 versions & 1 rubygems