Sha256: 4628ea881d05d95ca9e85d4cacf750ba0d0df34de283170d322e09378960c95b
Contents?: true
Size: 246 Bytes
Versions: 31
Compression:
Stored size: 246 Bytes
Contents
module FactoryBot class Decorator class NewConstructor < Decorator def initialize(component, build_class) super(component) @build_class = build_class end delegate :new, to: :@build_class end end end
Version data entries
31 entries across 31 versions & 2 rubygems