Sha256: 7c6a895e9dccf4b1a07368543f11cc1b69b87c2eeed96979a212041ba4e9acce
Contents?: true
Size: 291 Bytes
Versions: 4
Compression:
Stored size: 291 Bytes
Contents
class Bogus::RegistersCreatedFakes extend Bogus::Takes takes :creates_fakes, :fake_registry, :double_tracker def create(name, opts = {}, &block) fake = creates_fakes.create(name, opts, &block) fake_registry.store(name, fake) double_tracker.track(fake) fake end end
Version data entries
4 entries across 4 versions & 1 rubygems