Sha256: 611d21d9a7cb519b9e28a3b1254dd6943d80b5754704d90907ca7154a8beecc6
Contents?: true
Size: 356 Bytes
Versions: 58
Compression:
Stored size: 356 Bytes
Contents
module FactoryGirl class Decorator class InvocationTracker < Decorator def initialize(component) super @invoked_methods = [] end def method_missing(name, *args, &block) @invoked_methods << name super end def __invoked_methods__ @invoked_methods.uniq end end end end
Version data entries
58 entries across 46 versions & 11 rubygems