Sha256: 502f04698f8dffed8f04d13bb075e4f2e40f854348f9ca680e6c7e6b72fb0bc2
Contents?: true
Size: 406 Bytes
Versions: 2
Compression:
Stored size: 406 Bytes
Contents
require 'set' module PrivatePlease module Storage class CalledMethodsMemoryStore attr_reader :public_calls, :private_calls def initialize @public_calls = Set.new @private_calls = Set.new end def add_public_call(value) @public_calls .add value end def add_private_call(value) @private_calls.add value end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
private_please-0.1.2 | lib/private_please/storage/called_methods_memory_store.rb |
private_please-0.1.1 | lib/private_please/storage/called_methods_memory_store.rb |