Sha256: 25ba4ca351170c3f31aca65b66b770acc7f31255871ce9a20d99bbad3650a0f2
Contents?: true
Size: 403 Bytes
Versions: 5
Compression:
Stored size: 403 Bytes
Contents
module FactoryBot class Decorator class InvocationTracker < Decorator def initialize(component) super @invoked_methods = [] end def method_missing(name, *args, &block) # rubocop:disable Style/MissingRespondToMissing @invoked_methods << name super end def __invoked_methods__ @invoked_methods.uniq end end end end
Version data entries
5 entries across 5 versions & 1 rubygems