module FactoryGirlLibrary::FactoryGirl::FactoryDecorator

Public Class Methods

prepended(mod) click to toggle source
# File lib/factory_girl_library/factory_girl/factory_decorator.rb, line 6
def self.prepended(mod) 
  mod.send(:extend, ClassMethods)
end

Public Instance Methods

run(*args) click to toggle source
Calls superclass method
# File lib/factory_girl_library/factory_girl/factory_decorator.rb, line 10
def run *args
  self.class.last_run_factory = name
  super(*args)
end