Sha256: 6f6afad71596984d90f2dcb238ced80bbabb71a1a03663e74a80bce573ff1b6d
Contents?: true
Size: 410 Bytes
Versions: 13
Compression:
Stored size: 410 Bytes
Contents
module FactoryGirl class Attribute #:nodoc: class Association < Attribute #:nodoc: attr_reader :factory def initialize(name, factory, overrides) super(name) @factory = factory @overrides = overrides end def add_to(proxy) proxy.associate(name, @factory, @overrides) end def association? true end end end end
Version data entries
13 entries across 13 versions & 2 rubygems