Sha256: 9892866bc21504e65c12a3c46d1e18fe0125609ab8c8d1c40760c2a1f6a25d04

Contents?: true

Size: 295 Bytes

Versions: 6

Compression:

Stored size: 295 Bytes

Contents

class Bogus::RecordsDoubleInteractions
  extend Bogus::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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bogus-0.0.4 lib/bogus/records_double_interactions.rb
bogus-0.0.3 lib/bogus/records_double_interactions.rb
bogus-0.0.3.rc.2 lib/bogus/records_double_interactions.rb
bogus-0.0.3.rc.1 lib/bogus/records_double_interactions.rb
bogus-0.0.2 lib/bogus/records_double_interactions.rb
bogus-0.0.1 lib/bogus/records_double_interactions.rb