# File lib/librarian/mock/source/mock/registry.rb, line 61 def initialize clear! end
# File lib/librarian/mock/source/mock/registry.rb, line 71 def [](name) sources[name] ||= {} end
# File lib/librarian/mock/source/mock/registry.rb, line 64 def clear! self.sources = { } end
# File lib/librarian/mock/source/mock/registry.rb, line 67 def merge!(options = nil, &block) clear! if options && options[:clear] Dsl.run!(sources, &block) if block end